CMS 3D CMS Logo

EcalTPGOddWeightGroupHandler.h
Go to the documentation of this file.
1 #ifndef CONDTOOLS_ECAL_ECALTPGODDWEIGHTGROUPHANDLER_H
2 #define CONDTOOLS_ECAL_ECALTPGODDWEIGHTGROUPHANDLER_H
3 
4 #include <ctime>
5 #include <iostream>
6 #include <map>
7 #include <string>
8 #include <typeinfo>
9 #include <vector>
10 
13 
24 
27 
31 
35 
37 
38 namespace edm {
39  class ParameterSet;
40  class Event;
41  class EventSetup;
42 } // namespace edm
43 
44 namespace popcon {
45 
46  class EcalTPGOddWeightGroupHandler : public popcon::PopConSourceHandler<EcalTPGOddWeightGroup> {
47  public:
50 
51  std::map<std::string, int> makeStripId();
52 
53  void getNewObjects() override;
54 
55  std::string id() const override { return m_name; }
56 
57  void readtxtFile();
58  void readxmlFile();
59 
60  void readFromFile(const char* inputFile);
61  void writeFile(const char* inputFile);
62 
64 
65  private:
67  std::ostringstream streamOut;
68  streamOut << value;
69  return streamOut.str();
70  }
71 
72  unsigned int m_firstRun;
73  unsigned int m_lastRun;
74 
75  std::map<std::string, int> correspId;
76 
85  unsigned int m_runnr;
91  unsigned int m_i_run_number;
93  };
94 } // namespace popcon
95 #endif
Definition: value.py:1
HLT enums.
std::map< std::string, int > makeStripId()
EcalTPGOddWeightGroupHandler(edm::ParameterSet const &)