CMS 3D CMS Logo

EcalTPGSpikeThresholdHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_SPIKETHRESHOLD_HANDLER_H
2 #define ECAL_TPG_SPIKETHRESHOLD_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 
37 
38 namespace edm {
39  class ParameterSet;
40  class Event;
41  class EventSetup;
42 } // namespace edm
43 
44 //class EcalElectronicsMapping;
45 
46 namespace popcon {
47 
49  public:
52 
53  std::map<std::string, int> makeTTEBDetId();
54  std::map<std::string, int> makeTTEEDetId();
55 
56  void getNewObjects() override;
57 
58  std::string id() const override { return m_name; }
59 
60  void readFromFile(const char* inputFile);
61  void writeFile(const char* inputFile);
62 
64 
65  private:
67  std::ostringstream streamOut;
68  streamOut << value;
69  return streamOut.str();
70  }
71 
73  unsigned int m_firstRun;
74  unsigned int m_lastRun;
75  std::map<std::string, int> mapDetEBId;
76  std::map<std::string, int> mapDetEEId;
77 
79 
87  unsigned int m_runnr;
91  unsigned int m_i_run_number;
93  };
94 } // namespace popcon
95 #endif
EcalTPGSpikeThresholdHandler(edm::ParameterSet const &)
std::map< std::string, int > makeTTEBDetId()
Definition: value.py:1
std::map< std::string, int > makeTTEEDetId()
HLT enums.