]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Put the vertex objects in GRP/GRP/MeanVertex*, not in GRP/Calib/MeanVertex*
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Mar 2010 10:20:39 +0000 (10:20 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Mar 2010 10:20:39 +0000 (10:20 +0000)
GRP/UpdateCDBVertexDiamond.C

index 8d2559e9ac37f0aed0bc2fe55ca860ce67f3da7f..536d023d6a3961a155d8b7be2d65ad9be6219d04 100644 (file)
@@ -27,7 +27,7 @@ void UpdateCDBVertexDiamond(const char* objName, Double_t xmed, Double_t ymed, D
   if(gSystem->Getenv("FIRSTRUN")) firstRun=TString(gSystem->Getenv("FIRSTRUN")).Atoi();
   Int_t lastRun=AliCDBRunRange::Infinity();
   if(gSystem->Getenv("LASTRUN")) lastRun=TString(gSystem->Getenv("LASTRUN")).Atoi();
-  TString objFullName="GRP/Calib/";
+  TString objFullName="GRP/GRP/";
 
   if(objName=="MeanVertex" || objName=="MeanVertexSPD" || objName=="MeanVertexTPC"){
       objFullName += objName;
@@ -75,9 +75,9 @@ void UpdateCDBVertexDiamondOld(Double_t xmed = 0., Double_t ymed = 0., Double_t
   AliCDBManager* man = AliCDBManager::Instance();
   man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   man->SetRun(0);
-  AliCDBId id("GRP/Calib/MeanVertex",0,AliCDBRunRange::Infinity());
-  AliCDBId idTPC("GRP/Calib/MeanVertexTPC",0,AliCDBRunRange::Infinity());
-  AliCDBId idSPD("GRP/Calib/MeanVertexSPD",0,AliCDBRunRange::Infinity());
+  AliCDBId id("GRP/GRP/MeanVertex",0,AliCDBRunRange::Infinity());
+  AliCDBId idTPC("GRP/GRP/MeanVertexTPC",0,AliCDBRunRange::Infinity());
+  AliCDBId idSPD("GRP/GRP/MeanVertexSPD",0,AliCDBRunRange::Infinity());
   AliCDBMetaData *metadata= new AliCDBMetaData();
 
   // Get root and AliRoot versions