]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGPP/TPC/AliTPCPIDEtaQA.h
PWGPPMUONdep and PWGPPmuonlite converted to native cmake
[u/mrichter/AliRoot.git] / PWGPP / TPC / AliTPCPIDEtaQA.h
1 #ifndef ALITPCPIDETAQA_H
2 #define ALITPCPIDETAQA_H
3
4 /*
5 This task determines the eta dependence of the TPC signal.
6 For this purpose, only tracks fulfilling some standard quality cuts are taken into account.
7 The obtained data can be used to derive the functional behaviour of the eta dependence.
8 Such a function can be plugged into this task to correct for the eta dependence and to see
9 if there is then really no eta dependence left.
10
11 Class written by Benjamin Hess.
12 Contact: bhess@cern.ch
13 */
14
15 class TH1F;
16 class TF1;
17 class THnSparse;
18 class AliPIDResponse;
19 class AliPID;
20
21 #include "AliTPCPIDBase.h"
22
23 class AliTPCPIDEtaQA : public AliTPCPIDBase {
24  public:
25   AliTPCPIDEtaQA();
26   AliTPCPIDEtaQA(const char *name);
27   virtual ~AliTPCPIDEtaQA();
28   
29   virtual void   UserCreateOutputObjects();
30   virtual void   UserExec(Option_t *option);
31   virtual void   Terminate(const Option_t*);
32   
33   Double_t GetPtThresholdForPhiCut() const { return fPtThresholdForPhiCut; };     
34   virtual void  SetPtThresholdForPhiCut(Double_t threshold) { fPtThresholdForPhiCut = threshold; };
35   
36  protected:
37   virtual void   SetUpHist(THnSparse* hist, Double_t* binsPt) const;
38   
39  private:
40   Double_t fPtThresholdForPhiCut; // Only apply phi cut on tracks with pT larger equal this threshold
41   
42   TF1* fPhiCutSecondBranchLow; // phi prime cut, low, second branch (very low pT)
43   TF1* fPhiCutSecondBranchHigh; // phi prime cut, high, second branch (very low pT)
44     
45   THnSparseI* fhPIDdataAll; //! data histogram
46   
47   //OLD clusterQA THnSparseI* fhNumClustersPhiPrimePtBeforeCut; //! QA histogra - before phi prime cut
48   //OLD clusterQA THnSparseI* fhNumClustersPhiPrimePtAfterCut; //! QA histogra - after phi prime cut
49   
50   TH1F* fhPhiPrimeCutEfficiency; //! Effeciency of phiPrime cut as a functio of pT
51   
52   TObjArray* fOutputContainer; //! output data container
53    
54   AliTPCPIDEtaQA(const AliTPCPIDEtaQA&); // not implemented
55   AliTPCPIDEtaQA& operator=(const AliTPCPIDEtaQA&); // not implemented
56   
57   ClassDef(AliTPCPIDEtaQA, 1); // example of analysis
58 };
59
60 #endif