]>
Commit | Line | Data |
---|---|---|
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 TH2F; | |
27 | class TH1I; | |
28 | class TObjArray; | |
29 | class AliTRDv0Monitor : public AliTRDrecoTask | |
30 | { | |
31 | public: | |
32 | enum ETRDv0Monitor { | |
33 | kNSamples = 3 | |
34 | ,kNPlots = 13 // Number of plots for this task | |
35 | ,kNCutSteps = 3 | |
36 | ,kNDets = 3 | |
37 | }; | |
38 | ||
39 | AliTRDv0Monitor(); | |
40 | AliTRDv0Monitor(const char *name); | |
41 | virtual ~AliTRDv0Monitor(){}; | |
42 | ||
43 | Bool_t GetRefFigure(Int_t ifig); | |
44 | TObjArray* Histos(); | |
45 | void UserExec(Option_t *option); | |
46 | //void MakeSummary(); | |
47 | ||
48 | private: | |
49 | AliTRDv0Monitor(const AliTRDv0Monitor&); // not implemented | |
50 | AliTRDv0Monitor& operator=(const AliTRDv0Monitor&); // not implemented | |
51 | ||
52 | TH1I *fhCutReductions[AliPID::kSPECIES];//!histo for sample reductions by each ID cut | |
53 | TH1I *fhQualityReductions;//!histo for sample reductions by each quality cut | |
54 | TH2F *fhV0Chi2ndf[AliTRDv0Info::kNDecays][kNCutSteps];//!Chi2/ndf distributions before cuts, after inv. mass cut, after all cuts (same for all arrays below!!!) | |
55 | TH2F *fhInvMass[AliTRDv0Info::kNDecays];//!invariant mass distributions | |
56 | TH2F *fhPsiPair[AliTRDv0Info::kNDecays][kNCutSteps];//!Psi_pair angle distributions | |
57 | TH2F *fhPointAngle[AliTRDv0Info::kNDecays][kNCutSteps];//!pointing angle | |
58 | TH2F *fhDCA[AliTRDv0Info::kNDecays][kNCutSteps];//!Distance of closest approach between daughters | |
59 | TH2F *fhOpenAngle[AliTRDv0Info::kNDecays][kNCutSteps];//!opening angle between daughters | |
60 | TH2F *fhDetPID[kNDets][AliPID::kSPECIES];//!likelihood outputs from different detectors | |
61 | TH2F *fhComPID[AliPID::kSPECIES];//!combined PID from TPC and TOF | |
62 | TH2F *fhRadius[AliTRDv0Info::kNDecays][kNCutSteps];//!radial distance of secondary vertex to primary vertex | |
63 | TH2F *fhTPCdEdx[AliPID::kSPECIES][kNCutSteps];//!energy deposition in TPC | |
64 | ||
65 | ||
66 | ||
67 | TObjArray *fV0s; //! v0 array | |
68 | TTree *fData; //! dEdx-P data | |
69 | TObjArray *fInfo; //! list of PID info | |
70 | Float_t fP; //! momentum | |
71 | Float_t fPID[AliPID::kSPECIES]; //! pid from v0s | |
72 | ||
73 | ClassDef(AliTRDv0Monitor, 3); // V0 Monitor | |
74 | }; | |
75 | ||
76 | #endif |