]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/EMCAL/AliEmcalParticleMaker.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalParticleMaker.h
1 #ifndef ALIEMCALPARTICLEMAKER_H
2 #define ALIEMCALPARTICLEMAKER_H
3
4 // $Id$
5
6 class TClonesArray;
7
8 #include "AliAnalysisTaskEmcal.h"
9
10 class AliEmcalParticleMaker : public AliAnalysisTaskEmcal {
11  public:
12   AliEmcalParticleMaker();
13   AliEmcalParticleMaker(const char *name);
14   virtual ~AliEmcalParticleMaker();
15
16   const char *       GetClusOutName()   const           { return fCaloOutName;        }
17   const char *       GetTracksOutName() const           { return fTracksOutName;      }
18   void               SetTracksOutName(const char *name) { fTracksOutName      = name; }
19   void               SetClusOutName(const char *name)   { fCaloOutName        = name; }
20
21  protected:  
22   void               ExecOnce();
23   Bool_t             Run();
24
25   TString            fTracksOutName;    // name of output track array
26   TString            fCaloOutName;      // name of output clusters array
27   TClonesArray      *fTracksOut;        //!track array out
28   TClonesArray      *fCaloClustersOut;  //!track clusters out
29
30  private:
31   AliEmcalParticleMaker(const AliEmcalParticleMaker&);            // not implemented
32   AliEmcalParticleMaker &operator=(const AliEmcalParticleMaker&); // not implemented
33
34   ClassDef(AliEmcalParticleMaker, 2); // Task to make array of EMCAL particle
35 };
36 #endif