CMS 3D CMS Logo

EcalTPGPedestalsHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_PEDESTALS_HANDLER_H
2 #define ECAL_TPG_PEDESTALS_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <time.h>
10 
13 
14 
25 
26 
29 
33 
37 
38 namespace edm {
39  class ParameterSet;
40  class Event;
41  class EventSetup;
42 }
43 
44 namespace popcon
45 {
46 
47 
48  class EcalTPGPedestalsHandler : public popcon::PopConSourceHandler<EcalTPGPedestals>
49  {
50 
52  std::ostringstream streamOut;
53  streamOut << value;
54  return streamOut.str();
55  }
56 
57  public:
58 
61  void getNewObjects();
62 
63  std::string id() const { return m_name;}
64 
65  void readFromFile(const char* inputFile) ;
66  void writeFile(const char* inputFile);
67 
68 
70 
71  private:
73 
74  unsigned int m_firstRun ;
75  unsigned int m_lastRun ;
76 
84  unsigned int m_runnr;
88  unsigned int m_i_run_number;
89  int m_i_ped;
90 
91  };
92 }
93 #endif
94 
const EcalTPGPedestals * mypedestals
Definition: value.py:1
std::string to_string(char value[])
HLT enums.