92 {
93
94 MsgStream log(
msgSvc(),
"DstHltInfCnv");
95 log << MSG::DEBUG << "DstHltInfCnv::DataObjectToTObject" << endreq;
96 StatusCode sc=StatusCode::SUCCESS;
97
99 if (!dstHltInfCnvTds) {
100 log << MSG::ERROR << "Could not downcast to DstHltInf" << endreq;
101 return StatusCode::FAILURE;
102 }
103
104 DataObject *evt;
106 if (evt==NULL) {
107 log << MSG::ERROR << "Could not get DstHltInf in TDS " << endreq;
108 return StatusCode::FAILURE;
109 }
110
112 if (!devtTds) {
113 log << MSG::ERROR << "DstHltInfCnv:Could not downcast to TDS DstHltInf" << endreq;
114 }
115
116 IOpaqueAddress *addr;
118
120
122 if (!tHltInf) return sc;
124
130 Int_t nsub = dstHltInfCnvTds->
getNumber();
131 Int_t ncon = dstHltInfCnvTds->
getNCON();
132
134
142
144
145 return StatusCode::SUCCESS;
146}
float getTotalEnergy() const
uint32_t getCriteriaTable() const
uint32_t getVersion() const
uint32_t getNumber() const
uint32_t getEventType() const
uint32_t getAlgProcess() const
static THltEvent * getWriteObject()
returns object to be written (maintained here for all DIGI-converters)
IDataProviderSvc * m_eds
pointer to eventdataservice
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)
Convert the transient object to the requested representation.
void setNCON(const Int_t i)
void setVersion(const Int_t i)
void setNumber(const Int_t i)
void setTotalEnergy(const Double_t etot)
void setEventType(const Int_t i)
void setCriteriaTable(const Int_t i)
void setAlgProcess(const Int_t i)
void addDstHltInf(TDstHltInf *dstHltInf)
const TDstHltInf * getDstHltInf() const
_EXTERN_ std::string Event