CMS 3D CMS Logo

EcalTPGLinConstHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_LINCONST_HANDLER_H
2 #define ECAL_TPG_LINCONST_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 
31 
35 
36 namespace edm {
37  class ParameterSet;
38  class Event;
39  class EventSetup;
40 } // namespace edm
41 
42 namespace popcon {
43 
44  class EcalTPGLinConstHandler : public popcon::PopConSourceHandler<EcalTPGLinearizationConst> {
45  public:
47  ~EcalTPGLinConstHandler() override;
48 
49  void getNewObjects() override;
50 
51  std::string id() const override { return m_name; }
52 
53  void readFromFile(const char* inputFile);
54  void writeFile(const char* inputFile);
55 
57 
58  private:
60  std::ostringstream streamOut;
61  streamOut << value;
62  return streamOut.str();
63  }
64 
66 
67  unsigned int m_firstRun;
68  unsigned int m_lastRun;
69 
77  unsigned int m_runnr;
81  unsigned int m_i_run_number;
82  int m_i_lin;
83  };
84 } // namespace popcon
85 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
popcon::EcalTPGLinConstHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGLinConstHandler.h:75
MessageLogger.h
popcon::EcalTPGLinConstHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGLinConstHandler.cc:301
ESHandle.h
EcalTPGLinearizationConstRcd.h
popcon::EcalTPGLinConstHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGLinConstHandler.h:56
popcon::EcalTPGLinConstHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGLinConstHandler.cc:40
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
popcon::EcalTPGLinConstHandler::m_runtype
std::string m_runtype
Definition: EcalTPGLinConstHandler.h:78
popcon::EcalTPGLinConstHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGLinConstHandler.h:77
popcon::EcalTPGLinConstHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGLinConstHandler.h:81
MakerMacros.h
PoolDBOutputService.h
Service.h
popcon::EcalTPGLinConstHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGLinConstHandler.h:67
popcon::EcalTPGLinConstHandler::m_name
std::string m_name
Definition: EcalTPGLinConstHandler.h:76
Event
popcon::EcalTPGLinConstHandler::id
std::string id() const override
Definition: EcalTPGLinConstHandler.h:51
popcon::EcalTPGLinConstHandler::m_linearizationConst
const EcalTPGLinearizationConst * m_linearizationConst
Definition: EcalTPGLinConstHandler.h:65
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:47
Timestamp.h
Event.h
EcalTPGLinearizationConst.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGLinConstHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGLinConstHandler.h:79
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
value
Definition: value.py:1
popcon::EcalTPGLinConstHandler::EcalTPGLinConstHandler
EcalTPGLinConstHandler(edm::ParameterSet const &)
Definition: EcalTPGLinConstHandler.cc:22
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalTPGLinConstHandler
Definition: EcalTPGLinConstHandler.h:44
popcon::EcalTPGLinConstHandler::m_gentag
std::string m_gentag
Definition: EcalTPGLinConstHandler.h:71
popcon::EcalTPGLinConstHandler::~EcalTPGLinConstHandler
~EcalTPGLinConstHandler() override
Definition: EcalTPGLinConstHandler.cc:38
popcon::EcalTPGLinConstHandler::m_location
std::string m_location
Definition: EcalTPGLinConstHandler.h:70
popcon::EcalTPGLinConstHandler::m_user
std::string m_user
Definition: EcalTPGLinConstHandler.h:73
popcon
Definition: Exception.h:6
relativeConstraints.value
value
Definition: relativeConstraints.py:53
popcon::EcalTPGLinConstHandler::m_pass
std::string m_pass
Definition: EcalTPGLinConstHandler.h:74
popcon::EcalTPGLinConstHandler::m_sid
std::string m_sid
Definition: EcalTPGLinConstHandler.h:72
ParameterSetfwd.h
EventSetup.h
popcon::EcalTPGLinConstHandler::m_i_lin
int m_i_lin
Definition: EcalTPGLinConstHandler.h:82
popcon::EcalTPGLinConstHandler::m_i_version
int m_i_version
Definition: EcalTPGLinConstHandler.h:80
Oracle.h
EventSetup
ParameterSet.h
EventSetupRecordKey.h
popcon::EcalTPGLinConstHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGLinConstHandler.h:59
popcon::EcalTPGLinConstHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGLinConstHandler.cc:263
EcalCondDBInterface.h
popcon::EcalTPGLinConstHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGLinConstHandler.h:68