CMS 3D CMS Logo

MonLaserPulseDat.h
Go to the documentation of this file.
1 #ifndef MONLASERPULSEDAT_H
2 #define MONLASERPULSEDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class MonLaserPulseDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface;
15  ~MonLaserPulseDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "MON_LASER_PULSE_DAT"; }
19 
20  inline void setPulseHeightMean(float p) { m_pulseHeightMean = p; }
21  inline float getPulseHeightMean() const { return m_pulseHeightMean; }
22 
23  inline void setPulseHeightRMS(float p) { m_pulseHeightRMS = p; }
24  inline float getPulseHeightRMS() const { return m_pulseHeightRMS; }
25 
26  inline void setPulseWidthMean(float p) { m_pulseWidthMean = p; }
27  inline float getPulseWidthMean() const { return m_pulseWidthMean; }
28 
29  inline void setPulseWidthRMS(float p) { m_pulseWidthRMS = p; }
30  inline float getPulseWidthRMS() const { return m_pulseWidthRMS; }
31 
32 private:
33  void prepareWrite() noexcept(false) override;
34 
35  void writeDB(const EcalLogicID* ecid, const MonLaserPulseDat* item, MonRunIOV* iov) noexcept(false);
36 
38 
39  void fetchData(std::map<EcalLogicID, MonLaserPulseDat>* fillMap, MonRunIOV* iov) noexcept(false);
40 
41  // User data
46 };
47 
48 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDataItem.h
MonLaserPulseDat::getTable
std::string getTable() override
Definition: MonLaserPulseDat.h:18
funct::false
false
Definition: Factorize.h:34
MonLaserPulseDat::m_pulseWidthRMS
float m_pulseWidthRMS
Definition: MonLaserPulseDat.h:45
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MonLaserPulseDat::~MonLaserPulseDat
~MonLaserPulseDat() override
Definition: MonLaserPulseDat.cc:22
MonLaserPulseDat::fetchData
void fetchData(std::map< EcalLogicID, MonLaserPulseDat > *fillMap, MonRunIOV *iov) noexcept(false)
Definition: MonLaserPulseDat.cc:68
MonLaserPulseDat::setPulseHeightMean
void setPulseHeightMean(float p)
Definition: MonLaserPulseDat.h:20
watchdog.const
const
Definition: watchdog.py:83
MonLaserPulseDat::m_pulseHeightMean
float m_pulseHeightMean
Definition: MonLaserPulseDat.h:42
MonLaserPulseDat::getPulseWidthMean
float getPulseWidthMean() const
Definition: MonLaserPulseDat.h:27
IDataItem
Definition: IDataItem.h:16
MonLaserPulseDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonLaserPulseDat > *data, MonRunIOV *iov) noexcept(false)
Definition: MonLaserPulseDat.cc:112
EcalLogicID
Definition: EcalLogicID.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonRunIOV.h
MonLaserPulseDat::getPulseHeightRMS
float getPulseHeightRMS() const
Definition: MonLaserPulseDat.h:24
MonRunIOV
Definition: MonRunIOV.h:14
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
MonLaserPulseDat::setPulseHeightRMS
void setPulseHeightRMS(float p)
Definition: MonLaserPulseDat.h:23
MonLaserPulseDat::m_pulseWidthMean
float m_pulseWidthMean
Definition: MonLaserPulseDat.h:44
MonLaserPulseDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition: MonLaserPulseDat.cc:24
MonLaserPulseDat::m_pulseHeightRMS
float m_pulseHeightRMS
Definition: MonLaserPulseDat.h:43
MonLaserPulseDat::setPulseWidthMean
void setPulseWidthMean(float p)
Definition: MonLaserPulseDat.h:26
EcalLogicID.h
std
Definition: JetResolutionObject.h:76
MonLaserPulseDat::getPulseHeightMean
float getPulseHeightMean() const
Definition: MonLaserPulseDat.h:21
MonLaserPulseDat::setPulseWidthRMS
void setPulseWidthRMS(float p)
Definition: MonLaserPulseDat.h:29
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MonLaserPulseDat::MonLaserPulseDat
MonLaserPulseDat()
Definition: MonLaserPulseDat.cc:10
MonLaserPulseDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonLaserPulseDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonLaserPulseDat.cc:39
MonLaserPulseDat
Definition: MonLaserPulseDat.h:11
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MonLaserPulseDat::getPulseWidthRMS
float getPulseWidthRMS() const
Definition: MonLaserPulseDat.h:30