ROOT logo
#ifndef ALIJETCONSTITUENTTAGCOPIER_H
#define ALIJETCONSTITUENTTAGCOPIER_H

// $Id$

#include "AliAnalysisTaskEmcal.h"

class TString;
class AliNamedArrayI;
class AliParticleContainer;
class AliClusterContainer;

class AliJetConstituentTagCopier : public AliAnalysisTaskEmcal {
 public:
  AliJetConstituentTagCopier();
  AliJetConstituentTagCopier(const char *name);
  virtual ~AliJetConstituentTagCopier();

  void                        ConnectMCParticleContainerID(AliParticleContainer *cont)  { fMCParticleContainer   = cont      ; }
  void                        SetCleanBeforeCopy(Bool_t c)                              { fCleanBeforeCopy       = c         ; }
  void                        SetMCLabelShift(Int_t s)                                  { fMCLabelShift          = s         ; }

 protected:
  Bool_t                      Run();
  void                        DoClusterLoop(AliClusterContainer *cont);
  void                        DoParticleLoop(AliParticleContainer *cont);

  Bool_t                      fCleanBeforeCopy;                       // clean bit map before copying
  Int_t                       fMCLabelShift;                          // if MC label > fMCLabelShift, MC label -= fMCLabelShift
  AliParticleContainer       *fMCParticleContainer;                   // MC particle container

 private:
  AliJetConstituentTagCopier(const AliJetConstituentTagCopier&);            // not implemented
  AliJetConstituentTagCopier &operator=(const AliJetConstituentTagCopier&); // not implemented

  ClassDef(AliJetConstituentTagCopier, 4) // Copy tags from particle level constituent to detector level
};

#endif
 AliJetConstituentTagCopier.h:1
 AliJetConstituentTagCopier.h:2
 AliJetConstituentTagCopier.h:3
 AliJetConstituentTagCopier.h:4
 AliJetConstituentTagCopier.h:5
 AliJetConstituentTagCopier.h:6
 AliJetConstituentTagCopier.h:7
 AliJetConstituentTagCopier.h:8
 AliJetConstituentTagCopier.h:9
 AliJetConstituentTagCopier.h:10
 AliJetConstituentTagCopier.h:11
 AliJetConstituentTagCopier.h:12
 AliJetConstituentTagCopier.h:13
 AliJetConstituentTagCopier.h:14
 AliJetConstituentTagCopier.h:15
 AliJetConstituentTagCopier.h:16
 AliJetConstituentTagCopier.h:17
 AliJetConstituentTagCopier.h:18
 AliJetConstituentTagCopier.h:19
 AliJetConstituentTagCopier.h:20
 AliJetConstituentTagCopier.h:21
 AliJetConstituentTagCopier.h:22
 AliJetConstituentTagCopier.h:23
 AliJetConstituentTagCopier.h:24
 AliJetConstituentTagCopier.h:25
 AliJetConstituentTagCopier.h:26
 AliJetConstituentTagCopier.h:27
 AliJetConstituentTagCopier.h:28
 AliJetConstituentTagCopier.h:29
 AliJetConstituentTagCopier.h:30
 AliJetConstituentTagCopier.h:31
 AliJetConstituentTagCopier.h:32
 AliJetConstituentTagCopier.h:33
 AliJetConstituentTagCopier.h:34
 AliJetConstituentTagCopier.h:35
 AliJetConstituentTagCopier.h:36
 AliJetConstituentTagCopier.h:37
 AliJetConstituentTagCopier.h:38
 AliJetConstituentTagCopier.h:39