CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTPGBadStripHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_BADSTRIP_HANDLER_H
2 #define ECAL_TPG_BADSTRIP_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 namespace edm {
40  class ParameterSet;
41  class Event;
42  class EventSetup;
43 }
44 
45 namespace popcon
46 {
47 
48 
49  class EcalTPGBadStripHandler : public popcon::PopConSourceHandler<EcalTPGStripStatus>
50  {
51 
52  public:
55 
56  void getNewObjects();
57 
58  std::map<std::string, int> makeTTEEDetId();
59 
60  std::string id() const { return m_name;}
61 
62  void readFromFile(const char* inputFile) ;
63  void writeFile(const char* inputFile);
64 
66 
67  private:
69  std::ostringstream streamOut;
70  streamOut << value;
71  return streamOut.str();
72  }
73 
75 
76  unsigned int m_firstRun ;
77  unsigned int m_lastRun ;
78  std::map <std::string, int> mapDetEEId;
79 
87  unsigned int m_runnr;
91  unsigned int m_i_run_number;
93  };
94 }
95 #endif
96 
std::map< std::string, int > makeTTEEDetId()
void writeFile(const char *inputFile)
EcalTPGBadStripHandler(edm::ParameterSet const &)
Definition: Event.h:16
std::string to_string(char value[])
void readFromFile(const char *inputFile)
const EcalTPGStripStatus * mystripStat
std::map< std::string, int > mapDetEEId