13 m_recZddChannelCol = 0;
18 MsgStream log(
msgSvc(),
"RecZddChannelCnv");
19 log << MSG::DEBUG <<
"RecZddChannelCnv::TObjectToDataObject" << endreq;
24 if ( ! m_recZddChannelCol )
return StatusCode::SUCCESS;
27 TIter zddIter(m_recZddChannelCol);
31 m_common.m_rootRecZddChannelMap[zddRoot] = zddTDS;
40 zddCol->push_back(zddTDS);
43 delete m_recZddChannelCol;
44 m_recZddChannelCol = 0;
46 return StatusCode::SUCCESS;
51 MsgStream log(
msgSvc(),
"RecZddChannelCnv");
52 log << MSG::DEBUG <<
"RecZddChannelCnv::DataObjectToTObject" << endreq;
56 log << MSG::ERROR <<
"Could not downcast to RecZddChannelCol" << endreq;
57 return StatusCode::FAILURE;
63 log << MSG::ERROR <<
"Could not get ReconEvent in TDS" << endreq;
64 return StatusCode::FAILURE;
67 m_cnvSvc->getRecTrackCnv()->createRep(evt, addr);
71 if ( ! m_recZddChannelCol )
return StatusCode::SUCCESS;
75 RecZddChannelCol::const_iterator zdd = zddCol->begin();
77 for ( ; zdd != zddCol->end(); ++zdd ) {
89 return StatusCode::SUCCESS;
ObjectVector< RecZddChannel > RecZddChannelCol
RecZddChannelCnv(ISvcLocator *svc)
static const CLID & classID()
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
void setBaseLine(int baseLine)
void setScanCode(int scanCode)
void setFragments(const std::vector< FragType > &frags)
void setChannelId(int chId)
const std::vector< FragType > & fragments() const
Definition of a Root address, derived from IOpaqueAddress.
std::vector< void * > m_adresses
each converter knows the corresponding adresses
IDataProviderSvc * m_eds
pointer to eventdataservice
std::string m_rootBranchname
root branchname (may be concatenated of severals)
RootEventBaseCnv(const CLID &clid, ISvcLocator *svc)
const TObjArray * getRecZddChannelCol() const
void addRecZddChannel(TRecZddChannel *dtag)
void clearRecZddChannelCol()
void setFragments(const Fragments &frags)
void setBaseLine(int baseLine)
void setChannelId(int chId)
const Fragments & fragments() const
_EXTERN_ std::string Event