]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MakeMUONSingleRecoParam.C
Added generalisation of y-cut for pairs
[u/mrichter/AliRoot.git] / MUON / MakeMUONSingleRecoParam.C
index 2ff1c872c15b784d016ec72a03759daf1c21cf33..474a15ef36229b104cc89fd3ac2c98b020fa77ca 100644 (file)
@@ -44,7 +44,7 @@ void MakeMUONSingleRecoParam(Int_t startRun = 0, Int_t endRun = AliCDBRunRange::
   
   // init CDB
   AliCDBManager* man = AliCDBManager::Instance();
-  if(!man->IsDefaultStorageSet()) man->SetDefaultStorage("local://$ALICE_ROOT");
+  if(!man->IsDefaultStorageSet()) man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   man->SetRun(startRun);
   
   // choose desired set of parameters
@@ -67,8 +67,7 @@ void MakeMUONSingleRecoParam(Int_t startRun = 0, Int_t endRun = AliCDBRunRange::
   param->Print("FULL");
   
   // save RecoParam in CDB
-  AliMUONCDB cdb;
-  cdb.WriteToCDB(param, "MUON/Calib/RecoParam", startRun, endRun, "reconstruction parameters for MUON", "Philippe Pillot");
+  AliMUONCDB::WriteToCDB(param, "MUON/Calib/RecoParam", startRun, endRun, "reconstruction parameters for MUON", "Philippe Pillot");
   
 }