]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/SPECTRA/PiKaPr/TestAOD/AliSpectraBothHistoManager.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / PiKaPr / TestAOD / AliSpectraBothHistoManager.h
index 944f9ea62804876a20c8a4e92bc5703216a30dbb..dff461a9c71ef32ceb7d50f167a7cc941b81c398 100644 (file)
@@ -45,6 +45,7 @@ namespace AliSpectraNameSpaceBoth
      kHistPtRecSigma,
      kHistPtRecTrue,
      kHistPtRecTruePrimary,
+     kHistPtRecPrimary,        
      kHistPtRecSigmaPrimary,
      kHistPtRecSigmaSecondaryMaterial,
      kHistPtRecSigmaSecondaryWeakDecay,
@@ -69,8 +70,8 @@ class AliSpectraBothHistoManager : public TNamed
 {
 public:
    AliSpectraBothHistoManager() :  TNamed(), fOutputList(0), fNRebin(0) {}
-  AliSpectraBothHistoManager(const char *name,Int_t nrebin);
-   virtual  ~AliSpectraBothHistoManager() {}
+  AliSpectraBothHistoManager(const char *name,Int_t nrebin,Bool_t pidqa=kTRUE);
+   virtual  ~AliSpectraBothHistoManager() ;
 
 
    TH2F*   BookPtGenHistogram(const char * name);
@@ -80,7 +81,9 @@ public:
    TH2F*   BookPIDHistogram(const char * name);
    TH2F*   BookNSigHistogram(const char * name);
    TH2F*   BookGenMulvsRawMulHistogram(const char * name);
-   
+   TH2F*   BookDoubleCountsHistogram(const char * name);
+   TH1F*   BookEventStatHist(); // due to zip bug in merging it is good to store in one list everything 
+
    TH1F*   GetPtHistogram1D(const char * name,Double_t minDCA,Double_t maxDCA);
    TH1F*   GetDCAHistogram1D(const char * name,Double_t minPt,Double_t maxPt);
    TH2*     GetHistogram(UInt_t id)      {      return (TH2*) fOutputList->At(id);   }
@@ -101,6 +104,7 @@ public:
    TH2*     GetqVecHistogramByName(UInt_t id)    {      return (TH2*) fOutputList->FindObject(kHistNameBoth[id]);  }// Use this if you want to read a file saved with a different histo list
    TH2*     GetGenMulvsRawMulHistogram(const char * name)  {      return (TH2*) fOutputList->FindObject(name);   }
    TH2*     GetGenMulvsRawMulHistogramByName(UInt_t id)    {      return (TH2*) fOutputList->FindObject(kHistNameBoth[id]);  }// Use this if you want to read a file saved with a different histo list
+   TH1F*    GetEventStatHist()  {      return (TH1F*) fOutputList->FindObject("EventStatHisto");  }    
    //TH1F*   GetTH1F(UInt_t id)            {      return (TH1F*) GetPtHistogram(id);   }
    //TH2F*   GetTH2F(UInt_t id)            {      return (TH2F*) GetPIDHistogram(id);   }
 
@@ -117,7 +121,7 @@ private:
    AliSpectraBothHistoManager(const AliSpectraBothHistoManager&);
    AliSpectraBothHistoManager& operator=(const AliSpectraBothHistoManager&);
 
-   ClassDef(AliSpectraBothHistoManager, 1);
+   ClassDef(AliSpectraBothHistoManager, 2);
 
 };
 #endif