]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/TPC/AliTPCPIDEtaQA.h
Implemented a remapper for parent identification in the particle tree when adding...
[u/mrichter/AliRoot.git] / PWGPP / TPC / AliTPCPIDEtaQA.h
CommitLineData
88b71b9f 1#ifndef ALITPCPIDETAQA_H
2#define ALITPCPIDETAQA_H
3
4/*
5This task determines the eta dependence of the TPC signal.
6For this purpose, only tracks fulfilling some standard quality cuts are taken into account.
7The obtained data can be used to derive the functional behaviour of the eta dependence.
8Such a function can be plugged into this task to correct for the eta dependence and to see
9if there is then really no eta dependence left.
10
11Class written by Benjamin Hess.
12Contact: bhess@cern.ch
13*/
14
15class TH1F;
16class TF1;
17class THnSparse;
18class AliPIDResponse;
19class AliPID;
20
21#include "AliTPCPIDBase.h"
22
23class 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
caa5a9ed 36 protected:
88b71b9f 37 virtual void SetUpHist(THnSparse* hist, Double_t* binsPt) const;
caa5a9ed 38
39 private:
88b71b9f 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