Re: [Brahms-dev-l] pp 200 gtr script problem

From: Hironori Ito <hito@rcf.rhic.bnl.gov>
Date: Wed Sep 22 2004 - 10:50:37 EDT
Hello.  The problem is fixed.  It should work now.

Hiro


Radoslaw Karabowicz wrote:

>Hi,
>I tried this:
>
>rmdata.rb -d gtr -p 1 -v 3 -b 11778 -e 11799
>
>Which should delete all the files, unfortunately:
>
>ls /brahms/data05/data/run04/pp/200/r117*/gtr/*v3*
>
>gives:
>...
>...
>...
>/brahms/data05/data/run04/pp/200/r11798/gtr/offset011798_seq002_seq003_seq004v3p1.off.T3_T4
>
>/brahms/data05/data/run04/pp/200/r11798/gtr/offset011798_seq002_seq003_seq004v3p1.off.T4_T5
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/hist_off011799_seq000_seq001_seq002_seq003v3p1.root
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/offset011799_seq000_seq001_seq002_seq003v3p1.off.FFS
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/offset011799_seq000_seq001_seq002_seq003v3p1.off.MRS
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/offset011799_seq000_seq001_seq002_seq003v3p1.off.T2_T3
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/offset011799_seq000_seq001_seq002_seq003v3p1.off.T2_T4
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/offset011799_seq000_seq001_seq002_seq003v3p1.off.T3_T4
>
>/brahms/data05/data/run04/pp/200/r11799/gtr/offset011799_seq000_seq001_seq002_seq003v3p1.off.T4_T5
>
>Which suggests that it is not cleaning _all_.
>
>Is it any problem, if I just leave it like this, and make v5 files?
>
>Cheers
>
>Radek
>
>flemming videbaek wrote:
>
>  
>
>>Hi radek,
>>
>>I guess (believe) the problem in the scripts that was it was updated when
>>Brat was changed
>>(after the prev running of the pp runs). I checked the code made one small
>>fix bbVtx->SetUseAllForBest(kTRUE); I belive it should work now.
>>
>>The proper way to delete created files and entries in filecatalog is to use
>>the
>>rmdata.rb -d gtr -p 1 -v <versionno> -b <runno>
>>This (should) also delete offsetfiles, histogram files log files etc.
>>
>>flemming
>>
>>----------------------------------------------------------------
>>Flemming Videbaek
>>Physics Department
>>Brookhaven National Laboratory
>>
>>e-mail: videbaek@bnl.gov
>>phone: 631-344-4106
>>----- Original Message -----
>>From: "Radoslaw Karabowicz" <r.karabowicz@if.uj.edu.pl>
>>To: "devlist" <brahms-dev-l@lists.bnl.gov>
>>Sent: Wednesday, September 22, 2004 10:00 AM
>>Subject: [Brahms-dev-l] pp 200 gtr script problem
>>
>>    
>>
>>>Hello!
>>>
>>>I am trying to re-do gtr for pp 4 deg full field run, cause we have a
>>>new good dc calibration.
>>>While finding track offsets works well, I have some problems with
>>>GlobalTracking.C
>>>First it started complaining that:
>>>
>>>  bbVtx->UseAllAsBest(kTRUE);
>>>
>>>is unknown. Assuming that probably there is some odd version of brat
>>>that it's trying to get, i changed it to:
>>>
>>>  bbVtx->UseAllAsBest();
>>>
>>>And run the script.
>>>But it crashed once again, this time:
>>>Error: Symbol app is not defined in current scope
>>>FILE:/direct/brahms+u/bramreco/run04/pp/200/gtr/GlobalTracking.C
>>>LINE:375
>>>because sb added there:
>>>
>>>  BrRenameObjectModule* rename = new
>>>BrRenameObjectModule("Rename","RenameModule");
>>>  rename->AddObject("T1","TpcRdo T1");
>>>  rename->AddObject("T2","TpcRdo T2");
>>>  rename->AddObject("TPM1","TpcRdo TPM1");
>>>  rename->AddObject("TPM2","TpcRdo TPM2");
>>>
>>>  app->AddModule(rename);
>>>
>>>while, as i can guess, it should be
>>>...
>>>  appModule->AddModule(rename);
>>>
>>>I changed it approprietly, and could start it,but:
>>>I have like three bad versions of trackoffset files, gtrs and so on
>>>(v2,v3,v4), the question in how can I delete them so that i can make one
>>>and good
>>>v2? I tried rmdata.rb but it does not delete all.
>>>The other question is whether if i start the job now, will it work OK
>>>this time? or maybe I'll run into some other problems?
>>>
>>>Greetings
>>>
>>>Radek
>>>
>>>ps. the runs in question are 11778 - 11799 located on data05
>>>
>>>
>>>_______________________________________________
>>>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 Sep 22 10:51:11 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 22 2004 - 10:51:28 EDT