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