]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGJE/EMCALJetTasks/AliJetConstituentTagCopier.h
setter to assume pion mass for clusters
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / AliJetConstituentTagCopier.h
CommitLineData
8afc7c8d 1#ifndef ALIJETCONSTITUENTTAGCOPIER_H
2#define ALIJETCONSTITUENTTAGCOPIER_H
3
9239b066 4// $Id$
8afc7c8d 5
9239b066 6#include "AliAnalysisTaskEmcal.h"
8afc7c8d 7
8afc7c8d 8class TString;
5be3857d 9class AliNamedArrayI;
7cd832c7 10class AliParticleContainer;
11class AliClusterContainer;
8afc7c8d 12
9239b066 13class AliJetConstituentTagCopier : public AliAnalysisTaskEmcal {
8afc7c8d 14 public:
15 AliJetConstituentTagCopier();
16 AliJetConstituentTagCopier(const char *name);
17 virtual ~AliJetConstituentTagCopier();
18
7cd832c7 19 void ConnectMCParticleContainerID(AliParticleContainer *cont) { fMCParticleContainer = cont ; }
20 void SetCleanBeforeCopy(Bool_t c) { fCleanBeforeCopy = c ; }
21 void SetMCLabelShift(Int_t s) { fMCLabelShift = s ; }
8afc7c8d 22
23 protected:
8afc7c8d 24 Bool_t Run();
7cd832c7 25 void DoClusterLoop(AliClusterContainer *cont);
26 void DoParticleLoop(AliParticleContainer *cont);
8afc7c8d 27
f0c10df2 28 Bool_t fCleanBeforeCopy; // clean bit map before copying
a7477843 29 Int_t fMCLabelShift; // if MC label > fMCLabelShift, MC label -= fMCLabelShift
7cd832c7 30 AliParticleContainer *fMCParticleContainer; // MC particle container
8afc7c8d 31
32 private:
33 AliJetConstituentTagCopier(const AliJetConstituentTagCopier&); // not implemented
34 AliJetConstituentTagCopier &operator=(const AliJetConstituentTagCopier&); // not implemented
35
7cd832c7 36 ClassDef(AliJetConstituentTagCopier, 4) // Copy tags from particle level constituent to detector level
8afc7c8d 37};
38
39#endif