CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTPGFineGrainTowerEEHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_FINEGRAINTOWEREE_HANDLER_H
2 #define ECAL_TPG_FINEGRAINTOWEREE_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 namespace edm {
37  class ParameterSet;
38  class Event;
39  class EventSetup;
40 } // namespace edm
41 
42 namespace popcon {
43 
44  class EcalTPGFineGrainTowerEEHandler : public popcon::PopConSourceHandler<EcalTPGFineGrainTowerEE> {
45  public:
48 
49  //std::map<std::string, int> makeTTEBDetId();
50 
51  void getNewObjects() override;
52 
53  std::map<std::string, int> makeTTEEDetId();
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> mapDetEEId;
72 
80  unsigned int m_runnr;
84  unsigned int m_i_run_number;
86  };
87 } // namespace popcon
88 #endif
std::map< std::string, int > makeTTEEDetId()