ATLAS Offline Software
Loading...
Searching...
No Matches
BCM_RDO_CollectionCnv_p0.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "GaudiKernel/MsgStream.h"
8
9void BCM_RDO_CollectionCnv_p0::persToTrans(const BCM_RDO_Collection_p0* persColl, BCM_RDO_Collection* transColl, MsgStream &log) {
10
11 if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In BCM_RDO_CollectionCnv_p0::persToTrans" << endmsg;
12
13 BCM_RDO_CollectionCnv_p0_basetype::persToTrans(persColl, transColl, log);
14 transColl->setChannel (persColl->m_chanId);
15}
16
17void BCM_RDO_CollectionCnv_p0::transToPers(const BCM_RDO_Collection* transColl, BCM_RDO_Collection_p0* persColl, MsgStream &log) {
18
19 if (log.level()<=MSG::DEBUG) log << MSG::DEBUG << "In BCM_RDO_CollectionCnv_p0::transToPers" << endmsg;
20
21 BCM_RDO_CollectionCnv_p0_basetype::transToPers(transColl, persColl, log);
22 persColl->m_chanId = transColl->getChannel();
23}
24
#define endmsg
virtual void transToPers(const BCM_RDO_Collection *transColl, BCM_RDO_Collection_p0 *persColl, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
virtual void persToTrans(const BCM_RDO_Collection_p0 *persColl, BCM_RDO_Collection *transColl, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
virtual unsigned int getChannel() const
virtual void setChannel(unsigned int chanId)
virtual void persToTrans(const PERS *persVect, TRANS *transVect, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
virtual void transToPers(const TRANS *transVect, PERS *persVect, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...