AliPhysics  c7b8e89 (c7b8e89)
AliCentralCorrectionManager.h
Go to the documentation of this file.
1 //
2 // Manager (singleton) of corrections
3 //
4 #ifndef ALICENTRALCORRECTIONMANAGER_H
5 #define ALICENTRALCORRECTIONMANAGER_H
6 
17 #include <TString.h>
18 class TBrowser;
21 class TAxis;
22 
33 {
34 private:
38  enum EId {
41  };
42 public:
46  enum ECorrection {
47  kSecondaryMap = 0x01,
48  kAcceptance = 0x02,
51  };
67  const Char_t* GetName() const { return "centralCorrections"; }
73  void SetSecondaryMapPath(const char* d)
74  {
76  }
82  void SetAcceptancePath(const char* d)
83  {
85  }
100  Bool_t Init(ULong_t runNumber,
101  UShort_t collisionSystem,
102  UShort_t cmsNN,
103  Short_t field,
104  Bool_t mc=false,
105  Bool_t satelliteCollisions=false,
106  UInt_t what=kDefault,
107  Bool_t force=false);
122  Bool_t Init(ULong_t runNumber,
123  const char* collisionSystem,
124  Float_t cmsNN,
125  Float_t field,
126  Bool_t mc=false,
127  Bool_t satelliteCollisions=false,
128  UInt_t what=kStandard,
129  Bool_t force=false);
135  const TAxis* GetVertexAxis() const;
141  const TAxis* GetEtaAxis() const { return 0; }
155 private:
163 
166 
171  static const Char_t* fgkSecondaryMapSkel; // Name of correction object
172  static const Char_t* fgkAcceptanceSkel; // Name of correction object
173  /*
174  * @}
175  */
176  ClassDef(AliCentralCorrectionManager,2) // Manager of corrections
177 };
178 
179 #endif
180 // Local Variables:
181 // mode: C++
182 // End:
183 
Base class for correction managers.
const AliCentralCorrAcceptance * GetAcceptance() const
static AliCentralCorrectionManager * fgInstance
char Char_t
Definition: External.C:18
Bool_t Init(ULong_t runNumber, UShort_t collisionSystem, UShort_t cmsNN, Short_t field, Bool_t mc=false, Bool_t satelliteCollisions=false, UInt_t what=kDefault, Bool_t force=false)
void SetCorrectionFile(Int_t id, const TString &fileName) const
unsigned int UInt_t
Definition: External.C:33
float Float_t
Definition: External.C:68
unsigned long ULong_t
Definition: External.C:38
short Short_t
Definition: External.C:23
const AliCentralCorrSecondaryMap * GetSecondaryMap() const
unsigned short UShort_t
Definition: External.C:28
bool Bool_t
Definition: External.C:53
static AliCentralCorrectionManager & Instance()