18 {
19
20 ROBFragmentList fragments;
21 std::vector<uint32_t> robIDs;
22
23
24
25 for (uint32_t detectorID : {eformat::MUON_STGC_ENDCAP_A_SIDE, eformat::MUON_STGC_ENDCAP_C_SIDE}) {
26 for (uint8_t sector{}; sector < 16; sector++) {
27 uint16_t moduleID = (0x2 << 4) | sector;
28 eformat::helper::SourceIdentifier sourceID{static_cast<eformat::SubDetector>(detectorID), moduleID};
29 robIDs.push_back(sourceID.simple_code());
30 }
31 }
32
34 ATH_MSG_DEBUG(__PRETTY_FUNCTION__ <<
": Got " << fragments.size() <<
" fragments");
35 SG::WriteHandle<NSW_PadTriggerDataContainer> rdoContainerHandle{
m_rdoContainerKey, ctx};
36 NSW_PadTriggerDataContainer* pContainer{nullptr};
37
38
41 } else {
43 pContainer = rdoContainerHandle.
ptr();
44 }
45
46 if (!pContainer) {
47 ATH_MSG_ERROR(
"Could not retrieve nor create Pad Trigger RDO container!");
48 return StatusCode::FAILURE;
49 }
50
51 for (const auto *const fragment : fragments) {
52
54 }
55 return StatusCode::SUCCESS;
56}
#define ATH_CHECK
Evaluate an expression and check for errors.
bool isPresent() const
Is the referenced object present in SG?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.