6#include "GaudiKernel/MsgStream.h"
7#include "GaudiKernel/ISvcLocator.h"
15 SmartIF<StoreGateSvc> detStore{Gaudi::svcLocator()->service(
"DetectorStore",
false)};
16 if (!detStore) {
return;}
17 StatusCode
sc = detStore->retrieve(
m_idHelper,
"MDTIDHELPER");
18 if (
sc != StatusCode::SUCCESS) {
return; }
30 else m_idHelper->get_module_hash(mod_id,mod_hash);
32 *transColl =
MdtCsm (mod_id,
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current MdtCsm
void clear()
Erase all the elements in the collection.
value_type get_compact() const
Get the compact id.
This is a "hash" representation of an Identifier.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
virtual void persToTrans(const MdtCsm_p1 *persColl, MdtCsm *transColl, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
const MdtIdHelper * m_idHelper
virtual void transToPers(const MdtCsm *transColl, MdtCsm_p1 *persColl, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
MDT RDOs : Chamber Service Module, container of AmtHits of a single Mdt chamber.
uint16_t CsmId() const
Returns the CSM online id (online identifier inside a MROD)
IdentifierHash identifyHash() const
Returns the CSM offline identifier hash (chamber offline id)
uint16_t MrodId() const
Returns the MROD id from the CSM header.
Identifier identify() const
Returns the CSM offline identifier (chamber offline id)
uint16_t SubDetId() const
Returns the sub-detector Id.
virtual void persToTrans(const PERS *persVect, TRANS *transVect, MsgStream &log)
Converts vector of PERS::value_type objects to vector of TRANS::value_type objects,...
virtual void transToPers(const TRANS *transVect, PERS *persVect, MsgStream &log)
Converts vector of TRANS::value_type objects to vector of PERS::value_type objects,...
@ OWN_ELEMENTS
this data object owns its elements