]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/hfe/AliHFEtpcPIDqa.h
Add fast merging option (Diego)
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEtpcPIDqa.h
index c6d31afe0905ce438394aacc15c5c30656917383..7e631a143966e3b63845b311740b973adeee32cb 100644 (file)
@@ -1,6 +1,3 @@
-#ifndef ALIHFETPCPIDQA_H
-#define ALIHFETPCPIDQA_H
-
 /**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/
-
-/* $Id$ */ 
-
 //
 // Class AliHFEtpcPIDqa
 // Monitoring TPC PID in the HFE PID montioring framework
 // More information can be found inside the implementation file
 //
+#ifndef ALIHFETPCPIDQA_H
+#define ALIHFETPCPIDQA_H
+
 #ifndef ALIHFEDETPIDQA_H
 #include "AliHFEdetPIDqa.h"
 #endif
@@ -51,15 +48,18 @@ class AliHFEtpcPIDqa : public AliHFEdetPIDqa{
     virtual void Initialize();
     virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
 
+    void SetBrowseCentrality(Int_t browseCentrality) { browseCentrality < 11  && browseCentrality >= -1 ? fBrowseCentrality = browseCentrality : -1;} // *MENU*
+
     AliHFEcollection *GetHistograms() const { return fHistos; }
-    TH2 *MakeSpectrumdEdx(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
-    TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
+    TH2 *MakeSpectrumdEdx(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1);
+    TH2 *MakeSpectrumNSigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1, Int_t centralityClass = -1);
 
   protected:
     Double_t GetTPCsignal(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype);
 
   private:
     AliHFEcollection *fHistos;        // Container for Histograms
+    Int_t fBrowseCentrality;          // Centrality Class for Browser
 
     ClassDef(AliHFEtpcPIDqa, 1);
 };