AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
32 class AliEmcalSetupTask : public AliAnalysisTaskSE {
33  public:
35  AliEmcalSetupTask(const char *name);
36  virtual ~AliEmcalSetupTask();
37 
42  void SetGeoPath(const char *n) { fGeoPath = n; }
47  void SetNoOCDB(Bool_t b) { fNoOCDB = b; }
52  void SetOadbPath(const char *n) { fOadbPath = n; }
57  void SetOcdbPath(const char *n) { fOcdbPath = n; }
62  void SetObjs(const char *n) { fObjs = n; }
63 
64  protected:
65  void ConnectInputData(Option_t *option = "");
66  void UserExec(Option_t *option);
67  void Setup(Int_t runno);
68  void Terminate(Option_t *option);
69 
70  TString fOcdbPath;
71  TString fOadbPath;
72  TString fGeoPath;
73  TString fObjs;
74  Bool_t fNoOCDB;
75  Bool_t fIsInit;
76  TString fLocalOcdb;
77  TString fLocalOcdbStor;
78 
79  private:
80  AliEmcalSetupTask(const AliEmcalSetupTask&); // not implemented
81  AliEmcalSetupTask &operator=(const AliEmcalSetupTask&); // not implemented
82 
84  ClassDef(AliEmcalSetupTask, 6); // Class to setup geometry for EMCal
86 };
87 
88 #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)