CMS 3D CMS Logo

EcalTPGTPModeHandler.h
Go to the documentation of this file.
1 #ifndef CONDTOOLS_ECAL_ECALTPGTPMODEHANDLER_H
2 #define CONDTOOLS_ECAL_ECALTPGTPMODEHANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
24 
27 
31 
33 
35 
36 namespace edm {
37  class ParameterSet;
38  class Event;
39  class EventSetup;
40 } // namespace edm
41 
42 namespace popcon {
43 
44  class EcalTPGTPModeHandler : public popcon::PopConSourceHandler<EcalTPGTPMode> {
45  public:
47  ~EcalTPGTPModeHandler() override;
48 
49  void getNewObjects() override;
50 
51  std::string id() const override { return m_name; }
52 
53  void readtxtFile();
54  // void readxmlFile();
55 
56  void readFromFile(const char* inputFile);
57  void writeFile(const char* inputFile);
58 
60 
61  private:
63  std::ostringstream streamOut;
64  streamOut << value;
65  return streamOut.str();
66  }
67 
68  unsigned int m_firstRun;
69  unsigned int m_lastRun;
70 
78  unsigned int m_runnr;
84  unsigned int m_i_run_number;
86  };
87 } // namespace popcon
88 #endif
popcon::EcalTPGTPModeHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGTPModeHandler.h:84
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
EcalElectronicsMapping
Definition: EcalElectronicsMapping.h:28
PopConSourceHandler.h
popcon::EcalTPGTPModeHandler::id
std::string id() const override
Definition: EcalTPGTPModeHandler.h:51
Handle.h
popcon::EcalTPGTPModeHandler::m_file_name
std::string m_file_name
Definition: EcalTPGTPModeHandler.h:82
popcon::EcalTPGTPModeHandler::m_sid
std::string m_sid
Definition: EcalTPGTPModeHandler.h:73
MessageLogger.h
popcon::EcalTPGTPModeHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGTPModeHandler.h:62
ESHandle.h
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalTPGTPModeRcd.h
popcon::EcalTPGTPModeHandler::readtxtFile
void readtxtFile()
Definition: EcalTPGTPModeHandler.cc:296
popcon::EcalTPGTPModeHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGTPModeHandler.h:76
popcon::EcalTPGTPModeHandler::m_pass
std::string m_pass
Definition: EcalTPGTPModeHandler.h:75
popcon::EcalTPGTPModeHandler::m_user
std::string m_user
Definition: EcalTPGTPModeHandler.h:74
MakerMacros.h
PoolDBOutputService.h
popcon::EcalTPGTPModeHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGTPModeHandler.h:68
Service.h
EcalTPGTPMode.h
popcon::EcalTPGTPModeHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGTPModeHandler.h:80
Event
popcon::EcalTPGTPModeHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGTPModeHandler.h:69
popcon::EcalTPGTPModeHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGTPModeHandler.h:59
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:47
popcon::EcalTPGTPModeHandler::EcalTPGTPModeHandler
EcalTPGTPModeHandler(edm::ParameterSet const &)
Definition: EcalTPGTPModeHandler.cc:26
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGTPModeHandler::~EcalTPGTPModeHandler
~EcalTPGTPModeHandler() override
Definition: EcalTPGTPModeHandler.cc:44
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
value
Definition: value.py:1
popcon::EcalTPGTPModeHandler::m_i_version
int m_i_version
Definition: EcalTPGTPModeHandler.h:83
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon
Definition: Exception.h:6
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ParameterSetfwd.h
EventSetup.h
popcon::EcalTPGTPModeHandler::m_file_type
std::string m_file_type
Definition: EcalTPGTPModeHandler.h:81
popcon::EcalTPGTPModeHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGTPModeHandler.cc:339
Oracle.h
EventSetup
ParameterSet.h
popcon::EcalTPGTPModeHandler::m_i_TPMode
int m_i_TPMode
Definition: EcalTPGTPModeHandler.h:85
popcon::EcalTPGTPModeHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGTPModeHandler.h:78
popcon::EcalTPGTPModeHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGTPModeHandler.cc:377
EventSetupRecordKey.h
popcon::EcalTPGTPModeHandler
Definition: EcalTPGTPModeHandler.h:44
popcon::EcalTPGTPModeHandler::m_gentag
std::string m_gentag
Definition: EcalTPGTPModeHandler.h:72
popcon::EcalTPGTPModeHandler::m_location
std::string m_location
Definition: EcalTPGTPModeHandler.h:71
popcon::EcalTPGTPModeHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGTPModeHandler.cc:46
EcalCondDBInterface.h
popcon::EcalTPGTPModeHandler::m_runtype
std::string m_runtype
Definition: EcalTPGTPModeHandler.h:79
popcon::EcalTPGTPModeHandler::m_name
std::string m_name
Definition: EcalTPGTPModeHandler.h:77