]>
Commit | Line | Data |
---|---|---|
0ed6f095 | 1 | #ifndef ALITRDV0MONITOR_H |
2 | #define ALITRDV0MONITOR_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | ///////////////////////////////////////////////////// | |
8 | // | |
9 | // Monitor V0 for TRD | |
10 | // | |
11 | // Authors: | |
12 | // Markus Heide <mheide@uni-muenster.de> | |
13 | ////////////////////////////////////////////////////// | |
14 | ||
15 | #ifndef ALITRDRECOTASK_H | |
16 | #include "AliTRDrecoTask.h" | |
17 | #endif | |
18 | #ifndef ALIPID_H | |
19 | #include "AliPID.h" | |
20 | #endif | |
21 | #ifndef ALITRDV0INFO_H | |
22 | #include "info/AliTRDv0Info.h" | |
23 | #endif | |
24 | ||
25 | class TTree; | |
26 | class TList; | |
27 | class TH2F; | |
28 | class TH1I; | |
29 | class TObjArray; | |
30 | ||
31 | ||
32 | class AliTRDv0Monitor : public AliTRDrecoTask | |
33 | { | |
34 | public: | |
35 | enum ETRDv0Monitor { | |
36 | kNSamples = 3 | |
37 | ,kNPlots = 13 // Number of plots for this task | |
38 | ,kNCutSteps = 3 | |
39 | ,kNDets = 3 | |
40 | }; | |
41 | ||
42 | AliTRDv0Monitor(); | |
43 | AliTRDv0Monitor(const char *name, const char *title); | |
44 | ||
45 | virtual ~AliTRDv0Monitor(); | |
46 | ||
47 | void UserCreateOutputObjects(); | |
48 | void UserExec(Option_t *option); | |
49 | ||
50 | TList *fOutput; //! Container for output histos | |
51 | ||
52 | TH1I *hCutReductions[AliPID::kSPECIES]; | |
53 | TH1I *hQualityReductions; | |
54 | TH2F *hV0Chi2ndf[AliTRDv0Info::kNDecays][kNCutSteps]; | |
55 | TH2F *hInvMass[AliTRDv0Info::kNDecays]; | |
56 | TH2F *hPsiPair[AliTRDv0Info::kNDecays][kNCutSteps]; | |
57 | TH2F *hPointAngle[AliTRDv0Info::kNDecays][kNCutSteps]; | |
58 | TH2F *hDCA[AliTRDv0Info::kNDecays][kNCutSteps]; | |
59 | TH2F *hOpenAngle[AliTRDv0Info::kNDecays][kNCutSteps]; | |
60 | TH2F *hDetPID[kNDets][AliPID::kSPECIES]; | |
61 | TH2F *hComPID[AliPID::kSPECIES]; | |
62 | TH2F *hRadius[AliTRDv0Info::kNDecays][kNCutSteps]; | |
63 | TH2F *hTPCdEdx[AliPID::kSPECIES][kNCutSteps]; | |
64 | ||
65 | ||
66 | ||
67 | protected: | |
68 | ||
69 | TObjArray *fV0s; //! v0 array | |
70 | TTree *fData; //! dEdx-P data | |
71 | TObjArray *fInfo; //! list of PID info | |
72 | ||
73 | Float_t fP; // momentum | |
74 | ||
75 | Float_t fPID[AliPID::kSPECIES]; // pid from v0s | |
76 | //Int_t GetPDG(Int_t index); // PDG information from MC | |
77 | ||
78 | private: | |
79 | AliTRDv0Monitor(const AliTRDv0Monitor&); // not implemented | |
80 | AliTRDv0Monitor& operator=(const AliTRDv0Monitor&); // not implemented | |
81 | ||
82 | ClassDef(AliTRDv0Monitor, 3); // V0 Monitor | |
83 | }; | |
84 | ||
85 | #endif |