|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/MsgStream.h"
16 static const InterfaceID IID_IRpcPadContByteStreamTool(
"Muon::RpcPadContByteStreamTool", 1, 0);
22 declareInterface<IRPC_RDOtoByteStreamTool>(
this);
29 m_hid2re.set(&m_idHelperSvc->rpcIdHelper());
33 return StatusCode::SUCCESS;
38 ATH_CHECK(m_byteStreamCnvSvc->getFullEventAssembler(fea,
"RpcRdoContByteStream"));
40 fea->
idMap().
set(&m_idHelperSvc->rpcIdHelper());
47 std::map<uint32_t, RpcROD_Encoder> mapEncoder;
49 for (; it_coll != it_coll_end; ++it_coll) {
50 const RpcPad* coll = (*it_coll);
52 int sector = coll->
sector();
53 uint32_t rodId = m_hid2re.getRodID(sector);
54 mapEncoder[rodId].add(coll);
62 for (;
it != it_end; ++
it) {
64 ((*it).second).
set(&m_hid2re);
65 ((*it).second).fillROD(*theROD);
68 return StatusCode::SUCCESS;
JetConstituentVector::iterator iterator
singleton-like access to IMessageSvc via open function and helper
Template class for assembling a full atlas raw event from subfragments.
::StatusCode StatusCode
StatusCode definition for legacy code.
void set(const RpcIdHelper *rpdId)
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
IDMAP_t & idMap()
Return reference to IDMAP.
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
std::vector< uint32_t > RODDATA
ROD data as a vector of unsigned int.
RODDATA * getRodData(uint32_t id)
get a block of ROD data
Use IdentifiableContainer with RpcPad.