]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG1/TRD/AliTRDcheckPID.h
e THnSparse structure to store MC residuals
[u/mrichter/AliRoot.git] / PWG1 / TRD / AliTRDcheckPID.h
index c6ac0bf3a88d96b6971078f78e26e92ef78874da..f9bdc41a1a790cc0c5fdb57063779fcce54f5d0f 100644 (file)
@@ -23,7 +23,6 @@
 #include "AliPID.h"
 #endif
 
-class AliTRDReconstructor;
 class AliTRDpidUtil;
 class AliTRDcheckPID : public AliTRDrecoTask 
 {
@@ -43,8 +42,9 @@ public:
     ,kEfficiencyKa     =  10    // K Efficiency plot
     ,kEfficiencyPr     =  11    // pr Efficiency plot
     ,kV0               =  12    // V0 performance
-    ,kNPlots           =  13    // Number of plots for this tasks 
-  };
+    ,kdQdl             =  13  // Plot total charge used for the 1D-Likelihood calculation
+    ,kNPlots           =  14    // Number of plots for this tasks
+ };
   AliTRDcheckPID();
   AliTRDcheckPID(char* name);
   virtual ~AliTRDcheckPID();
@@ -57,6 +57,7 @@ public:
   TH1 *PlotLQ(const AliTRDtrackV1 *track = 0x0);
   TH1 *PlotNN(const AliTRDtrackV1 *track = 0x0);
   TH1 *PlotESD(const AliTRDtrackV1 *track = 0x0);
+  TH1 *PlotdQdl(const AliTRDtrackV1 *track = 0x0);
   TH1 *PlotdEdx(const AliTRDtrackV1 *track = 0x0);
   TH1 *PlotdEdxSlice(const AliTRDtrackV1 *track = 0x0);
   TH1 *PlotPH(const AliTRDtrackV1 *track = 0x0);
@@ -73,7 +74,7 @@ public:
   static Char_t const* MethodName(Int_t id) { return fgMethod[id]; };
   //TObjArray *GetHistos() { return fContainer; };
   virtual TObjArray *Histos();
-  void EvaluateEfficiency(TObjArray* const histoContainer, TObjArray *results, Int_t species, Float_t electronEfficiency);
+  void EvaluateEfficiency(const TObjArray* const histoContainer, TObjArray *results, Int_t species, Float_t electronEfficiency);
   inline void SetMomentumBinning(Int_t nBins, Double_t *bins);
   inline Int_t FindBin(Int_t species, Double_t momentum);
   inline Bool_t IsInRange(Double_t momentum);
@@ -87,7 +88,6 @@ private:
   void   LocalInit();
 
   static Char_t const *fgMethod[3];        // PID method name
-  AliTRDReconstructor *fReconstructor;     // reconstructor needed for recalculation the PID
   AliTRDpidUtil       *fUtil;              // utility class for PID calculations
   TObjArray           *fGraph;             //! array of graphs filled in PostProcess
   TObjArray           *fPID;               //! array of PID info/track for calibration
@@ -96,7 +96,7 @@ private:
   TAxis               *fMomentumAxis;      // helper mementum binning
   Int_t                fMinNTracklets;     // minimum number of required Tracklets (for systematic studies)
   Int_t                fMaxNTracklets;     // maximum number of required Tracklets (for systematic studies) 
-  ClassDef(AliTRDcheckPID, 2); // TRD PID checker
+  ClassDef(AliTRDcheckPID, 3); // TRD PID checker
 };
 
 //________________________________________________________________________