1 #ifndef ALITPCPIDETAQA_H
2 #define ALITPCPIDETAQA_H
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.
11 Class written by Benjamin Hess.
12 Contact: bhess@cern.ch
21 #include "AliTPCPIDBase.h"
23 class AliTPCPIDEtaQA : public AliTPCPIDBase {
26 AliTPCPIDEtaQA(const char *name);
27 virtual ~AliTPCPIDEtaQA();
29 virtual void UserCreateOutputObjects();
30 virtual void UserExec(Option_t *option);
31 virtual void Terminate(const Option_t*);
33 Double_t GetPtThresholdForPhiCut() const { return fPtThresholdForPhiCut; };
34 virtual void SetPtThresholdForPhiCut(Double_t threshold) { fPtThresholdForPhiCut = threshold; };
37 virtual void SetUpHist(THnSparse* hist, Double_t* binsPt) const;
40 Double_t fPtThresholdForPhiCut; // Only apply phi cut on tracks with pT larger equal this threshold
42 TF1* fPhiCutSecondBranchLow; // phi prime cut, low, second branch (very low pT)
43 TF1* fPhiCutSecondBranchHigh; // phi prime cut, high, second branch (very low pT)
45 THnSparseI* fhPIDdataAll; //! data histogram
47 //OLD clusterQA THnSparseI* fhNumClustersPhiPrimePtBeforeCut; //! QA histogra - before phi prime cut
48 //OLD clusterQA THnSparseI* fhNumClustersPhiPrimePtAfterCut; //! QA histogra - after phi prime cut
50 TH1F* fhPhiPrimeCutEfficiency; //! Effeciency of phiPrime cut as a functio of pT
52 TObjArray* fOutputContainer; //! output data container
54 AliTPCPIDEtaQA(const AliTPCPIDEtaQA&); // not implemented
55 AliTPCPIDEtaQA& operator=(const AliTPCPIDEtaQA&); // not implemented
57 ClassDef(AliTPCPIDEtaQA, 1); // example of analysis