CMS 3D CMS Logo

EcalTPGWeightIdMapHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_WEIGHTIDMAP_HANDLER_H
2 #define ECAL_TPG_WEIGHTIDMAP_HANDLER_H
3 
4 #include <ctime>
5 #include <iostream>
6 #include <map>
7 #include <string>
8 #include <typeinfo>
9 #include <vector>
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  class EcalTPGWeightIdMapHandler : public popcon::PopConSourceHandler<EcalTPGWeightIdMap> {
48  public:
50  ~EcalTPGWeightIdMapHandler() override;
51 
52  void getNewObjects() override;
53 
54  std::string id() const override { return m_name;}
55 
56  void readtxtFile() ;
57  void readxmlFile();
58 
59  void readFromFile(const char* inputFile) ;
60  void writeFile(const char* inputFile);
61 
63 
64  private:
66  std::ostringstream streamOut;
67  streamOut << value;
68  return streamOut.str();
69  }
70 
72 
73  unsigned int m_firstRun ;
74  unsigned int m_lastRun ;
75 
83  unsigned int m_runnr;
89  unsigned int m_i_run_number;
91 
92  };
93 }
94 #endif
95 
const EcalTPGWeightIdMap * myweightIdMap
Definition: value.py:1
HLT enums.