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 <ctime>
10 
13 
24 
27 
31 
35 
36 namespace edm {
37  class ParameterSet;
38  class Event;
39  class EventSetup;
40 } // namespace edm
41 
42 namespace popcon {
43 
44  class EcalTPGPedestalsHandler : public popcon::PopConSourceHandler<EcalTPGPedestals> {
46  std::ostringstream streamOut;
47  streamOut << value;
48  return streamOut.str();
49  }
50 
51  public:
53  ~EcalTPGPedestalsHandler() override;
54  void getNewObjects() override;
55 
56  std::string id() const override { return m_name; }
57 
58  void readFromFile(const char* inputFile);
59  void writeFile(const char* inputFile);
60 
62 
63  private:
65 
66  unsigned int m_firstRun;
67  unsigned int m_lastRun;
68 
76  unsigned int m_runnr;
80  unsigned int m_i_run_number;
81  int m_i_ped;
82  };
83 } // namespace popcon
84 #endif
void writeFile(const char *inputFile)
const EcalTPGPedestals * mypedestals
Definition: value.py:1
std::string to_string(char value[])
void readFromFile(const char *inputFile)
HLT enums.
EcalTPGPedestalsHandler(edm::ParameterSet const &)
std::string id() const override