CMS 3D CMS Logo

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