46 return StatusCode::SUCCESS;
52 const ROBFragmentList& vecRobs,
const EventContext& ctx)
const {
53 std::set<uint32_t> robIdSet;
59 if (!externalCacheRDO) {
65 ATH_CHECK(rdoContainerHandle.
record(std::make_unique<CscRawDataContainer>(update.ptr())));
72 ATH_MSG_ERROR(
"CSC RDO container pointer is null, cannot decode data");
73 return StatusCode::FAILURE;
78 ATH_MSG_DEBUG(
"Before processing numColls=" << container->numberOfCollections());
80 ATH_MSG_DEBUG(
"vector of ROB ID to decode: size = " << vecRobs.size());
83 uint32_t robid = frag->rod_source_id();
86 if (!robIdSet.insert(robid).second) {
87 ATH_MSG_DEBUG(
" ROB Fragment with ID " << std::hex << robid << std::dec <<
" already decoded, skip");
89 m_decoder->fillCollection(*eventInfo, *frag, *container);
93 ATH_MSG_DEBUG(
"After processing numColls=" << container->numberOfCollections());
95 return StatusCode::SUCCESS;
102 const EventContext& ctx)
const {
103 ROBFragmentList vecOfRobf;
104 std::vector<uint32_t> robIds;
106 for (
unsigned int i = 0; i < rdoIdhVect.size(); ++i) {
107 uint32_t rob_id = 0xffff;
108 m_cabling->hash2RobFull(rdoIdhVect[i], rob_id);
109 robIds.push_back(rob_id);
123 const EventContext& ctx)
const {
124 ROBFragmentList vecOfRobf;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Defines the ROB data entity. The ROB data is an abstract entity that is used to decouple the raw even...
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
This container provides access to collections of CSC RDOs and a mechanism for recording them.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
eformat::ROBFragment< PointerType > ROBFragment
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
EventInfo_v1 EventInfo
Definition of the latest event info version.