]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/EMCAL/AliEmcalDebugTask.h
Move GenerateFixedBinArray to AliAnalysisTaskEmcal and change data type from Float...
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalDebugTask.h
1 #ifndef ALIEMCALDEBUGTASK_H
2 #define ALIEMCALDEBUGTASK_H
3
4 // $Id$
5
6 #include "AliAnalysisTaskSE.h"
7
8 class AliEmcalDebugTask : public AliAnalysisTaskSE {
9  public:
10   AliEmcalDebugTask();
11   AliEmcalDebugTask(const char *name);
12   virtual ~AliEmcalDebugTask();
13
14   void        SetId(UInt_t id)           { fId       = id; }
15   void        SetFileTest(const char *n) { fFileTest =  n; }
16   void        SetPrintEnv(Bool_t b)      { fPrintEnv = b;  }
17
18  protected:
19   void        UserCreateOutputObjects();
20   void        UserExec(Option_t *option);
21
22   UInt_t      fId;         //id to be stored in the output file
23   TString     fFileTest;   //path name test 
24   Bool_t      fPrintEnv;   //print env if true
25   TList      *fOutput;     //!output list
26   TString     fFileName;   //!current file name
27   UInt_t      fRand;       //!random number
28
29  private:
30   AliEmcalDebugTask(const AliEmcalDebugTask&);            // not implemented
31   AliEmcalDebugTask &operator=(const AliEmcalDebugTask&); // not implemented
32
33   ClassDef(AliEmcalDebugTask, 1); // Class to be able to run on skimmed ESDs
34 };
35
36 #endif