1 #ifndef ALIJETCONSTITUENTTAGCOPIER_H
2 #define ALIJETCONSTITUENTTAGCOPIER_H
4 // $Id: AliJetConstituentTagCopier.h $
6 #include "AliAnalysisTaskEmcal.h"
12 class AliJetConstituentTagCopier : public AliAnalysisTaskEmcal {
14 AliJetConstituentTagCopier();
15 AliJetConstituentTagCopier(const char *name);
16 virtual ~AliJetConstituentTagCopier();
18 void SetMCParticlesName(const char *n) { fMCParticlesName = n ; }
19 void SetCleanBeforeCopy(Bool_t c) { fCleanBeforeCopy = c ; }
20 void SetMCLabelShift(Int_t s) { fMCLabelShift = s ; }
25 void DoClusterLoop(TClonesArray *array);
26 void DoTrackLoop(TClonesArray *array);
27 void DoEmcalParticleLoop(TClonesArray *array);
29 TString fMCParticlesName; // name of MC particle collection
30 Bool_t fCleanBeforeCopy; // clean bit map before copying
31 Int_t fMCLabelShift; // if MC label > fMCLabelShift, MC label -= fMCLabelShift
32 TClonesArray *fMCParticles; //!MC particle collection
33 AliNamedArrayI *fMCParticlesMap; //!MC particle map
36 AliJetConstituentTagCopier(const AliJetConstituentTagCopier&); // not implemented
37 AliJetConstituentTagCopier &operator=(const AliJetConstituentTagCopier&); // not implemented
39 ClassDef(AliJetConstituentTagCopier, 3) // Copy tags from particle level constituent to detector level