CMS 3D CMS Logo

EcalTPGLinConstHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_LINCONST_HANDLER_H
2 #define ECAL_TPG_LINCONST_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
14 
25 
26 
27 
30 
34 
38 
39 namespace edm {
40  class ParameterSet;
41  class Event;
42  class EventSetup;
43 }
44 
45 namespace popcon
46 {
47 
48 
49  class EcalTPGLinConstHandler : public popcon::PopConSourceHandler<EcalTPGLinearizationConst>
50  {
51 
52  public:
54  ~EcalTPGLinConstHandler() override;
55 
56  void getNewObjects() override;
57 
58  std::string id() const override { return m_name;}
59 
60  void readFromFile(const char* inputFile) ;
61  void writeFile(const char* inputFile);
62 
63 
65 
66  private:
68  std::ostringstream streamOut;
69  streamOut << value;
70  return streamOut.str();
71  }
72 
74 
75  unsigned int m_firstRun ;
76  unsigned int m_lastRun ;
77 
85  unsigned int m_runnr;
89  unsigned int m_i_run_number;
90  int m_i_lin;
91 
92  };
93 }
94 #endif
95 
std::string to_string(char value[])
const EcalTPGLinearizationConst * m_linearizationConst
Definition: value.py:1
std::string id() const override
HLT enums.