[Brahms-dev-l] Fw: brat - use of new RUNDB

From: flemming videbaek <videbaek@rcf.rhic.bnl.gov>
Date: Wed Dec 08 2004 - 12:46:23 EST
As you should be aware from previous mail the new run db server is on
brahms-rundb0 not pii3 anylonger
This implies that (until some updates are done to the maindb) if you want to
access runs taken now you should modify
bratscripts according to the recepie given below. It works!!
You can check ~videbaek/brat/scripts/calib/bb/BbPedestal.C
for implementation.

As a non-related remark, I do not understand the latest modifications to
that scripts pedestal should
be determined form pedestal runs and trigger 7 only not physics triggers.

----------------------------------------------------------------
Flemming Videbaek
Physics Department
Brookhaven National Laboratory

e-mail: videbaek@bnl.gov
phone: 631-344-4106
----- Original Message ----- 
From: "Flemming Videbaek" <videbaek@rcf.rhic.bnl.gov>
To: <videbaek@bnl.gov>
Sent: Wednesday, December 08, 2004 12:40 PM
Subject: brat


> // Un comment if you need access to database
>   if (!mainDb->Connect())
>     return;
>   //  if (!mainDb->ConnectToRun("query"))
>   //  return;
>   if (!mainDb->ConnectToCalib("query"))
>     return;
>
>   BrRunsDb * runDb = BrRunsDb::Instance();
>   runDb->SetDbName("RUNDB");
>   runDb->SetHostName("brahms-rundb0.brahms.bnl.gov");
>   runDb->SetUserName("query");
>
> Also in your .bratdbrc
> brahms-rundb0.brahms.bnl.gov RUNDB query PASSWORD
>
> same as before
>


_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Wed Dec 8 12:45:37 2004

This archive was generated by hypermail 2.1.8 : Wed Dec 08 2004 - 12:46:02 EST