]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/EMCAL/AliEmcalSetupTask.h
update from pr task : sjena
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalSetupTask.h
CommitLineData
6ea93b32 1#ifndef ALIEMCALSETUPTASK_H
2#define ALIEMCALSETUPTASK_H
3
4// $Id$
5
6class TClonesArray;
7class AliESDEvent;
8class AliESDtrack;
9class AliESDtrackCuts;
10
11#include "AliAnalysisTaskSE.h"
12
13class AliEmcalSetupTask : public AliAnalysisTaskSE {
14 public:
15 AliEmcalSetupTask();
16 AliEmcalSetupTask(const char *name);
17 virtual ~AliEmcalSetupTask();
18
810787c3 19 void SetGeoPath(const char *n) { fGeoPath = n; }
6b6a028a 20 void SetNoOCDB(Bool_t b) { fNoOCDB = b; }
810787c3 21 void SetOadbPath(const char *n) { fOadbPath = n; }
22 void SetOcdbPath(const char *n) { fOcdbPath = n; }
23 void SetObjs(const char *n) { fObjs = n; }
6ea93b32 24
25 protected:
810787c3 26 void ConnectInputData(Option_t *option = "");
27 void UserExec(Option_t *option);
28 void Setup(Int_t runno);
29 void Terminate(Option_t *option);
30
012dab22 31 TString fOcdbPath; // path to ocdb (def=uselocal)
6ea93b32 32 TString fOadbPath; // path to oadb
277be17b 33 TString fGeoPath; // path to geometry
e8481053 34 TString fObjs; // string of objects for alignment to apply
6b6a028a 35 Bool_t fNoOCDB; // if true then do not mess with OCDB
6ea93b32 36 Bool_t fIsInit; //!=true then already initialized
810787c3 37 TString fLocalOcdb; //!directory path to local ocdb
38 TString fLocalOcdbStor; //!storage path to local ocdb
6ea93b32 39
40 private:
41 AliEmcalSetupTask(const AliEmcalSetupTask&); // not implemented
42 AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
43
6b6a028a 44 ClassDef(AliEmcalSetupTask, 6); // Class to setup geometry for EMCal
6ea93b32 45};
46
47#endif