Go to the documentation of this file. 1 #ifndef MONPULSESHAPEDAT_H
2 #define MONPULSESHAPEDAT_H
24 throw(std::runtime_error(
"MonPulseShapeDat::setSamples: There should be 10 samples."));
29 }
else if (
gain == 6) {
31 }
else if (
gain == 12) {
34 throw(std::runtime_error(
"MonPulseShapeDat::setSamples: Gain should be 1, 6 or 12"));
41 }
else if (
gain == 6) {
43 }
else if (
gain == 12) {
46 throw(std::runtime_error(
"MonPulseShapeDat::getSamples: Gain should be 1, 6 or 12"));
void prepareWrite() noexcept(false) override
std::vector< float > m_samplesG12
std::vector< float > getSamples(int gain) const noexcept(false)
void writeDB(const EcalLogicID *ecid, const MonPulseShapeDat *item, MonRunIOV *iov) noexcept(false)
~MonPulseShapeDat() override
std::vector< float > m_samplesG1
std::vector< float > m_samplesG6
std::string getTable() override
void setSamples(std::vector< float > &samples, int gain) noexcept(false)
void fetchData(std::map< EcalLogicID, MonPulseShapeDat > *fillVec, MonRunIOV *iov) noexcept(false)