15 std::unique_ptr<SCT_RDO_Container> trans(std::make_unique<SCT_RDO_Container>(
m_sctId->wafer_hash_max()));
19 for (; it != last; ++it) {
24 if (rdoCollOld==
nullptr) {
25 throw std::runtime_error(
"Got nullptr of collection reading old format SCT_RDO_Container");
32 if (trans->addCollection( rdoColl, rdoColl->
identifyHash() ).isFailure()) {
33 log << MSG::FATAL <<
"[p0] SCT RDOs could not be added to the container!" <<
endmsg;
34 throw std::runtime_error(
"SCT_RDO_ContainerCnv_p0::createTransient(): SCT RDOs could not be added to the container!");
38 return trans.release();
This is an Identifier helper class for the SCT subdetector.
DataVector< InDetRawDataCollection< SCT1_RawData > > SCT_RDO_Container_p0
InDetRawDataContainer< InDetRawDataCollection< SCT_RDORawData > > SCT_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.
virtual IdentifierHash identifyHash() const override final
virtual SCT_RDO_Container * createTransient(const SCT_RDO_Container_p0 *persObj, MsgStream &log)