AliPhysics  ad6828d (ad6828d)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalDownscaleFactorsOCDB.h
Go to the documentation of this file.
1 #ifndef ALIEMCALDOWNSCALEFACTORSOCDB_H
2 #define ALIEMCALDOWNSCALEFACTORSOCDB_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <map>
7 #include <vector>
8 #include <TObject.h>
9 #include <TString.h>
10 
38 public:
39 
46 
51 
57  void SetRun(int runnumber);
58 
65 
70  std::vector<TString> GetTriggerClasses() const;
71 
76  Int_t GetCurrentRun() const { return fCurrentRun; }
77 
78 private:
80  std::map<TString, Double_t> fDownscaleFactors;
82 
86 
88  ClassDef(AliEmcalDownscaleFactorsOCDB, 1);
90 };
91 
92 #endif /* ALIEMCALDOWNSCALEFACTORSOCDB_H */
double Double_t
Definition: External.C:58
static AliEmcalDownscaleFactorsOCDB * Instance()
Int_t fCurrentRun
Current run number (for which downscale factors are loaded)
Double_t GetDownscaleFactorForTriggerClass(const TString &trigger) const
int Int_t
Definition: External.C:63
std::vector< TString > GetTriggerClasses() const
AliEmcalDownscaleFactorsOCDB & operator=(const AliEmcalDownscaleFactorsOCDB &)
std::map< TString, Double_t > fDownscaleFactors
Downscale factors for the various trigger classes for the current run.
Handler for downscale factors for various triggers obtained from the OCDB.
static AliEmcalDownscaleFactorsOCDB * fgDownscaleFactors
Singleton object.