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
popcon::EcalTPGBadXTHandler::id
std::string id() const override
Definition: EcalTPGBadXTHandler.h:52
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
popcon::EcalTPGBadXTHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGBadXTHandler.cc:307
PopConSourceHandler.h
popcon::EcalTPGBadXTHandler::EcalTPGBadXTHandler
EcalTPGBadXTHandler(edm::ParameterSet const &)
Definition: EcalTPGBadXTHandler.cc:24
popcon::EcalTPGBadXTHandler::m_i_version
int m_i_version
Definition: EcalTPGBadXTHandler.h:82
Handle.h
popcon::EcalTPGBadXTHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGBadXTHandler.h:83
MessageLogger.h
ESHandle.h
popcon::EcalTPGBadXTHandler
Definition: EcalTPGBadXTHandler.h:45
popcon::EcalTPGBadXTHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGBadXTHandler.cc:42
popcon::EcalTPGBadXTHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGBadXTHandler.cc:345
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalTPGBadXTHandler::mycrystalStat
const EcalTPGCrystalStatus * mycrystalStat
Definition: EcalTPGBadXTHandler.h:67
popcon::EcalTPGBadXTHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGBadXTHandler.h:79
EcalTPGCrystalStatusRcd.h
popcon::EcalTPGBadXTHandler::m_name
std::string m_name
Definition: EcalTPGBadXTHandler.h:78
popcon::EcalTPGBadXTHandler::m_pass
std::string m_pass
Definition: EcalTPGBadXTHandler.h:76
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
popcon::EcalTPGBadXTHandler::m_location
std::string m_location
Definition: EcalTPGBadXTHandler.h:72
popcon::EcalTPGBadXTHandler::m_i_badXT
int m_i_badXT
Definition: EcalTPGBadXTHandler.h:84
popcon::EcalTPGBadXTHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGBadXTHandler.h:69
popcon::EcalTPGBadXTHandler::m_gentag
std::string m_gentag
Definition: EcalTPGBadXTHandler.h:73
MakerMacros.h
PoolDBOutputService.h
Service.h
popcon::EcalTPGBadXTHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGBadXTHandler.h:77
Event
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:47
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGBadXTHandler::m_sid
std::string m_sid
Definition: EcalTPGBadXTHandler.h:74
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
popcon::EcalTPGBadXTHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGBadXTHandler.h:58
value
Definition: value.py:1
all_od_types.h
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon::EcalTPGBadXTHandler::m_user
std::string m_user
Definition: EcalTPGBadXTHandler.h:75
popcon
Definition: Exception.h:6
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ParameterSetfwd.h
EventSetup.h
EcalTPGCrystalStatus.h
popcon::EcalTPGBadXTHandler::m_runtype
std::string m_runtype
Definition: EcalTPGBadXTHandler.h:80
Oracle.h
EventSetup
ParameterSet.h
popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus
EcalTPGCrystalStatus * produceEcalTrgChannelStatus()
Definition: EcalTPGBadXTHandler.cc:358
EventSetupRecordKey.h
popcon::EcalTPGBadXTHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGBadXTHandler.h:81
popcon::EcalTPGBadXTHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGBadXTHandler.h:70
EcalCondDBInterface.h
popcon::EcalTPGBadXTHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGBadXTHandler.h:61
popcon::EcalTPGBadXTHandler::~EcalTPGBadXTHandler
~EcalTPGBadXTHandler() override
Definition: EcalTPGBadXTHandler.cc:40