]>
Commit | Line | Data |
---|---|---|
c3ba2d3d | 1 | #ifndef ALIANALYSISTASKSAQA_H |
2 | #define ALIANALYSISTASKSAQA_H | |
3 | ||
4 | // $Id: AliAnalysisTaskSAQA.h 56532 2012-05-17 02:53:19Z loizides $ | |
5 | ||
6 | class TClonesArray; | |
7 | class TString; | |
8 | class TH1F; | |
9 | class TH2F; | |
10 | ||
11 | #include "AliAnalysisTaskEmcal.h" | |
12 | ||
13 | class AliAnalysisTaskSAQA : public AliAnalysisTaskEmcal { | |
14 | public: | |
15 | AliAnalysisTaskSAQA(); | |
16 | AliAnalysisTaskSAQA(const char *name); | |
17 | virtual ~AliAnalysisTaskSAQA(); | |
18 | ||
19 | void UserCreateOutputObjects(); | |
20 | void Terminate(Option_t *option); | |
21 | ||
22 | void SetTrgClusName(const char *n) { fTrgClusName = n ; } | |
23 | void SetCellEnergyCut(Float_t cut) { fCellEnergyCut = cut ; } | |
24 | void SetDoEoverP(Bool_t eop = kTRUE) { fDoEoverP = eop ; } | |
25 | ||
26 | protected: | |
27 | ||
28 | void FillHistograms() ; | |
29 | void RetrieveEventObjects() ; | |
30 | void DoCellLoop(Float_t &sum, Float_t &sum_cut) ; | |
31 | void DoTriggerPrimitives(Int_t &maxL1amp, Int_t &maxL1thr) ; | |
32 | Float_t DoTriggerClusLoop() ; | |
33 | Float_t DoTrackLoop() ; | |
34 | Float_t DoClusterLoop() ; | |
35 | void DoJetLoop() ; | |
36 | ||
37 | ||
38 | Float_t fCellEnergyCut; // Energy cell cut | |
39 | Bool_t fDoEoverP; // Make do E over p histogram | |
40 | TString fTrgClusName; // Name of trg clus name | |
41 | TClonesArray *fTrgClusters; //!Trg Clusters | |
42 | ||
43 | TH1F *fHistCentrality; //!Event centrality distribution | |
44 | TH2F *fHistTracksCent; //!Number of tracks vs. centrality | |
45 | TH2F *fHistClusCent; //!Number of clusters vs. centrality | |
46 | ||
47 | TH2F *fHistMaxL1FastORCent; //!Maximum L1 trigger FastOR amplitude vs. centrality | |
48 | TH2F *fHistMaxL1ClusCent; //!Maximum L1 trigger cluster amplitude vs. centrality | |
49 | TH2F *fHistMaxL1ThrCent; //!Maximum L1 trigger threshold vs. centrality | |
50 | ||
51 | TH1F *fHistTracksPt; //!Pt spectrum of tracks | |
52 | TH2F *fHistTrPhiEta; //!Phi-Eta distribution of tracks | |
53 | TH1F *fHistClustersEnergy; //!Energy spectrum of clusters | |
54 | TH2F *fHistClusPhiEta; //!Phi-Eta distribution of clusters | |
55 | TH1F *fHistJetsPt; //!Pt spectrum of jets | |
56 | TH2F *fHistJetsPhiEta; //!Phi-Eta distribution of jets | |
57 | TH2F *fHistJetsPtArea; //!Pt vs. area of jets | |
58 | ||
59 | TH2F *fHistEoverP; //!E/P vs. E | |
60 | ||
61 | TH1F *fHistCellsEnergy; //!Energy spectrum of cells | |
62 | ||
63 | TH2F *fHistChVSneCells; //!Charged vs. neutral (cells) energy | |
64 | TH2F *fHistChVSneClus; //!Charged vs. neutral (clusters) energy | |
65 | TH2F *fHistChVSneCorrCells; //!Charged vs. neutral (corrected cells) energy | |
66 | ||
67 | TH1F *fHistTrackPhi[5]; //!Phi distribution of hybrid tracks | |
68 | TH1F *fHistTrackEta[5]; //!Eta distribution of hybrid tracks | |
69 | ||
70 | private: | |
71 | AliAnalysisTaskSAQA(const AliAnalysisTaskSAQA&); // not implemented | |
72 | AliAnalysisTaskSAQA &operator=(const AliAnalysisTaskSAQA&); // not implemented | |
73 | ||
74 | ClassDef(AliAnalysisTaskSAQA, 4) // Quality task for Emcal analysis | |
75 | }; | |
76 | #endif |