]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
update of HLT TRD reconstruction macro (Theo)
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Mar 2010 00:33:01 +0000 (00:33 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Mar 2010 00:33:01 +0000 (00:33 +0000)
HLT/TRD/macros/rec-hlt-trd.cxx

index f6cd90edcfe98d22e97e149295bd37107b610ed3..d4d1daefe23e4f64b8efcba7868be4eb0bbcd8ac 100644 (file)
@@ -1,6 +1,5 @@
 // This macro is used to simulate the HLT::TRD reconstruction
 // usage: aliroot rec-hlt-trd.cxx("/data/run/raw.root")    reconstruct local raw root file (you might add "alien://" to reconstruct remotely)
-//    or: aliroot rec-hlt-trd.cxx("/data/run/")            reconstruct local raw ddls *1
 //    or copy into folder and aliroot rec-hlt-trd.cxx      reconstruct raw.root in pwd
 //
 // (*1) here /data/run/ must contain subfolders rawX (be sure to have the last "/" !!)
@@ -64,7 +63,7 @@ int rec_hlt_trd(const TString filename, TString outPath)
   // look only in data containing TRD triggers?
   Bool_t useOnlyTRDtrigger=kFALSE;
 
-  // Is the TRD full? (this is only important if ddl files should be read)
+  // Is the TRD full?
   Bool_t fullTRD=kFALSE;
 
   // If not use these SMs:
@@ -229,11 +228,11 @@ int rec_hlt_trd(const TString filename, TString outPath)
     man->SetDefaultStorage("alien://folder=/alice/data/2009/OCDB");
     //man->SetDefaultStorage("alien://folder=/alice/data/2009/OCDB?cacheFold=/lustre/alice/local/alice/data/2009/OCDB"); 
     //man->SetSpecificStorage("GRP/GRP/Data","alien://folder=/alice/data/2009/OCDB?cacheFold=/lustre/alice/local/alice/data/2009/OCDB");
+    man->SetSpecificStorage("HLT/*","local://$ALICE_ROOT/OCDB");
     run = ExtractRunNumber(filename);
   }else{
     man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); 
     man->SetSpecificStorage("GRP/GRP/Data", Form("local://%s",dataPath.Data()));
-    //rec.SetSpecificStorage("GRP/GRP/Data", Form("local://%s",gSystem->pwd()));
   }
   man->SetRun(run);