CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <time.h>
10 
13 
24 
25 
28 
32 
34 
35 
36 namespace edm {
37  class ParameterSet;
38  class Event;
39  class EventSetup;
40 }
41 
42 namespace popcon {
43  class EcalSRPHandler : public popcon::PopConSourceHandler<EcalSRSettings>
44  {
45  public:
47  ~EcalSRPHandler();
48 
49  void getNewObjects();
50  std::string id() const { return m_name;}
52  void importDccConfigFile(EcalSRSettings& sr, const std::string& filename, bool debug = false);
53  void PrintPayload(EcalSRSettings& sr, std::ofstream& fout);
55 
56  private:
57  unsigned long m_firstRun ;
58  unsigned long m_lastRun ;
67  bool m_debug;
69  };
70 }
71 #endif
72 
unsigned long m_firstRun
EcalCondDBInterface * econn
EcalSRPHandler(edm::ParameterSet const &)
unsigned long m_lastRun
void ChangePayload(EcalSRSettings &sref, EcalSRSettings &sr)
std::string id() const
void importDccConfigFile(EcalSRSettings &sr, const std::string &filename, bool debug=false)
tuple filename
Definition: lut2db_cfg.py:20
#define debug
Definition: MEtoEDMFormat.h:34
void PrintPayload(EcalSRSettings &sr, std::ofstream &fout)