CMS 3D CMS Logo

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