test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTPGLutGroupHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_LUTGROUP_HANDLER_H
2 #define ECAL_TPG_LUTGROUP_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 
28 
32 
36 
37 
39 
40 namespace edm {
41  class ParameterSet;
42  class Event;
43  class EventSetup;
44 }
45 
46 //class EcalElectronicsMapping;
47 
48 namespace popcon
49 {
50 
51 
52  class EcalTPGLutGroupHandler : public popcon::PopConSourceHandler<EcalTPGLutGroup>
53  {
54 
55  public:
58 
59  std::map<std::string, int> makeTTEBDetId();
60  std::map<std::string, int> makeTTEEDetId();
61 
62  void getNewObjects();
63 
64  std::string id() const { return m_name;}
65 
66  void readFromFile(const char* inputFile) ;
67  void writeFile(const char* inputFile);
68 
70 
71  private:
73  std::ostringstream streamOut;
74  streamOut << value;
75  return streamOut.str();
76  }
77 
79  unsigned int m_firstRun ;
80  unsigned int m_lastRun ;
81  std::map <std::string, int> mapDetEBId;
82  std::map <std::string, int> mapDetEEId;
83 
85 
93  unsigned int m_runnr;
97  unsigned int m_i_run_number;
99 
100  };
101 }
102 #endif
103 
void readFromFile(const char *inputFile)
const EcalElectronicsMapping * ecalMapping_
void writeFile(const char *inputFile)
Definition: Event.h:16
std::map< std::string, int > makeTTEBDetId()
std::string to_string(char value[])
std::map< std::string, int > mapDetEEId
std::map< std::string, int > mapDetEBId
const EcalTPGLutGroup * mypedestals
std::map< std::string, int > makeTTEEDetId()
EcalTPGLutGroupHandler(edm::ParameterSet const &)