optimized mat.budget estimator macro
authorshahoian <ruben.shahoyan@cern.ch>
Wed, 5 Nov 2014 17:17:16 +0000 (18:17 +0100)
committershahoian <ruben.shahoyan@cern.ch>
Wed, 5 Nov 2014 17:17:33 +0000 (18:17 +0100)
ITS/UPGRADE/testITSU/chkTracker.C

index 868f1d8..5554058 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;