1 #ifndef ALIEMCALSETUPTASK_H
2 #define ALIEMCALSETUPTASK_H
11 #include "AliAnalysisTaskSE.h"
13 class AliEmcalSetupTask : public AliAnalysisTaskSE {
16 AliEmcalSetupTask(const char *name);
17 virtual ~AliEmcalSetupTask();
19 void SetGeoPath(const char *n) { fGeoPath = n; }
20 void SetNoOCDB(Bool_t b) { fNoOCDB = b; }
21 void SetOadbPath(const char *n) { fOadbPath = n; }
22 void SetOcdbPath(const char *n) { fOcdbPath = n; }
23 void SetObjs(const char *n) { fObjs = n; }
26 void ConnectInputData(Option_t *option = "");
27 void UserExec(Option_t *option);
28 void Setup(Int_t runno);
29 void Terminate(Option_t *option);
31 TString fOcdbPath; // path to ocdb (def=uselocal)
32 TString fOadbPath; // path to oadb
33 TString fGeoPath; // path to geometry
34 TString fObjs; // string of objects for alignment to apply
35 Bool_t fNoOCDB; // if true then do not mess with OCDB
36 Bool_t fIsInit; //!=true then already initialized
37 TString fLocalOcdb; //!directory path to local ocdb
38 TString fLocalOcdbStor; //!storage path to local ocdb
41 AliEmcalSetupTask(const AliEmcalSetupTask&); // not implemented
42 AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
44 ClassDef(AliEmcalSetupTask, 6); // Class to setup geometry for EMCal