CMS 3D CMS Logo

EcalTPGPhysicsConstHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_PHYSICSCONST_HANDLER_H
2 #define ECAL_TPG_PHYSICSCONST_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 EcalTPGPhysicsConstHandler : public popcon::PopConSourceHandler<EcalTPGPhysicsConst> {
45  public:
47  ~EcalTPGPhysicsConstHandler() 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;
85  };
86 } // namespace popcon
87 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
MessageLogger.h
ESHandle.h
popcon::EcalTPGPhysicsConstHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGPhysicsConstHandler.cc:424
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalTPGPhysicsConstHandler::m_i_physClin
int m_i_physClin
Definition: EcalTPGPhysicsConstHandler.h:82
popcon::EcalTPGPhysicsConstHandler::m_gentag
std::string m_gentag
Definition: EcalTPGPhysicsConstHandler.h:71
popcon::EcalTPGPhysicsConstHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGPhysicsConstHandler.h:67
popcon::EcalTPGPhysicsConstHandler::~EcalTPGPhysicsConstHandler
~EcalTPGPhysicsConstHandler() override
Definition: EcalTPGPhysicsConstHandler.cc:30
popcon::EcalTPGPhysicsConstHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGPhysicsConstHandler.h:79
MakerMacros.h
PoolDBOutputService.h
popcon::EcalTPGPhysicsConstHandler::m_i_version
int m_i_version
Definition: EcalTPGPhysicsConstHandler.h:80
popcon::EcalTPGPhysicsConstHandler::EcalTPGPhysicsConstHandler
EcalTPGPhysicsConstHandler(edm::ParameterSet const &)
Definition: EcalTPGPhysicsConstHandler.cc:14
popcon::EcalTPGPhysicsConstHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGPhysicsConstHandler.h:75
popcon::EcalTPGPhysicsConstHandler::m_sid
std::string m_sid
Definition: EcalTPGPhysicsConstHandler.h:72
Service.h
Event
popcon::EcalTPGPhysicsConstHandler::m_user
std::string m_user
Definition: EcalTPGPhysicsConstHandler.h:73
popcon::EcalTPGPhysicsConstHandler
Definition: EcalTPGPhysicsConstHandler.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalTPGPhysicsConstHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGPhysicsConstHandler.h:68
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:36
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGPhysicsConstHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGPhysicsConstHandler.h:59
popcon::EcalTPGPhysicsConstHandler::m_name
std::string m_name
Definition: EcalTPGPhysicsConstHandler.h:76
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
value
Definition: value.py:1
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon::EcalTPGPhysicsConstHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGPhysicsConstHandler.h:77
popcon::EcalTPGPhysicsConstHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGPhysicsConstHandler.cc:32
popcon::EcalTPGPhysicsConstHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGPhysicsConstHandler.cc:376
EcalTPGPhysicsConst
Definition: EcalTPGPhysicsConst.h:9
popcon
Definition: Exception.h:6
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ParameterSetfwd.h
EventSetup.h
popcon::EcalTPGPhysicsConstHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGPhysicsConstHandler.h:81
popcon::EcalTPGPhysicsConstHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGPhysicsConstHandler.h:56
EcalTPGPhysicsConst.h
Oracle.h
popcon::EcalTPGPhysicsConstHandler::m_i_physClut
int m_i_physClut
Definition: EcalTPGPhysicsConstHandler.h:83
popcon::EcalTPGPhysicsConstHandler::m_runtype
std::string m_runtype
Definition: EcalTPGPhysicsConstHandler.h:78
EventSetup
ParameterSet.h
popcon::EcalTPGPhysicsConstHandler::id
std::string id() const override
Definition: EcalTPGPhysicsConstHandler.h:51
EventSetupRecordKey.h
EcalTPGPhysicsConstRcd.h
popcon::EcalTPGPhysicsConstHandler::m_i_physCfgr
int m_i_physCfgr
Definition: EcalTPGPhysicsConstHandler.h:84
popcon::EcalTPGPhysicsConstHandler::m_location
std::string m_location
Definition: EcalTPGPhysicsConstHandler.h:70
EcalCondDBInterface.h
popcon::EcalTPGPhysicsConstHandler::m_pass
std::string m_pass
Definition: EcalTPGPhysicsConstHandler.h:74
popcon::EcalTPGPhysicsConstHandler::m_physicsConst
const EcalTPGPhysicsConst * m_physicsConst
Definition: EcalTPGPhysicsConstHandler.h:65