AliPhysics  v5-06-40-01 (42bb456)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalSetupTask.h
Go to the documentation of this file.
1 
6 #ifndef ALIEMCALSETUPTASK_H
7 #define ALIEMCALSETUPTASK_H
8 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
9  * See cxx source for full Copyright notice */
10 
11 class TClonesArray;
12 class AliESDEvent;
13 class AliESDtrack;
14 class AliESDtrackCuts;
15 
16 #include "AliAnalysisTaskSE.h"
17 
31 class AliEmcalSetupTask : public AliAnalysisTaskSE {
32  public:
34  AliEmcalSetupTask(const char *name);
35  virtual ~AliEmcalSetupTask();
36 
41  void SetGeoPath(const char *n) { fGeoPath = n; }
46  void SetNoOCDB(Bool_t b) { fNoOCDB = b; }
51  void SetOadbPath(const char *n) { fOadbPath = n; }
56  void SetOcdbPath(const char *n) { fOcdbPath = n; }
61  void SetObjs(const char *n) { fObjs = n; }
62 
63  protected:
64  void ConnectInputData(Option_t *option = "");
65  void UserExec(Option_t *option);
66  void Setup(Int_t runno);
67  void Terminate(Option_t *option);
68 
69  TString fOcdbPath;
70  TString fOadbPath;
71  TString fGeoPath;
72  TString fObjs;
73  Bool_t fNoOCDB;
74  Bool_t fIsInit;
75  TString fLocalOcdb;
76  TString fLocalOcdbStor;
77 
78  private:
79  AliEmcalSetupTask(const AliEmcalSetupTask&); // not implemented
80  AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
81 
83  ClassDef(AliEmcalSetupTask, 6); // Class to setup geometry for EMCal
85 };
86 
87 #endif
void SetNoOCDB(Bool_t b)
Bool_t fIsInit
!=true then already initialized
TString fObjs
string of objects for alignment to apply
void SetOcdbPath(const char *n)
TString fGeoPath
path to geometry
void SetGeoPath(const char *n)
TString fOcdbPath
path to ocdb (def=uselocal)
TString fLocalOcdbStor
!storage path to local ocdb
void ConnectInputData(Option_t *option="")
void Terminate(Option_t *option)
void Setup(Int_t runno)
Bool_t fNoOCDB
if true then do not mess with OCDB
TString fOadbPath
path to oadb
Simple task setting up connections to databases for the EMCAL train.
void UserExec(Option_t *option)
void SetOadbPath(const char *n)
AliEmcalSetupTask & operator=(const AliEmcalSetupTask &)
TString fLocalOcdb
!directory path to local ocdb
void SetObjs(const char *n)