test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <time.h>
10 
13 
14 
25 
26 
27 
30 
34 
38 
39 //class EcalElectronicsMapping;
40 
41 namespace edm {
42  class ParameterSet;
43  class Event;
44  class EventSetup;
45 }
46 
47 namespace popcon
48 {
49 
50 
51  class EcalTPGSlidingWindowHandler : public popcon::PopConSourceHandler<EcalTPGSlidingWindow>
52  {
53 
54 
55  public:
58 
59  std::map<std::string, int> makeStripIdEB();
60  std::map<std::string, int> makeStripIdEE();
61  void getNewObjects();
62 
63  std::string id() const { return m_name;}
64 
65  void readFromFile(const char* inputFile) ;
66  void writeFile(const char* inputFile);
67 
69 
70  private:
72  std::ostringstream streamOut;
73  streamOut << value;
74  return streamOut.str();
75  }
76 
77  unsigned int m_firstRun ;
78  unsigned int m_lastRun ;
79  std::map<std::string, int> correspEBId;
80  std::map<std::string, int> correspEEId;
81 
89  unsigned int m_runnr;
93  unsigned int m_i_run_number;
95 
96  };
97 }
98 #endif
99 
std::map< std::string, int > makeStripIdEB()
Definition: Event.h:16
std::map< std::string, int > makeStripIdEE()
EcalTPGSlidingWindowHandler(edm::ParameterSet const &)