CMS 3D CMS Logo

RunPTMTempDat.h
Go to the documentation of this file.
1 #ifndef RUNPTMTEMPDAT_H
2 #define RUNPTMTEMPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class RunPTMTempDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface;
14  RunPTMTempDat();
15  ~RunPTMTempDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "RUN_PTM_TEMP_DAT"; }
19  inline void setTemperature(float t) { m_temperature = t; }
20  inline float getTemperature() const { return m_temperature; }
21 
22 private:
23  void prepareWrite() noexcept(false) override;
24 
25  void writeDB(const EcalLogicID* ecid, const RunPTMTempDat* item, RunIOV* iov) noexcept(false);
26 
27  void fetchData(std::map<EcalLogicID, RunPTMTempDat>* fillMap, RunIOV* iov) noexcept(false);
28 
29  // User data
31 };
32 
33 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
RunIOV
Definition: RunIOV.h:13
funct::false
false
Definition: Factorize.h:34
RunIOV.h
watchdog.const
const
Definition: watchdog.py:83
RunPTMTempDat::getTemperature
float getTemperature() const
Definition: RunPTMTempDat.h:20
RunPTMTempDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunPTMTempDat *item, RunIOV *iov) noexcept(false)
Definition: RunPTMTempDat.cc:37
RunPTMTempDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: RunPTMTempDat.cc:22
IDataItem
Definition: IDataItem.h:16
RunPTMTempDat::RunPTMTempDat
RunPTMTempDat()
Definition: RunPTMTempDat.cc:11
EcalLogicID
Definition: EcalLogicID.h:7
OrderedSet.t
t
Definition: OrderedSet.py:90
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RunPTMTempDat::setTemperature
void setTemperature(float t)
Definition: RunPTMTempDat.h:19
RunPTMTempDat
Definition: RunPTMTempDat.h:11
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
RunPTMTempDat::~RunPTMTempDat
~RunPTMTempDat() override
Definition: RunPTMTempDat.cc:20
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
genParticles_cff.map
map
Definition: genParticles_cff.py:11
RunPTMTempDat::getTable
std::string getTable() override
Definition: RunPTMTempDat.h:18
RunPTMTempDat::fetchData
void fetchData(std::map< EcalLogicID, RunPTMTempDat > *fillMap, RunIOV *iov) noexcept(false)
Definition: RunPTMTempDat.cc:62
RunPTMTempDat::m_temperature
float m_temperature
Definition: RunPTMTempDat.h:30