]>
Commit | Line | Data |
---|---|---|
8afc7c8d | 1 | #ifndef ALIJETCONSTITUENTTAGCOPIER_H |
2 | #define ALIJETCONSTITUENTTAGCOPIER_H | |
3 | ||
4 | // $Id: AliJetConstituentTagCopier.h $ | |
5 | ||
6 | #include "AliAnalysisTaskEmcal.h" | |
7 | ||
8 | class TClonesArray; | |
9 | class TString; | |
5be3857d | 10 | class AliNamedArrayI; |
8afc7c8d | 11 | |
12 | class AliJetConstituentTagCopier : public AliAnalysisTaskEmcal { | |
13 | public: | |
14 | AliJetConstituentTagCopier(); | |
15 | AliJetConstituentTagCopier(const char *name); | |
16 | virtual ~AliJetConstituentTagCopier(); | |
17 | ||
18 | void SetMCParticlesName(const char *n) { fMCParticlesName = n ; } | |
f0c10df2 | 19 | void SetCleanBeforeCopy(Bool_t c) { fCleanBeforeCopy = c ; } |
8afc7c8d | 20 | |
21 | protected: | |
22 | void ExecOnce(); | |
23 | Bool_t Run(); | |
24 | void DoClusterLoop(TClonesArray *array); | |
25 | void DoTrackLoop(TClonesArray *array); | |
26 | void DoEmcalParticleLoop(TClonesArray *array); | |
27 | ||
28 | TString fMCParticlesName; // name of MC particle collection | |
f0c10df2 | 29 | Bool_t fCleanBeforeCopy; // clean bit map before copying |
8afc7c8d | 30 | TClonesArray *fMCParticles; //!MC particle collection |
5be3857d | 31 | AliNamedArrayI *fMCParticlesMap; //!MC particle map |
8afc7c8d | 32 | |
33 | private: | |
34 | AliJetConstituentTagCopier(const AliJetConstituentTagCopier&); // not implemented | |
35 | AliJetConstituentTagCopier &operator=(const AliJetConstituentTagCopier&); // not implemented | |
36 | ||
f0c10df2 | 37 | ClassDef(AliJetConstituentTagCopier, 2) // Copy tags from particle level constituent to detector level |
8afc7c8d | 38 | }; |
39 | ||
40 | #endif |