]>
Commit | Line | Data |
---|---|---|
c239ee06 | 1 | #ifndef AliMultiplictyLoaderTask_H |
2 | #define AliMultiplictyLoaderTask_H | |
3 | class TH1F; | |
4 | class TH2F; | |
5 | class TH3D; | |
6 | class AliESDEvent; | |
7 | class AliESDtrackCuts; | |
8 | class AliPPVsMultUtils; | |
9 | template<class T> class TParameter; | |
10 | //class TParameter; | |
11 | #include "AliAnalysisTaskSE.h" | |
12 | ||
13 | ||
14 | ||
15 | class AliMultiplictyLoaderTask : public AliAnalysisTaskSE | |
16 | { | |
17 | public: | |
18 | AliMultiplictyLoaderTask(const char *name = "AliMultiplictyLoaderTask"); | |
19 | virtual ~AliMultiplictyLoaderTask(); | |
20 | ||
21 | //virtual void ConnectInputData(Option_t *); | |
22 | virtual void UserCreateOutputObjects(); | |
23 | virtual void UserExec(Option_t *option); | |
24 | virtual void Terminate(Option_t *){}; | |
25 | //virtual void LocalInit(); | |
26 | void SetCentEstimator(TString cent = "V0M") {fCentEstimator = cent; }; | |
27 | void SetUseAliPPVsMultUtils(Bool_t flag) {fUseAliPPVsMultUtils=flag;}; | |
28 | ||
29 | private: | |
30 | AliESDEvent *fESD; //! ESD object | |
31 | AliPPVsMultUtils* fAliPPVsMultUtils; // tool to get V0M multiplicty/centrailty | |
32 | TString fCentEstimator; // type of the centrailty estimator | |
33 | Bool_t fUseAliPPVsMultUtils; // if true uses the centrality from AliPPVsMultUtils | |
34 | TParameter<Double_t>* fcentvalue; // value of centrailty | |
35 | TParameter<Int_t>* fncharged05value; // value of Nch for |eta|<0.5 | |
36 | TParameter<Int_t>* fncharged08value; // value of Nch for |eta|<0.8 | |
37 | Bool_t fFirstEvent; // first Event Flag | |
38 | AliMultiplictyLoaderTask(const AliMultiplictyLoaderTask&){}; // private copy const | |
39 | AliMultiplictyLoaderTask& operator=(const AliMultiplictyLoaderTask&){}; // private = operator | |
40 | ||
41 | ||
42 | ClassDef(AliMultiplictyLoaderTask, 1); | |
43 | }; | |
44 | ||
45 | #endif |