CMS 3D CMS Logo

MonH4TablePositionDat.h
Go to the documentation of this file.
1 #ifndef MONH4TABLEPOSITIONDAT_H
2 #define MONH4TABLEPOSITIONDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface;
15  ~MonH4TablePositionDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "MON_H4_TABLE_POSITION_DAT"; }
19 
20  inline void setTableX(float x) { m_tableX = x; }
21  inline float getTableX() const { return m_tableX; }
22 
23  inline void setTableY(float y) { m_tableY = y; }
24  inline float getTableY() const { return m_tableY; }
25 
26 private:
27  void prepareWrite() noexcept(false) override;
28 
30 
31  void fetchData(std::map<EcalLogicID, MonH4TablePositionDat>* fillMap, MonRunIOV* iov) noexcept(false);
32 
34 
35  // User data
36  float m_tableX;
37  float m_tableY;
38 };
39 
40 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
DDAxes::y
funct::false
false
Definition: Factorize.h:29
MonH4TablePositionDat::setTableX
void setTableX(float x)
Definition: MonH4TablePositionDat.h:20
DDAxes::x
watchdog.const
const
Definition: watchdog.py:83
MonH4TablePositionDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonH4TablePositionDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonH4TablePositionDat.cc:37
MonH4TablePositionDat::setTableY
void setTableY(float y)
Definition: MonH4TablePositionDat.h:23
MonH4TablePositionDat::m_tableY
float m_tableY
Definition: MonH4TablePositionDat.h:37
MonH4TablePositionDat::m_tableX
float m_tableX
Definition: MonH4TablePositionDat.h:36
MonH4TablePositionDat::fetchData
void fetchData(std::map< EcalLogicID, MonH4TablePositionDat > *fillMap, MonRunIOV *iov) noexcept(false)
Definition: MonH4TablePositionDat.cc:66
IDataItem
Definition: IDataItem.h:16
EcalLogicID
Definition: EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonH4TablePositionDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonH4TablePositionDat.cc:109
MonRunIOV.h
MonH4TablePositionDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonH4TablePositionDat.cc:22
MonRunIOV
Definition: MonRunIOV.h:14
MonH4TablePositionDat::~MonH4TablePositionDat
~MonH4TablePositionDat() override
Definition: MonH4TablePositionDat.cc:20
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
EcalLogicID.h
MonH4TablePositionDat::getTable
std::string getTable() override
Definition: MonH4TablePositionDat.h:18
std
Definition: JetResolutionObject.h:76
MonH4TablePositionDat::getTableX
float getTableX() const
Definition: MonH4TablePositionDat.h:21
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonH4TablePositionDat
Definition: MonH4TablePositionDat.h:11
MonH4TablePositionDat::MonH4TablePositionDat
MonH4TablePositionDat()
Definition: MonH4TablePositionDat.cc:10
MonH4TablePositionDat::getTableY
float getTableY() const
Definition: MonH4TablePositionDat.h:24