13 declareInterface<IMuonRawDataProviderTool>(
this);
24 return StatusCode::SUCCESS;
31 ATH_MSG_ERROR(__PRETTY_FUNCTION__ <<
" not yet implemented!");
32 return StatusCode::FAILURE;
38 return StatusCode::FAILURE;
43 ATH_MSG_ERROR(__PRETTY_FUNCTION__ <<
" not yet implemented!");
44 return StatusCode::FAILURE;
50 return StatusCode::FAILURE;
57 ATH_MSG_DEBUG(__PRETTY_FUNCTION__ <<
": Got " << fragments.size() <<
" fragments");
63 ATH_CHECK(rdoContainerHandle.
record(std::make_unique<xAOD::NSWTPRDOContainer>(), std::make_unique<xAOD::NSWTPRDOAuxContainer>()));
64 pContainer = rdoContainerHandle.
ptr();
65 for (
const auto *
const fragment : fragments) {
70 return StatusCode::SUCCESS;
79 std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*> fragments;
80 std::vector<uint32_t> robIDs;
84 for (uint32_t detectorID : {eformat::MUON_STGC_ENDCAP_A_SIDE, eformat::MUON_STGC_ENDCAP_C_SIDE}) {
85 for (uint8_t sector{}; sector < 16; sector++) {
86 uint16_t moduleID = (0x1 << 4) | sector;
87 eformat::helper::SourceIdentifier sourceID{
static_cast<eformat::SubDetector
>(detectorID), moduleID};
88 robIDs.push_back(sourceID.simple_code());
#define ATH_CHECK
Evaluate an expression and check for errors.
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.
NSWTPRDOContainer_v1 NSWTPRDOContainer
Define the version of the NRPC RDO container.