20 std::unique_ptr<TRT_RDO_Container> trans(std::make_unique<TRT_RDO_Container>(
m_trtId->straw_layer_hash_max()));
26 for (; it != last; ++it) {
32 throw std::runtime_error(
"Got NULL collection reading old format TRT_RDO_Container");
39 if (trans->addCollection( rdoColl, rdoColl->
identifyHash() ).isFailure()) {
40 log << MSG::FATAL <<
"[p0] TRT RDOs could not be added to the container!" <<
endmsg;
41 throw std::runtime_error(
"TRT_RDO_ContainerCnv_p0::createTransient(): TRT RDOs could not be added to the container!");
45 return(trans.release());
#define MSG_DEBUG(log, x)
This is an Identifier helper class for the TRT subdetector.
DataVector< InDetRawDataCollection< TRT_LoLumRawData > > TRT_RDO_Container_p0
InDetRawDataContainer< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
virtual IdentifierHash identifyHash() const override final
virtual TRT_RDO_Container * createTransient(const TRT_RDO_Container_p0 *persObj, MsgStream &log)