]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGJE/EMCALJetTasks/AliJetConstituentTagCopier.h
DiJet analysis updates (Marta)
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / AliJetConstituentTagCopier.h
CommitLineData
8afc7c8d 1#ifndef ALIJETCONSTITUENTTAGCOPIER_H
2#define ALIJETCONSTITUENTTAGCOPIER_H
3
4// $Id: AliJetConstituentTagCopier.h $
5
6#include "AliAnalysisTaskEmcal.h"
7
8class TClonesArray;
9class TString;
5be3857d 10class AliNamedArrayI;
8afc7c8d 11
12class 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