]>
Commit | Line | Data |
---|---|---|
917559ee | 1 | #ifndef ALITRDQAENERGYDEPOSIT_H |
2 | #define ALITRDQAENERGYDEPOSIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id: AliTRDqaEnergyDeposit.h $ */ | |
7 | ||
8 | // | |
9 | // This class is a part of a package of high level QA monitoring for TRD. | |
10 | // In this class the dEdX is analyzed as a function of the particle type, | |
11 | // momentum and chamber. | |
12 | // | |
13 | // S. Radomski | |
14 | // radomski@physi.uni-heidelberg.de | |
15 | // March 2008 | |
16 | // | |
17 | ||
18 | #include "AliAnalysisTask.h" | |
19 | ||
20 | class TTree; | |
21 | class AliESDEvent; | |
22 | class TH1D; | |
23 | class TH2D; | |
24 | class AliExternalTrackParam; | |
25 | ||
26 | class AliTRDqaEnergyDeposit : public AliAnalysisTask { | |
27 | ||
28 | public: | |
29 | AliTRDqaEnergyDeposit(); | |
30 | AliTRDqaEnergyDeposit(const char *name); | |
f2e1656b | 31 | AliTRDqaEnergyDeposit(const AliTRDqaEnergyDeposit & trd); |
32 | AliTRDqaEnergyDeposit &operator=(const AliTRDqaEnergyDeposit & /*g*/) { return *this; }; | |
917559ee | 33 | virtual ~AliTRDqaEnergyDeposit() {} |
34 | ||
35 | virtual void Exec(Option_t * opt = ""); | |
36 | virtual void ConnectInputData(Option_t *); | |
37 | virtual void CreateOutputObjects(); | |
38 | virtual void Terminate(Option_t * opt = ""); | |
39 | ||
40 | protected: | |
41 | ||
42 | TTree *fChain; //!pointer to the analyzed TTree or TChain | |
43 | AliESDEvent *fESD; //! Declaration of leave types | |
44 | ||
45 | TObjArray *fOutputContainer; //! output data container | |
46 | ||
47 | // histogrms | |
48 | ||
49 | //TH2D *fSignalPt[2]; // pt-dedx distribution for pos and neg | |
50 | TH2D *fSignalPtSum[2]; // pt-dedx distribution for pos and neg | |
51 | TH2D *fSignalPtType[2*5]; // weight with the PID probability | |
52 | TH1D *fProb[2*5]; // probabilities | |
53 | //TH2D *fSignalPtChamber[2*540]; | |
54 | ||
8e2f611a | 55 | TH2D *fSignalPtPure[2*5]; // dedx for a clean sample |
56 | ||
f2e1656b | 57 | void FillElectrons() const; |
58 | void FillPions() const {} | |
59 | void FillKaons() const {} | |
60 | void FillProtons() const {} | |
8e2f611a | 61 | |
62 | ClassDef(AliTRDqaEnergyDeposit, 0); // a TRD analysis task | |
917559ee | 63 | }; |
64 | #endif // ALITRDQAENERGYDEPOSIT_H |