CMS 3D CMS Logo

EcalSRPHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_SRP_HANDLER_H
2 #define ECAL_SRP_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
24 
27 
31 
33 
34 namespace edm {
35  class ParameterSet;
36  class Event;
37  class EventSetup;
38 } // namespace edm
39 
40 namespace popcon {
41  class EcalSRPHandler : public popcon::PopConSourceHandler<EcalSRSettings> {
42  public:
44  ~EcalSRPHandler() override;
45 
46  void getNewObjects() override;
47  std::string id() const override { return m_name; }
49  void importDccConfigFile(EcalSRSettings& sr, const std::string& filename, bool debug = false);
50  void PrintPayload(EcalSRSettings& sr, std::ofstream& fout);
52 
53  private:
54  unsigned long m_firstRun;
55  unsigned long m_lastRun;
64  bool m_debug;
66  };
67 } // namespace popcon
68 #endif
unsigned long m_firstRun
EcalCondDBInterface * econn
EcalSRPHandler(edm::ParameterSet const &)
unsigned long m_lastRun
void ChangePayload(EcalSRSettings &sref, EcalSRSettings &sr)
std::string id() const override
void getNewObjects() override
#define debug
Definition: HDRShower.cc:19
void importDccConfigFile(EcalSRSettings &sr, const std::string &filename, bool debug=false)
HLT enums.
void PrintPayload(EcalSRSettings &sr, std::ofstream &fout)