CMS 3D CMS Logo

EcalTPGWeightGroupHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_WEIGHTGROUP_HANDLER_H
2 #define ECAL_TPG_WEIGHTGROUP_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 
40 
41 namespace edm {
42  class ParameterSet;
43  class Event;
44  class EventSetup;
45 }
46 
47 namespace popcon {
48 
49  class EcalTPGWeightGroupHandler : public popcon::PopConSourceHandler<EcalTPGWeightGroup> {
50  public:
52  ~EcalTPGWeightGroupHandler() override;
53 
54  std::map<std::string, int> makeStripId();
55 
56  void getNewObjects() override;
57 
58  std::string id() const override { return m_name;}
59 
60  void readtxtFile() ;
61  void readxmlFile();
62 
63  void readFromFile(const char* inputFile) ;
64  void writeFile(const char* inputFile);
65 
67 
68  private:
70  std::ostringstream streamOut;
71  streamOut << value;
72  return streamOut.str();
73  }
74 
75  unsigned int m_firstRun ;
76  unsigned int m_lastRun ;
77 
78  std::map<std::string, int> correspId;
79 
88  unsigned int m_runnr;
94  unsigned int m_i_run_number;
96  };
97 }
98 #endif
99 
Definition: value.py:1
HLT enums.
const EcalElectronicsMapping * ecalMapping_
std::map< std::string, int > correspId