CMS 3D CMS Logo

EcalTPGSlidingWindowHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_SLIDINGWINDOW_HANDLER_H
2 #define ECAL_TPG_SLIDINGWINDOW_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 EcalTPGSlidingWindowHandler : public popcon::PopConSourceHandler<EcalTPGSlidingWindow> {
47  public:
50 
51  std::map<std::string, int> makeStripIdEB();
52  std::map<std::string, int> makeStripIdEE();
53  void getNewObjects() override;
54 
55  std::string id() const override { return m_name; }
56 
57  void readFromFile(const char* inputFile);
58  void writeFile(const char* inputFile);
59 
61 
62  private:
64  std::ostringstream streamOut;
65  streamOut << value;
66  return streamOut.str();
67  }
68 
69  unsigned int m_firstRun;
70  unsigned int m_lastRun;
71  std::map<std::string, int> correspEBId;
72  std::map<std::string, int> correspEEId;
73 
81  unsigned int m_runnr;
85  unsigned int m_i_run_number;
87  };
88 } // namespace popcon
89 #endif
std::map< std::string, int > makeStripIdEB()
std::map< std::string, int > makeStripIdEE()
Definition: value.py:1
HLT enums.
EcalTPGSlidingWindowHandler(edm::ParameterSet const &)