]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed ranges for histo types, fixed printout in booking functions
authormfloris <mfloris@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Apr 2012 13:18:45 +0000 (13:18 +0000)
committermfloris <mfloris@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Apr 2012 13:18:45 +0000 (13:18 +0000)
PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraAODHistoManager.cxx
PWGLF/SPECTRA/PiKaPr/TestAOD/Histograms.h

index 86fb6172f7dbb4facb3565cebd97b5a79411044c..5264c4364981680b22362fec0641e7649536cca0 100644 (file)
@@ -116,7 +116,7 @@ TH2F* AliSpectraAODHistoManager::BookPtRecHistogram(const char * name)
 TH2F* AliSpectraAODHistoManager::BookPIDHistogram(const char * name)
 {
    // Return a pt histogram with predefined binning, set the ID and add it to the output list
-   AliInfo(Form("Booking pt histogram %s", name));
+   AliInfo(Form("Booking PID histogram %s", name));
 
    TH2F * hist = new TH2F(name, Form("Particle Identification (%s)", name), 200, 0, 2.5, 2000, -1000, 1000);
    hist->GetXaxis()->SetTitle("(GeV / c)");
@@ -132,7 +132,7 @@ TH2F* AliSpectraAODHistoManager::BookPIDHistogram(const char * name)
 TH2F* AliSpectraAODHistoManager::BookNSigHistogram(const char * name)
 {
   // Return a pt histogram with predefined binning, set the ID and add it to the output list
-  AliInfo(Form("Booking pt histogram %s", name));
+  AliInfo(Form("Booking NSigma histogram %s", name));
   
   TH2F * hist = new TH2F(name, Form("Particle Identification (%s)", name), 200, 0, 2.5, 2000,-40, 40);
   hist->GetXaxis()->SetTitle("P (GeV / c)");
index 47f286405fd556bfb49c9076c3989dba770ac52a..2ae3447b8367c37ba51594781a46f079c662f939 100644 (file)
@@ -104,7 +104,7 @@ namespace AliSpectraNameSpace
       kHistNSigPionPtTPCTOF,
       kHistNSigKaonPtTPCTOF,                              
       kHistNSigProtonPtTPCTOF,                              
-      kNHistNSig=kHistNSigPionPtTPCTOF,                              
+      kNHistNSig=kHistNSigProtonPtTPCTOF,                              
       
       kHistqVecPos,
       kHistqVecNeg,