CMS 3D CMS Logo

EcalTPGFineGrainStripEEHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_FINEGRAINSTRIPEE_HANDLER_H
2 #define ECAL_TPG_FINEGRAINSTRIPEE_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 //class EcalElectronicsMapping;
37 
38 namespace edm {
39  class ParameterSet;
40  class Event;
41  class EventSetup;
42 } // namespace edm
43 
44 namespace popcon {
45 
46  class EcalTPGFineGrainStripEEHandler : public popcon::PopConSourceHandler<EcalTPGFineGrainStripEE> {
47  public:
50 
51  std::map<std::string, int> makeStripIdEB();
52  std::map<std::string, int> makeStripIdEE();
53 
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  std::ostringstream streamOut;
66  streamOut << value;
67  return streamOut.str();
68  }
69 
70  unsigned int m_firstRun;
71  unsigned int m_lastRun;
72  std::map<std::string, int> correspEBId;
73  std::map<std::string, int> correspEEId;
74 
82  unsigned int m_runnr;
86  unsigned int m_i_run_number;
88  };
89 } // namespace popcon
90 #endif
std::map< std::string, int > makeStripIdEB()
Definition: value.py:1
std::map< std::string, int > makeStripIdEE()
HLT enums.