]>
Commit | Line | Data |
---|---|---|
c25dc25a | 1 | #ifndef AliAnalysisTaskScale_h |
2 | #define AliAnalysisTaskScale_h | |
0b777a09 | 3 | |
4 | // $Id$ | |
5 | ||
2774335d | 6 | class TH2; |
b1dfb3f4 | 7 | class TF1; |
b77147f1 | 8 | class AliParticleContainer; |
9 | class AliClusterContainer; | |
0b777a09 | 10 | |
9239b066 | 11 | #include "AliAnalysisTaskEmcal.h" |
0b777a09 | 12 | |
9239b066 | 13 | class AliAnalysisTaskScale : public AliAnalysisTaskEmcal { |
0b777a09 | 14 | public: |
c25dc25a | 15 | AliAnalysisTaskScale(); |
0b777a09 | 16 | AliAnalysisTaskScale(const char *name); |
17 | virtual ~AliAnalysisTaskScale() {} | |
18 | ||
2b2cdb6e | 19 | void UserCreateOutputObjects(); |
b1dfb3f4 | 20 | |
2b2cdb6e | 21 | void SetScaleFunction(TF1* sf) { fScaleFunction = sf ; } |
0b777a09 | 22 | |
b1dfb3f4 | 23 | protected: |
7cd832c7 | 24 | void ExecOnce(); |
73e2fd59 | 25 | Double_t GetScaleFactor(Double_t cent); |
26 | Bool_t FillHistograms(); | |
b1dfb3f4 | 27 | |
0b777a09 | 28 | private: |
7cd832c7 | 29 | TF1 *fScaleFunction; // scale factor as a function of centrality |
30 | ||
31 | Double_t fEmcalArea; //!Emcal area | |
32 | Double_t fTpcArea; //!Tpc area | |
e44e8726 | 33 | |
2774335d | 34 | TH2 *fHistPtTPCvsCent; //!output histogram |
35 | TH2 *fHistPtEMCALvsCent; //!output histogram | |
36 | TH2 *fHistEtvsCent; //!output histogram | |
37 | TH2 *fHistScalevsCent; //!output histogram | |
38 | TH2 *fHistDeltaScalevsCent; //!output histogram | |
39 | TH2 *fHistScaleEmcalvsCent; //!output histogram | |
40 | TH2 *fHistScale2EmcalvsCent; //!output histogram | |
41 | TH2 *fHistDeltaScale2EmcalvsCent; //!output histogram | |
42 | TH2 *fHistChScalevsCent; //!output histogram | |
43 | TH2 *fHistChScale2EmcalvsCent; //!output histogram | |
44 | TH2 *fHistPtTPCvsNtrack; //!output histogram | |
45 | TH2 *fHistPtEMCALvsNtrack; //!output histogram | |
46 | TH2 *fHistEtvsNtrack; //!output histogram | |
47 | TH2 *fHistScalevsNtrack; //!output histogram | |
48 | TH2 *fHistDeltaScalevsNtrack; //!output histogram | |
49 | TH2 *fHistScaleEmcalvsNtrack; //!output histogram | |
50 | TH2 *fHistScale2EmcalvsNtrack; //!output histogram | |
51 | TH2 *fHistChScalevsNtrack; //!output histogram | |
52 | TH2 *fHistChScale2EmcalvsNtrack; //!output histogram | |
53 | TH2 *fHistTrackPtvsCent; //!output histogram | |
54 | TH2 *fHistClusterPtvsCent; //!output histogram | |
55 | TH2 *fHistTrackEtaPhi; //!output histogram | |
56 | TH2 *fHistClusterEtaPhi; //!output histogram | |
57 | TH2 *fHistScalevsScale2Emcal; //!output histogram | |
58 | TH2 *fHistScalevsScaleEmcal; //!output histogram | |
59 | TH2 *fHistScaleEmcalvsScale2Emcal; //!output histogram | |
0b777a09 | 60 | |
b77147f1 | 61 | AliParticleContainer *fTracksCont; //!Tracks |
62 | AliClusterContainer *fCaloClustersCont; //!Clusters | |
63 | ||
0b777a09 | 64 | AliAnalysisTaskScale(const AliAnalysisTaskScale&); // not implemented |
65 | AliAnalysisTaskScale& operator=(const AliAnalysisTaskScale&); // not implemented | |
66 | ||
b77147f1 | 67 | ClassDef(AliAnalysisTaskScale, 11); // Scale task |
0b777a09 | 68 | }; |
0b777a09 | 69 | #endif |