- void PrintCuts(); // Gives an overview of the cuts.
-
-// Return the list of QA histos
- TList* GetListOfDataQAHistos() const{
- if (fDataTrackQAHistos) {return fDataTrackQAHistos;}
- else return 0x0;
- }
- TList* GetListOfPrimRecMCTrackQAHistos() const{
- if (fPrimRecMCTrackQAHistos) {return fPrimRecMCTrackQAHistos;}
- else return 0x0;
- }
- TList* GetListOfPrimGenMCTrackQAHistos() const {
- if (fPrimGenMCTrackQAHistos) {return fPrimGenMCTrackQAHistos;}
- else return 0x0;
- }
- TList* GetListOfSecRecMCTrackQAHistos() const {
- if (fSecRecMCTrackQAHistos) return fSecRecMCTrackQAHistos;
- else return 0x0;
- }
- TList* GetListOfSecGenMCTrackQAHistos() const {
- if (fSecGenMCTrackQAHistos) return fSecGenMCTrackQAHistos;
- else return 0x0;
- }
-
-// Note that the PID histograms have in principle a different number of pT bins.
-// FIXME: This is not very nice...
- Int_t GetNPtBins() const {return fNPtBins;}
- Int_t GetNPtBinsPID(Int_t ptclass = -1) const {
- // if class = -1, then return the sum.
- if (ptclass == -1) {
- Int_t nptbinspid = 0;
- for (Int_t iPtClass = 0; iPtClass < 5; iPtClass++) {
- nptbinspid += fNPtBinsPID[iPtClass];
- }
- return nptbinspid;
- } else if (ptclass >= 0 && ptclass < 5) {
- return fNPtBinsPID[ptclass];
- } else {return -999;}
- }
-
-// Returns the Pt axis for PID and other histograms.
- Double_t* GetPtAxis() {return fPtAxis;}
- Double_t* GetPtAxisPID() const {
- const Int_t nptbinspid = GetNPtBinsPID();
- Double_t* ptaxis = new Double_t[nptbinspid + 1];
- for (Int_t iPtBin = 0; iPtBin < nptbinspid; iPtBin++) {
- ptaxis[iPtBin] = GetPtMinPID(iPtBin + 1);
- }
- ptaxis[nptbinspid] = GetPtMaxPID(nptbinspid);
- return ptaxis;
- }
-
-// Return data histogram with a specific name. Since the histograms are not streamed, and only the
-// TList containing them is, we have to retrieve them from the list.
+ void PrintCuts() const;
+
+ // List of QA histograms.
+ TList* GetListOfDataQAHistos() const;
+ TList* GetListOfPrimRecMCTrackQAHistos() const;
+ TList* GetListOfPrimGenMCTrackQAHistos() const;
+ TList* GetListOfSecRecMCTrackQAHistos() const;
+ TList* GetListOfSecGenMCTrackQAHistos() const;
+
+ // Return a specific member of one of the lists of histograms.