1 #ifndef MONPULSESHAPEDAT_H 2 #define MONPULSESHAPEDAT_H 26 throw(std::runtime_error(
"MonPulseShapeDat::setSamples: There should be 10 samples."));
31 }
else if (
gain == 6) {
33 }
else if (
gain == 12) {
36 throw(std::runtime_error(
"MonPulseShapeDat::setSamples: Gain should be 1, 6 or 12"));
45 }
else if (
gain == 6) {
47 }
else if (
gain == 12) {
50 throw(std::runtime_error(
"MonPulseShapeDat::getSamples: Gain should be 1, 6 or 12"));
std::string getTable() override
std::vector< float > m_samplesG1
std::vector< float > getSamples(int gain) const noexcept(false)
std::vector< float > m_samplesG6
void setSamples(std::vector< float > &samples, int gain) noexcept(false)
void prepareWrite() noexcept(false) override
void fetchData(std::map< EcalLogicID, MonPulseShapeDat > *fillVec, MonRunIOV *iov) noexcept(false)
std::vector< float > m_samplesG12
void writeDB(const EcalLogicID *ecid, const MonPulseShapeDat *item, MonRunIOV *iov) noexcept(false)
~MonPulseShapeDat() override