Re: [Brahms-dev-l] data quality and program/scripts to deal with values in db.

From: Hironori Ito <hito@rcf.rhic.bnl.gov>
Date: Wed Dec 21 2005 - 12:02:35 EST
Done.  It is commited to CVS.  I have not tested it.  But, since it was 
small change, it should be ok.  If it does not work, let me know.

The changes are in the following codes.

BrRunInfo.cxx, BrRunInfo.h
BrDbRun.cxx, BrDbRun.h

Hiro

Hironori Ito wrote:

> From BrRunInfo, we need to change BrRunInfo to include global quality 
> and their comments.  And, change BrDbRun to get those values.  I will 
> look into it.  Then, RUNDB must be pointed to brahms-db0.rcf.bnl.gov 
> and not brahms-rundb0.brahms.bnl.gov  (I thought this was set in our 
> database???)
>
> Hiro
>
> Truls Martin Larsen wrote:
>
>> Hi,
>>
>> I guess that you can then access the status of the subsystems using:
>>
>> BrRunInfo::Get[Mrs,Fs]Quality()
>>
>> But how can I get the global quality???
>>
>> Cheers,
>>        Truls
>>
>> On Tue, 2005-12-20 at 13:41 -0500, Hironori Ito wrote:
>>  
>>
>>> Hello.  By request, there is a new option in ChangeDataQuality.rb 
>>> for a user to set a quality for range of runs.   Therefore, there 
>>> are 2 modes.
>>>
>>> 1. Singe run (carefull) mode, e.g.
>>>    ChangeDataQuality.rb -r 12345 -m Bad --mrsComment="NO TOFW High 
>>> Voltage"  -f Bad --fsComment="No T3, T4 and T5" -g Bad --glbComment 
>>> "No CC counters"
>>>
>>> 2.  range modes (not carefull) mode, e.g.
>>>    ChangeDataQuality.rb --range -b 12345 -e 12355 -m Bad 
>>> --mrsComment="NO TOFW High Voltage"  -f Bad --fsComment="No T3, T4 
>>> and T5" -g Bad --glbComment "No CC counters"
>>>
>>>
>>> Also, FindDataLocation.pl web page has been modified to show the 
>>> data quality for each runs.
>>>
>>> Hiro
>>>
>>>
>>> Hironori Ito wrote:
>>>
>>>   
>>>
>>>> Hello.  From the previous mail from FV (shown below), a few people 
>>>> are assigned to be a gatekeeper for data quality.
>>>> ////
>>>> It was decided to create list of bad runs with justifications. This 
>>>> is rather broad area, so responsibility will be distributed by 
>>>> run-period. People who have identified bad runs should communicate 
>>>> this to the following people
>>>> # Cu-Cu 200 Gev : Selemon
>>>> # Cu-Cu 62 Gev : Truls
>>>> # Au-Au 200 and 62 GeV: Catalin
>>>> # Run 5 pp:  Ramiro
>>>> # Run 3 dAu Ramiro
>>>> ////
>>>>
>>>> To facilitate their work, I have made change to DB and made 
>>>> program/scripts to deal with them.
>>>>
>>>> 1.  RUNDB  are copied to brahms-db0 from brahms-rundb0.
>>>> 2.  ChangeDataQuality.rb (in 
>>>> ~bramreco/DataProduction/scripts/util/) has be created to change 
>>>> run quality entry in Runs table.  (To use this program, look at the 
>>>> top of this code.)
>>>> 3.  GetDstFileNames.C (in ~hito/analysis/) has been created to find 
>>>> and list only good dst runs for specific angle settings.  (to use 
>>>> this root script, look at the top of this code.  You should be able 
>>>> to copy/past to your proof macro code very easily.)  (If someone 
>>>> wants to make this script to more official brat class, be my 
>>>> guest.  :) )
>>>>
>>>> A gatekeeper should  use ChangeDataQuality.rb to change the quality 
>>>> setting in the database.  And, all user should use this script to 
>>>> find your data files.  In this way, there is no need to keep 
>>>> individual list of bad/good runs in your script/or spread sheet.  
>>>> And, we don't have to argue/worry whether one particular file 
>>>> should be used or not.   (If you use micro-dst/or some other 
>>>> strange format file, which are not in our database, I can not help 
>>>> you.)
>>>>
>>>> If the program does not work. please let me know.
>>>> Hiro
>>>>
>>>>
>>>> _______________________________________________
>>>> Brahms-dev-l mailing list
>>>> Brahms-dev-l@lists.bnl.gov
>>>> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
>>>>     
>>>
>>> _______________________________________________
>>> Brahms-dev-l mailing list
>>> Brahms-dev-l@lists.bnl.gov
>>> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
>>>
>>>   
>>
>>
>> _______________________________________________
>> Brahms-dev-l mailing list
>> Brahms-dev-l@lists.bnl.gov
>> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
>>  
>>
>
> _______________________________________________
> Brahms-dev-l mailing list
> Brahms-dev-l@lists.bnl.gov
> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l


_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Wed Dec 21 12:05:32 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 21 2005 - 12:05:40 EST