]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
optimized mat.budget estimator macro
authorshahoian <ruben.shahoyan@cern.ch>
Wed, 5 Nov 2014 17:17:16 +0000 (18:17 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 6 Nov 2014 10:15:30 +0000 (11:15 +0100)
ITS/UPGRADE/testITSU/chkTracker.C

index 868f1d8baf28bc1012b428268c76b6bd7bb5ec4e..5554058afd819ef808e6853a22fc8b90b9b5e69f 100644 (file)
@@ -1,17 +1,17 @@
 AliITSUReconstructor* rec = 0;
 AliITSUTrackerGlo* trk=0;
 
-void chkTracker()
+void chkTracker(int run=0)
 {
   AliCDBManager* man = AliCDBManager::Instance();
   man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   man->SetSpecificStorage("GRP/GRP/Data",
-                         Form("local://%s",gSystem->pwd()));
+                         Form("local://%s",gSystem->pwd()));
   man->SetSpecificStorage("ITS/Align/Data",
                          Form("local://%s",gSystem->pwd()));
   man->SetSpecificStorage("ITS/Calib/RecoParam",
                          Form("local://%s",gSystem->pwd()));
-  man->SetRun(0);
+  man->SetRun(run);
   if ( !TGeoGlobalMagField::Instance()->GetField() ) {
     printf("Loading field map...\n");
     AliGRPManager grpMan;