]>
Commit | Line | Data |
---|---|---|
6de19f6c | 1 | #ifndef ALIEMCALCLUSTERMAKER_H |
2 | #define ALIEMCALCLUSTERMAKER_H | |
3 | ||
4 | // $Id$ | |
5 | ||
6 | class TClonesArray; | |
1b7db93b | 7 | class TH1F; |
8 | class TH2F; | |
6de19f6c | 9 | class AliEMCALRecoUtils; |
10 | ||
11 | #include "AliAnalysisTaskEmcal.h" | |
12 | ||
13 | class AliEmcalClusterMaker : public AliAnalysisTaskEmcal { | |
14 | ||
15 | public: | |
16 | AliEmcalClusterMaker(); | |
17 | AliEmcalClusterMaker(const char *name, Bool_t histo=kFALSE); | |
18 | virtual ~AliEmcalClusterMaker(); | |
19 | ||
20 | void UserCreateOutputObjects(); | |
1b7db93b | 21 | void SetOutClusName(const char *n) { fOutCaloName = n; } |
22 | void SetRecoUtils(AliEMCALRecoUtils *ru) { fRecoUtils = ru; } | |
6de19f6c | 23 | |
24 | protected: | |
25 | Bool_t Run() ; | |
26 | void ExecOnce() ; | |
27 | ||
28 | TString fOutCaloName; // name of output clusters | |
29 | AliEMCALRecoUtils *fRecoUtils; // pointer to reco utils | |
30 | Bool_t fEsdMode; //!ESD/AOD mode | |
31 | TClonesArray *fOutClusters; //!output cluster collection | |
1b7db93b | 32 | TH1F *fEnergyDistBefore; //!energy distribution before |
33 | TH2F *fEtaPhiDistBefore; //!eta/phi distribution before | |
34 | TH2F *fEnergyTimeHistBefore; //!energy/time distribution before | |
35 | TH1F *fEnergyDistAfter; //!energy distribution after | |
36 | TH2F *fEtaPhiDistAfter; //!eta/phi distribution after | |
d46c38f5 | 37 | TH2F *fEnergyTimeHistAfter; //!energy/time distribution after |
a3e564aa | 38 | TH1F *fEnergyExoticClusters; //!energy of exotic clusters |
6de19f6c | 39 | |
40 | private: | |
41 | AliEmcalClusterMaker(const AliEmcalClusterMaker&); // not implemented | |
42 | AliEmcalClusterMaker &operator=(const AliEmcalClusterMaker&); // not implemented | |
43 | ||
a3e564aa | 44 | ClassDef(AliEmcalClusterMaker, 2) // Emcal cluster maker |
6de19f6c | 45 | }; |
46 | #endif |