AliPhysics  fde8a9f (fde8a9f)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  };
64 
74  virtual Bool_t Append(const TString& addition,
75  const TString& destination="") const;
76 
80  const Char_t* GetName() const { return "centralCorrections"; }
86  void SetSecondaryMapPath(const char* d)
87  {
89  }
95  void SetAcceptancePath(const char* d)
96  {
98  }
113  Bool_t Init(ULong_t runNumber,
114  UShort_t collisionSystem,
115  UShort_t cmsNN,
116  Short_t field,
117  Bool_t mc=false,
118  Bool_t satelliteCollisions=false,
119  UInt_t what=kDefault,
120  Bool_t force=false);
135  Bool_t Init(ULong_t runNumber,
136  const char* collisionSystem,
137  Float_t cmsNN,
138  Float_t field,
139  Bool_t mc=false,
140  Bool_t satelliteCollisions=false,
141  UInt_t what=kStandard,
142  Bool_t force=false);
148  const TAxis* GetVertexAxis() const;
154  const TAxis* GetEtaAxis() const { return 0; }
168 private:
176 
179 
184  static const Char_t* fgkSecondaryMapSkel; // Name of correction object
185  static const Char_t* fgkAcceptanceSkel; // Name of correction object
186  /*
187  * @}
188  */
189  ClassDef(AliCentralCorrectionManager,2) // Manager of corrections
190 };
191 
192 #endif
193 // Local Variables:
194 // mode: C++
195 // End:
196 
Base class for correction managers.
const AliCentralCorrAcceptance * GetAcceptance() const
static AliCentralCorrectionManager * fgInstance
char Char_t
Definition: External.C:18
virtual Bool_t Append(const TString &addition, const TString &destination="") const
ClassDef(AliCorrectionManagerBase, 2)
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()