CMS 3D CMS Logo

DCUCapsuleTempDat.h
Go to the documentation of this file.
1 #ifndef DCUCAPSULETEMPDAT_H
2 #define DCUCAPSULETEMPDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class DCUCapsuleTempDat : public IDataItem {
13 public:
14  friend class EcalCondDBInterface;
16  ~DCUCapsuleTempDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "DCU_CAPSULE_TEMP_DAT"; }
20 
21  inline void setCapsuleTemp(float temp) { m_capsuleTemp = temp; }
22  inline float getCapsuleTemp() const { return m_capsuleTemp; }
23 
24 private:
25  void prepareWrite() noexcept(false) override;
26 
27  void writeDB(const EcalLogicID* ecid, const DCUCapsuleTempDat* item, DCUIOV* iov) noexcept(false);
28 
30 
31  void fetchData(std::map<EcalLogicID, DCUCapsuleTempDat>* fillVec, DCUIOV* iov) noexcept(false);
32 
33  // User data
35 };
36 
37 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
DCUCapsuleTempDat::writeDB
void writeDB(const EcalLogicID *ecid, const DCUCapsuleTempDat *item, DCUIOV *iov) noexcept(false)
Definition: DCUCapsuleTempDat.cc:38
funct::false
false
Definition: Factorize.h:29
DCUCapsuleTempDat
Definition: DCUCapsuleTempDat.h:12
DCUIOV
Definition: DCUIOV.h:13
DCUCapsuleTempDat::fetchData
void fetchData(std::map< EcalLogicID, DCUCapsuleTempDat > *fillVec, DCUIOV *iov) noexcept(false)
Definition: DCUCapsuleTempDat.cc:64
watchdog.const
const
Definition: watchdog.py:83
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
IDataItem
Definition: IDataItem.h:16
DCUCapsuleTempDat::getTable
std::string getTable() override
Definition: DCUCapsuleTempDat.h:19
EcalLogicID
Definition: EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DCUCapsuleTempDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: DCUCapsuleTempDat.cc:23
DCUTag.h
DCUCapsuleTempDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, DCUCapsuleTempDat > *data, DCUIOV *iov) noexcept(false)
Definition: DCUCapsuleTempDat.cc:104
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
DCUCapsuleTempDat::~DCUCapsuleTempDat
~DCUCapsuleTempDat() override
Definition: DCUCapsuleTempDat.cc:21
EcalLogicID.h
DCUIOV.h
std
Definition: JetResolutionObject.h:76
DCUCapsuleTempDat::getCapsuleTemp
float getCapsuleTemp() const
Definition: DCUCapsuleTempDat.h:22
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
DCUCapsuleTempDat::m_capsuleTemp
float m_capsuleTemp
Definition: DCUCapsuleTempDat.h:34
genParticles_cff.map
map
Definition: genParticles_cff.py:11
DCUCapsuleTempDat::DCUCapsuleTempDat
DCUCapsuleTempDat()
Definition: DCUCapsuleTempDat.cc:12
DCUCapsuleTempDat::setCapsuleTemp
void setCapsuleTemp(float temp)
Definition: DCUCapsuleTempDat.h:21