]>
Commit | Line | Data |
---|---|---|
c014f07d | 1 | #ifndef AliAnaVZEROTrigger_cxx |
2 | #define AliAnaVZEROTrigger_cxx | |
3 | ||
4 | class TH1F; | |
5 | class TH2F; | |
6 | class AliESDEvent; | |
7 | ||
8 | #include "AliAnalysisTaskSE.h" | |
9 | ||
10 | class AliAnaVZEROTrigger : public AliAnalysisTaskSE { | |
11 | public: | |
12 | AliAnaVZEROTrigger(); | |
13 | AliAnaVZEROTrigger(const char *name); | |
14 | virtual ~AliAnaVZEROTrigger() {} | |
15 | ||
16 | virtual void UserCreateOutputObjects(); | |
17 | virtual void UserExec(Option_t *option); | |
18 | virtual void Terminate(Option_t *); | |
19 | ||
20 | virtual void Init(); | |
21 | ||
22 | void Setup(const char *filename); | |
23 | void SetMBTrigName(const char *name = "CPBI") {fMBTrigName = name;} | |
24 | ||
25 | Float_t GetMinThr() const {return fMinThr;} | |
26 | Float_t GetMaxThr() const {return fMaxThr;} | |
27 | Float_t GetRatio() const {return fRatio;} | |
28 | Int_t GetNThr() const {return fNThr;} | |
29 | ||
30 | Float_t GetCentCuts(Int_t i) const {return fCentCuts[i];} | |
31 | Float_t GetSemiCentCuts(Int_t i) const {return fSemiCentCuts[i];} | |
32 | Float_t GetThrA(Int_t j) const; | |
33 | Float_t GetThrC(Int_t j) const; | |
34 | ||
35 | private: | |
36 | AliESDEvent *fESD; //! ESD object | |
37 | TList *fOutputList; //! Output list | |
38 | ||
39 | Float_t fMinThr; // Minimum threshold for the scan | |
40 | Float_t fMaxThr; // Maximum threshold for the scan | |
41 | Float_t fRatio; // Ratio between C and A side trigger charge | |
42 | Int_t fNThr; // Number of thresholds in the scan | |
43 | ||
44 | Float_t fCentCuts[2]; // Central cut extracted from the eff fit | |
45 | Float_t fSemiCentCuts[2]; // Semi-central cut extracted from the eff fit | |
46 | ||
47 | TString fMBTrigName; // MB trigger name (for evt sel) | |
48 | ||
49 | TH1F *fV0Percent; //! V0 centrality percentile | |
50 | TH1F *fV0PercentAll; //! V0 centrality percentile (no evt sel) | |
51 | TH1F *fZvtx; //! Z vetex distribution after phys sel | |
52 | TH1F *fV0Mult1d; //! V0 multiplicity distribution | |
53 | TH2F *fV0Charge2d; //! V0 trigger charges distribution | |
54 | TH2F *fV0Charge2dPercent; //! V0 trigger charges distribution weighted by centrality | |
55 | TH2F *fV0Charge2dAll; //! V0 trigger charges distribution (no evt sel) | |
56 | ||
57 | TH1F **fV0PercentBins; //! V0 centrality percentile with sequential thr | |
58 | TH1F **fV0PercentBinsAll; //! V0 centrality percentile with sequential thr (no evt sel) | |
59 | ||
60 | TH1F *fV0Cent; //! centrality percentile with central trigger using custom thresholds | |
61 | TH1F *fV0CentAll; //! centrality percentile with central trigger using custom threshold (no evt sel) | |
62 | TH1F *fV0SemiCent; //! centrality percentile with semi-central trigger using custom thresholds | |
63 | TH1F *fV0SemiCentAll; //! centrality percentile with semi-central trigger using custom thresholds (no evt sel) | |
64 | ||
65 | TH1F *fV0CentHw; //! centrality percentile with central trigger using hardware thresholds | |
66 | TH1F *fV0CentHwAll; //! centrality percentile with central trigger using hardware threshold (no evt sel) | |
67 | TH1F *fV0SemiCentHw; //! centrality percentile with semi-central trigger using hardware thresholds | |
68 | TH1F *fV0SemiCentHwAll; //! centrality percentile with semi-central trigger using hardware thresholds (no evt sel) | |
69 | ||
70 | TH1F *fV0CentTr; //! centrality percentile with central trigger using hardware thresholds | |
71 | TH1F *fV0CentTrAll; //! centrality percentile with central trigger using hardware threshold (no evt sel) | |
72 | TH1F *fV0SemiCentTr; //! centrality percentile with semi-central trigger using hardware thresholds | |
73 | TH1F *fV0SemiCentTrAll; //! centrality percentile with semi-central trigger using hardware thresholds (no evt sel) | |
74 | ||
75 | TH1F *fV0Percent63; //! centrality percentile when >=63 cells are fired | |
76 | TH1F *fV0Percent63All; //! centrality percentile when >=63 cells are fired (no evt sel) | |
77 | ||
78 | TH2F *fV0MultAll; //! | |
79 | TH2F *fV0Mult63; //! | |
80 | ||
81 | AliAnaVZEROTrigger(const AliAnaVZEROTrigger&); // not implemented | |
82 | AliAnaVZEROTrigger& operator=(const AliAnaVZEROTrigger&); // not implemented | |
83 | ||
84 | ClassDef(AliAnaVZEROTrigger, 1); // VZERO analysis task for setting up of centrality trigger | |
85 | }; | |
86 | ||
87 | #endif |