CMS 3D CMS Logo

EcalTPGBadXTHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_BADXT_HANDLER_H
2 #define ECAL_TPG_BADXT_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 
32 
36 
37 namespace edm {
38  class ParameterSet;
39  class Event;
40  class EventSetup;
41 } // namespace edm
42 
43 namespace popcon {
44 
45  class EcalTPGBadXTHandler : public popcon::PopConSourceHandler<EcalTPGCrystalStatus> {
46  public:
48  ~EcalTPGBadXTHandler() override;
49 
50  void getNewObjects() override;
51 
52  std::string id() const override { return m_name; }
53 
54  void readFromFile(const char* inputFile);
55  void writeFile(const char* inputFile);
57 
59 
60  private:
62  std::ostringstream streamOut;
63  streamOut << value;
64  return streamOut.str();
65  }
66 
68 
69  unsigned int m_firstRun;
70  unsigned int m_lastRun;
71 
79  unsigned int m_runnr;
83  unsigned int m_i_run_number;
84  int m_i_badXT;
85  };
86 } // namespace popcon
87 #endif
void writeFile(const char *inputFile)
std::string to_string(char value[])
const EcalTPGCrystalStatus * mycrystalStat
Definition: value.py:1
EcalCondDBInterface * econn
EcalTPGCrystalStatus * produceEcalTrgChannelStatus()
EcalTPGBadXTHandler(edm::ParameterSet const &)
HLT enums.
std::string id() const override
void readFromFile(const char *inputFile)