CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTestDevDB.h
Go to the documentation of this file.
1 #ifndef CondTools_Ecal_EcalTestDevDB_h
2 #define CondTools_Ecal_EcalTestDevDB_h
3 
6 
8 
30 
31 #include <string>
32 #include <map>
33 #include <memory>
34 
35 namespace edm {
36  class ParameterSet;
37  class Event;
38  class EventSetup;
39 } // namespace edm
40 
42 public:
43  explicit EcalTestDevDB(const edm::ParameterSet& iConfig);
44  ~EcalTestDevDB() override;
45 
46  void analyze(const edm::Event& evt, const edm::EventSetup& evtSetup) override;
47 
48  std::shared_ptr<EcalPedestals> generateEcalPedestals();
49  std::shared_ptr<EcalADCToGeVConstant> generateEcalADCToGeVConstant();
50  std::shared_ptr<EcalIntercalibConstants> generateEcalIntercalibConstants();
51  std::shared_ptr<EcalLinearCorrections> generateEcalLinearCorrections();
52  std::shared_ptr<EcalGainRatios> generateEcalGainRatios();
53  std::shared_ptr<EcalWeightXtalGroups> generateEcalWeightXtalGroups();
54  std::shared_ptr<EcalTBWeights> generateEcalTBWeights();
55  std::shared_ptr<EcalLaserAPDPNRatios> generateEcalLaserAPDPNRatios(uint32_t i_run);
56  std::shared_ptr<EcalLaserAlphas> generateEcalLaserAlphas();
57  std::shared_ptr<EcalLaserAPDPNRatiosRef> generateEcalLaserAPDPNRatiosRef();
58 
59 private:
61  std::map<std::string, unsigned long long> m_cacheIDs;
62  std::map<std::string, std::string> m_records;
63  unsigned long m_firstRun;
64  unsigned long m_lastRun;
65  unsigned int m_interval;
66 };
67 
68 #endif
std::shared_ptr< EcalLaserAPDPNRatiosRef > generateEcalLaserAPDPNRatiosRef()
std::shared_ptr< EcalLinearCorrections > generateEcalLinearCorrections()
std::shared_ptr< EcalLaserAlphas > generateEcalLaserAlphas()
std::map< std::string, std::string > m_records
Definition: EcalTestDevDB.h:62
std::shared_ptr< EcalLaserAPDPNRatios > generateEcalLaserAPDPNRatios(uint32_t i_run)
std::shared_ptr< EcalTBWeights > generateEcalTBWeights()
unsigned long m_lastRun
Definition: EcalTestDevDB.h:64
std::shared_ptr< EcalGainRatios > generateEcalGainRatios()
EcalTestDevDB(const edm::ParameterSet &iConfig)
std::shared_ptr< EcalPedestals > generateEcalPedestals()
~EcalTestDevDB() override
std::string m_timetype
Definition: EcalTestDevDB.h:60
unsigned int m_interval
Definition: EcalTestDevDB.h:65
std::shared_ptr< EcalIntercalibConstants > generateEcalIntercalibConstants()
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
unsigned long m_firstRun
Definition: EcalTestDevDB.h:63
std::shared_ptr< EcalADCToGeVConstant > generateEcalADCToGeVConstant()
std::map< std::string, unsigned long long > m_cacheIDs
Definition: EcalTestDevDB.h:61
std::shared_ptr< EcalWeightXtalGroups > generateEcalWeightXtalGroups()