7#include "GaudiKernel/MsgStream.h"
27 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"Converting ROIB::RoIBResult from persistent state..." <<
endmsg;
40 std::vector< ROIB::JetEnergyResult > jetvec;
44 std::vector<ROIB::JetEnergyRoI> (jeten.
m_roiWords.begin(),
48 std::vector< ROIB::EMTauResult > emtauvec;
52 std::vector<ROIB::EMTauRoI> (emtau.
m_roiWords.begin(),
61 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"Converting ROIB::RoIBResult from persistent state [OK]" <<
endmsg;
74 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"Creating persistent state of ROIB::RoIBResult..." <<
endmsg;
110 persObj->
m_jetenergy.back().m_header = jer.header().header();
111 persObj->
m_jetenergy.back().m_trailer = jer.trailer().trailer();
113 persObj->
m_jetenergy.back().m_roiWords.push_back(
r.roIWord() );
126 persObj->
m_emtau.back().m_header = emtau.header().header();
127 persObj->
m_emtau.back().m_trailer = emtau.trailer().trailer();
129 persObj->
m_emtau.back().m_roiWords.push_back(
r.roIWord() );
132 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"Creating persistent state of ROIB::RoIBResult [OK]" <<
endmsg;
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Class holding the LVL1 CTP result used by the RoIBuilder.
const Header & header() const
return header
const std::vector< CTPRoI > & roIVec() const
return the RoI vector */
const Trailer & trailer() const
return trailer
ROIB::CTPRoI contains a RoI delivered by the CTP.
Class holding the RoIs from the MuCTPI collected by the RoIB.
const Header & header() const
Member function returning the header.
const Trailer & trailer() const
Member function returning the trailer.
const std::vector< MuCTPIRoI > & roIVec() const
Member function returning the RoI vector.
Class for storing the 32-bit muon RoI word.
Class holding the LVL1 RoIB result build by the RoIBuilder.
const std::vector< JetEnergyResult > & jetEnergyResult() const
Gets the jet/energy part of the L1 RDO.
const CTPResult & cTPResult() const
Gets the CTP part of the L1 RDO.
const std::vector< EMTauResult > & eMTauResult() const
Gets the egamma part of the L1 RDO.
const MuCTPIResult & muCTPIResult() const
Gets the MuCTPI part of the L1 RDO.
ROIB::Trailer models the LVL1 ROD Trailer.
const std::vector< uint32_t > & trailer() const
get full trailer
virtual void transToPers(const ROIB::RoIBResult *transObj, RoIBResult_p1 *persObj, MsgStream &log)
Function transferring the information from a transient ROIB::RoIBResult object to a persistent RoIBRe...
RoIBResultCnv_p1()
Default constructor.
virtual void persToTrans(const RoIBResult_p1 *persObj, ROIB::RoIBResult *transObj, MsgStream &log)
Function transferring the information from a persistent RoIBResult_p1 object to a transient ROIB::RoI...
Persistent representation of ROIB::RoIBResult.
std::vector< SubSysResult_p1 > m_emtau
std::vector< SubSysResult_p1 > m_jetenergy
Persistent class used by RoIBResult_p1.
std::vector< uint32_t > m_header
std::vector< uint32_t > m_roiWords
std::vector< uint32_t > m_trailer
Namespace of the LVL1 RoIB simulation.