AliPhysics  8b695ca (8b695ca)
AliEmcalParticleMaker.h
Go to the documentation of this file.
1 #ifndef ALIEMCALPARTICLEMAKER_H
2 #define ALIEMCALPARTICLEMAKER_H
3 
4 // $Id$
5 
6 class TClonesArray;
7 
8 #include "AliAnalysisTaskEmcal.h"
9 
11  public:
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;
28  TClonesArray *fCaloClustersOut;
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
void ExecOnce()
Perform steps needed to initialize the analysis.
Base task in the EMCAL framework.
TClonesArray * fCaloClustersOut
track array out
const char * GetTracksOutName() const
void SetTracksOutName(const char *name)
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
const char * GetClusOutName() const
void SetClusOutName(const char *name)
bool Bool_t
Definition: External.C:53
AliEmcalParticleMaker & operator=(const AliEmcalParticleMaker &)