CMS 3D CMS Logo

EcalTPGLutGroupHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_LUTGROUP_HANDLER_H
2 #define ECAL_TPG_LUTGROUP_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 
28 
32 
36 
37 
39 
40 namespace edm {
41  class ParameterSet;
42  class Event;
43  class EventSetup;
44 }
45 
46 //class EcalElectronicsMapping;
47 
48 namespace popcon
49 {
50 
51 
52  class EcalTPGLutGroupHandler : public popcon::PopConSourceHandler<EcalTPGLutGroup>
53  {
54 
55  public:
57  ~EcalTPGLutGroupHandler() override;
58 
59  std::map<std::string, int> makeTTEBDetId();
60  std::map<std::string, int> makeTTEEDetId();
61 
62  void getNewObjects() override;
63 
64  std::string id() const override { return m_name;}
65 
66  void readFromFile(const char* inputFile) ;
67  void writeFile(const char* inputFile);
68 
70 
71  private:
73  std::ostringstream streamOut;
74  streamOut << value;
75  return streamOut.str();
76  }
77 
79  unsigned int m_firstRun ;
80  unsigned int m_lastRun ;
81  std::map <std::string, int> mapDetEBId;
82  std::map <std::string, int> mapDetEEId;
83 
85 
93  unsigned int m_runnr;
97  unsigned int m_i_run_number;
99 
100  };
101 }
102 #endif
103 
const EcalElectronicsMapping * ecalMapping_
Definition: value.py:1
std::string to_string(char value[])
std::map< std::string, int > mapDetEEId
HLT enums.
std::string id() const override
std::map< std::string, int > mapDetEBId
const EcalTPGLutGroup * mypedestals