21 log << MSG::VERBOSE <<
"ZdcRawChannelCnv_p1::persToTrans called " <<
endmsg;
25 if (
sz != persObj->
m_time.size()) std::abort();
26 if (
sz != persObj->
m_chi.size()) std::abort();
32 for (
size_t i = 0; i <
sz; i++) {
43 log << MSG::VERBOSE <<
"ZdcRawChannelCnv_p1::transToPers called " <<
endmsg;
52 for (
size_t i = 0; i <
sz; i++) {
value_type get_compact() const
Get the compact id.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
virtual void transToPers(const ZdcRawChannel *transObj, ZdcRawChannel_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation ZdcRawChannel_p1 from its transient representation ZdcR...
virtual void persToTrans(const ZdcRawChannel_p1 *persObj, ZdcRawChannel *transObj, MsgStream &log) const override
Method creating the transient representation ZdcRawChannel from its persistent representation ZdcRawC...
std::vector< float > m_chi
std::vector< float > m_time
std::vector< float > m_energy
void setTime(int i, float t)
void setSize(unsigned int i)
float getChi(int i) const
float getEnergy(int i) const
void setChi(int i, float c)
float getTime(int i) const
void setEnergy(int i, float e)
unsigned int getSize() const
Identifier identify() const