]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/EMCAL/AliEmcalSetupTask.h
fix for mem leak
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalSetupTask.h
1 #ifndef ALIEMCALSETUPTASK_H
2 #define ALIEMCALSETUPTASK_H
3
4 // $Id$
5
6 class TClonesArray;
7 class AliESDEvent;
8 class AliESDtrack;
9 class AliESDtrackCuts;
10
11 #include "AliAnalysisTaskSE.h"
12
13 class AliEmcalSetupTask : public AliAnalysisTaskSE {
14  public:
15   AliEmcalSetupTask();
16   AliEmcalSetupTask(const char *name);
17   virtual ~AliEmcalSetupTask();
18
19   void UserExec(Option_t *option);
20   void SetGeoPath(const char *n)  { fGeoPath  = n; }
21   void SetOadbPath(const char *n) { fOadbPath = n; }
22   void SetOcdbPath(const char *n) { fOcdbPath = n; }
23
24  protected:
25   TString            fOcdbPath;        // path to ocdb (def=none)
26   TString            fOadbPath;        // path to oadb
27   TString            fGeoPath;         // path to geometry
28   Bool_t             fIsInit;          //!=true then already initialized 
29
30  private:
31   AliEmcalSetupTask(const AliEmcalSetupTask&);            // not implemented
32   AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
33
34   ClassDef(AliEmcalSetupTask, 2); // Class to setup geometry for EMCal
35 };
36
37 #endif