Updating histogram from which to retrieve statistics information for MeanVertex ...
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Jul 2012 16:33:20 +0000 (16:33 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Jul 2012 16:33:20 +0000 (16:33 +0000)
the outcome of Calibration Meeting on 6 July 2012)

PWGPP/CalibMacros/CPass0/makeOCDB.C
PWGPP/CalibMacros/CPass1/makeOCDB.C

index ccb7e44..25f34c3 100644 (file)
@@ -290,7 +290,7 @@ void printCalibStat(Int_t run, const char * fname,  TTreeSRedirector * pcstream)
     Int_t meanVertexEvents=0;
   TList * meanVertexCalib = (TList*)fin->Get("MeanVertex");      
   if (meanVertexCalib) {
-    TH1  *histoEvents = (TH1*) meanVertexCalib->FindObject("hSPDVertexX");
+    TH1  *histoEvents = (TH1*) meanVertexCalib->FindObject("hTRKVertexX");
     if (histoEvents){
       meanVertexEvents = TMath::Nint(histoEvents->GetEntries());
     }
index 321a2f0..a72a1f9 100644 (file)
@@ -292,7 +292,7 @@ void printCalibStat(Int_t run, const char * fname,  TTreeSRedirector * pcstream)
     Int_t meanVertexEvents=0;
   TList * meanVertexCalib = (TList*)fin->Get("MeanVertex");      
   if (meanVertexCalib) {
-    TH1  *histoEvents = (TH1*) meanVertexCalib->FindObject("hSPDVertexX");
+    TH1  *histoEvents = (TH1*) meanVertexCalib->FindObject("hTRKVertexX");
     if (histoEvents){
       meanVertexEvents = TMath::Nint(histoEvents->GetEntries());
     }