]>
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 ; } |
a7477843 | 20 | void SetMCLabelShift(Int_t s) { fMCLabelShift = s ; } |
8afc7c8d | 21 | |
22 | protected: | |
23 | void ExecOnce(); | |
24 | Bool_t Run(); | |
25 | void DoClusterLoop(TClonesArray *array); | |
26 | void DoTrackLoop(TClonesArray *array); | |
27 | void DoEmcalParticleLoop(TClonesArray *array); | |
28 | ||
29 | TString fMCParticlesName; // name of MC particle collection | |
f0c10df2 | 30 | Bool_t fCleanBeforeCopy; // clean bit map before copying |
a7477843 | 31 | Int_t fMCLabelShift; // if MC label > fMCLabelShift, MC label -= fMCLabelShift |
8afc7c8d | 32 | TClonesArray *fMCParticles; //!MC particle collection |
5be3857d | 33 | AliNamedArrayI *fMCParticlesMap; //!MC particle map |
8afc7c8d | 34 | |
35 | private: | |
36 | AliJetConstituentTagCopier(const AliJetConstituentTagCopier&); // not implemented | |
37 | AliJetConstituentTagCopier &operator=(const AliJetConstituentTagCopier&); // not implemented | |
38 | ||
a7477843 | 39 | ClassDef(AliJetConstituentTagCopier, 3) // Copy tags from particle level constituent to detector level |
8afc7c8d | 40 | }; |
41 | ||
42 | #endif |