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);
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;
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
static TRecTrackEvent * getWriteObject()
returns object to be written (maintained here for all DIGI-converters)
RecZddChannelCnv(ISvcLocator *svc)
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.
RecTrackCnv * getRecTrackCnv()
Base class for all Root Converters.
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)
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)
Convert the transient object to the requested representation.
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
static std::map< const TObject *, const RecZddChannel * > m_rootRecZddChannelMap
_EXTERN_ std::string Event