ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::RpcRdoToRpcDigit Class Reference

#include <RpcRdoToRpcDigit.h>

Inheritance diagram for Muon::RpcRdoToRpcDigit:
Collaboration diagram for Muon::RpcRdoToRpcDigit:

Public Member Functions

virtual ~RpcRdoToRpcDigit ()=default
virtual StatusCode initialize () override final
virtual StatusCode execute (const EventContext &ctx) const override final
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

using TempDigitContainer = std::vector<std::unique_ptr<RpcDigitCollection>>
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

StatusCode decodeLegacyRdo (const EventContext &ctx, TempDigitContainer &container) const
 : Decode the legacy RpcRdo format
StatusCode decodeNRpc (const EventContext &ctx, TempDigitContainer &container) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< IRPC_RDO_Decoderm_rpcRdoDecoderTool {this, "rpcRdoDecoderTool", "RpcRDO_Decoder", ""}
ServiceHandle< IMuonIdHelperSvcm_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
SG::ReadHandleKey< RpcPadContainerm_rpcRdoKey {this, "RpcRdoContainer", "RPCPAD", "Rpc RDO Input"}
SG::WriteHandleKey< RpcDigitContainerm_rpcDigitKey {this, "RpcDigitContainer", "RPC_DIGITS", "Rpc Digit Output"}
SG::ReadCondHandleKey< RpcCablingCondDatam_rpcReadKey {this, "RpcCablingKey", "RpcCablingCondData", "Key of RpcCablingCondData"}
Gaudi::Property< bool > m_decodeLegacyRDO {this, "DecodeLegacyRDO", true}
Gaudi::Property< bool > m_decodeNrpcRDO {this, "DecodeNrpcRDO", false}
Gaudi::Property< bool > m_patch_for_rpc_time {this, "PatchForRpcTime", false, "flag for patching the RPC time"}
SG::ReadHandleKey< xAOD::NRPCRDOContainerm_nRpcRdoKey {this, "NRpcRdoContainer", "NRPCRDO", "BIS78 RPC Rdo input with ToTs"}
SG::ReadCondHandleKey< RpcCablingMapm_nRpcCablingKey {this, "NRpcCablingKey", "MuonNRPC_CablingMap", "Key of input MDT cabling map"}
SG::ReadCondHandleKey< MuonGM::MuonDetectorManagerm_DetectorManagerKey
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 20 of file RpcRdoToRpcDigit.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

◆ TempDigitContainer

using Muon::RpcRdoToRpcDigit::TempDigitContainer = std::vector<std::unique_ptr<RpcDigitCollection>>
private

Definition at line 29 of file RpcRdoToRpcDigit.h.

Constructor & Destructor Documentation

◆ ~RpcRdoToRpcDigit()

virtual Muon::RpcRdoToRpcDigit::~RpcRdoToRpcDigit ( )
virtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ decodeLegacyRdo()

StatusCode Muon::RpcRdoToRpcDigit::decodeLegacyRdo ( const EventContext & ctx,
TempDigitContainer & container ) const
private

: Decode the legacy RpcRdo format

For each pad, loop on the coincidence matrices

Loop on the digits corresponding to the fired channel

Definition at line 72 of file RpcRdoToRpcDigit.cxx.

72 {
73 if (!m_decodeLegacyRDO) {
74 ATH_MSG_VERBOSE("No legacy containers to be decoded ");
75 return StatusCode::SUCCESS;
76 }
77 SG::ReadHandle rdoContainer(m_rpcRdoKey, ctx);
78 ATH_CHECK(rdoContainer.isPresent());
79 ATH_MSG_DEBUG("Retrieved " << rdoContainer->size() << " RPC RDOs.");
80 SG::ReadCondHandle cablingMap{m_rpcReadKey, ctx};
81 ATH_CHECK(cablingMap.isValid());
82
83 for (const RpcPad* rdoColl : *rdoContainer) {
84 ATH_MSG_DEBUG(" Number of CMs in this Pad " << rdoColl->size());
85 // Get pad online id and sector id
86 uint16_t padId = rdoColl->onlineId();
87 uint16_t sectorId = rdoColl->sector();
88
90 for (const RpcCoinMatrix* coinMatrix : *rdoColl) {
91 // Get CM online Id
92 uint16_t cmaId = coinMatrix->onlineId();
93
94 // For each CM, loop on the fired channels
95 for (const RpcFiredChannel* rpcChan : *coinMatrix) {
96 std::vector<std::unique_ptr<RpcDigit>> digitVec{m_rpcRdoDecoderTool->getDigit(rpcChan, sectorId,
97 padId, cmaId,
98 cablingMap.cptr())};
99
100 if (digitVec.empty()) continue;
101
103 for (std::unique_ptr<RpcDigit>& newDigit : digitVec) {
104 const IdentifierHash collHash = m_idHelperSvc->moduleHash(newDigit->identify());
105 std::unique_ptr<RpcDigitCollection>& digitColl = container[collHash];
106 if (!digitColl) {
107 digitColl = std::make_unique<RpcDigitCollection>(m_idHelperSvc->chamberId(newDigit->identify()),
108 collHash);
109 }
110 digitColl->push_back(std::move(newDigit));
111 }
112 }
113 }
114 }
115 return StatusCode::SUCCESS;
116 }
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_DEBUG(x)
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current RpcCoinMatrix
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current RpcPad
Gaudi::Property< bool > m_decodeLegacyRDO
ToolHandle< IRPC_RDO_Decoder > m_rpcRdoDecoderTool
SG::ReadCondHandleKey< RpcCablingCondData > m_rpcReadKey
ServiceHandle< IMuonIdHelperSvc > m_idHelperSvc
SG::ReadHandleKey< RpcPadContainer > m_rpcRdoKey
setWord1 uint16_t

◆ decodeNRpc()

StatusCode Muon::RpcRdoToRpcDigit::decodeNRpc ( const EventContext & ctx,
TempDigitContainer & container ) const
private

Loop over the container

Fill the cabling object

Find the proper Digit collection

The collection has not been made thus far

We can fill the digit Need to add the correction

Definition at line 117 of file RpcRdoToRpcDigit.cxx.

117 {
118 if (!m_decodeNrpcRDO) {
119 ATH_MSG_VERBOSE("NRPC rdo decoding has been switched off ");
120 return StatusCode::SUCCESS;
121 }
122
123 SG::ReadHandle rdoContainer{m_nRpcRdoKey, ctx};
124 ATH_CHECK(rdoContainer.isPresent());
125 ATH_MSG_DEBUG("Retrieved " << rdoContainer->size() << " NRPC RDOs.");
126 SG::ReadCondHandle cabling{m_nRpcCablingKey, ctx};
127 if (!cabling.isValid()) {
128 ATH_MSG_FATAL("Failed to retrieve "<<m_nRpcCablingKey.fullKey());
129 return StatusCode::FAILURE;
130 }
131 SG::ReadCondHandle muonDetMgr{m_DetectorManagerKey,ctx};
132 if (!muonDetMgr.isValid()) {
133 ATH_MSG_FATAL("Failed to retrieve the readout geometry "<<muonDetMgr.fullKey());
134 return StatusCode::FAILURE;
135 }
136 const RpcIdHelper& id_helper = m_idHelperSvc->rpcIdHelper();
137
139 for (const xAOD::NRPCRDO* rdo : *rdoContainer) {
140 ATH_MSG_VERBOSE("Convert RDO boardSector: "<< static_cast<int>(rdo->boardsector())<<", board:"
141 <<static_cast<int>(rdo->board())<<" channel: "<<static_cast<int>(rdo->channel()) <<", time: "
142 <<rdo->time()<<", ToT: "<<rdo->timeoverthr());
143
145 RpcCablingData convObj{};
146 convObj.subDetector = rdo->subdetector();
147 convObj.boardSector = rdo->boardsector();
148 convObj.board = rdo->board();
149 convObj.channelId = rdo->channel();
150
151 if (!cabling->getOfflineId(convObj, msgStream())) {
152 ATH_MSG_FATAL("Failed to convert online -> offline");
153 return StatusCode::FAILURE;
154 }
155 Identifier chanId{0};
156 if (!cabling->convert(convObj, chanId)) {
157 return StatusCode::FAILURE;
158 }
160 IdentifierHash modHash = m_idHelperSvc->moduleHash(chanId);
161 std::unique_ptr<RpcDigitCollection>& coll = digit_map[modHash];
163 if (!coll) {
164 coll = std::make_unique<RpcDigitCollection>(id_helper.elementID(chanId), modHash);
165 }
168 const double timeOfFlight = inverseSpeedOfLight * (muonDetMgr->getRpcReadoutElement(chanId)->stripPos(chanId)).mag();
169 const float digit_time = rdo->time() - timeOfFlight;
170 const float ToT = m_patch_for_rpc_time ? rdo->timeoverthr() + timeOfFlight : rdo->timeoverthr() ;
171 std::unique_ptr<RpcDigit> digit = std::make_unique<RpcDigit>(chanId, digit_time, ToT, convObj.stripSide());
172 coll->push_back(std::move(digit));
173 }
174 return StatusCode::SUCCESS;
175 }
#define ATH_MSG_FATAL(x)
Gaudi::Property< bool > m_decodeNrpcRDO
SG::ReadHandleKey< xAOD::NRPCRDOContainer > m_nRpcRdoKey
Gaudi::Property< bool > m_patch_for_rpc_time
SG::ReadCondHandleKey< RpcCablingMap > m_nRpcCablingKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Identifier elementID(int stationName, int stationEta, int stationPhi, int doubletR) const
const DataObjID & fullKey() const
bool isPresent() const
Is the referenced object present in SG?
NRPCRDO_v1 NRPCRDO
Define the version of the NRPC RDO class.
Definition NRPCRDO.h:13

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode Muon::RpcRdoToRpcDigit::execute ( const EventContext & ctx) const
finaloverridevirtual

Definition at line 30 of file RpcRdoToRpcDigit.cxx.

30 {
31 ATH_MSG_DEBUG("in execute()");
32 // retrieve the collection of RDO
33
34 const size_t modHashMax{m_idHelperSvc->rpcIdHelper().module_hash_max()};
35 TempDigitContainer tempOut(modHashMax);
36
37 ATH_CHECK(decodeLegacyRdo(ctx, tempOut));
38 ATH_CHECK(decodeNRpc(ctx, tempOut));
39
40 if (msgLvl(MSG::VERBOSE)) {
41 for (const std::unique_ptr<RpcDigitCollection>& digitCollPtr : tempOut) {
42 if (!digitCollPtr) {
43 continue;
44 }
45 std::sort(digitCollPtr->begin(), digitCollPtr->end(), [](const RpcDigit* a,
46 const RpcDigit* b) {
47 return a->identify() < b->identify();
48 });
49
50 for (const RpcDigit* digitPtr : *digitCollPtr) {
51 ATH_MSG_VERBOSE(" Digit id: " << m_idHelperSvc->toString(digitPtr->identify())
52 << " time: " << digitPtr->time()
53 << " ToT: " << digitPtr->ToT()
54 << " stripSide: " << digitPtr->stripSide());
55 }
56 }
57 }
58
59 SG::WriteHandle writeHandle{m_rpcDigitKey, ctx};
60 ATH_CHECK(writeHandle.record(std::make_unique<RpcDigitContainer>(modHashMax)));
61
62 for (size_t coll_hash = 0; coll_hash < modHashMax; ++coll_hash) {
63 if (tempOut[coll_hash] && tempOut[coll_hash]->size()) {
64 ATH_CHECK(writeHandle->addCollection(tempOut[coll_hash].release(), coll_hash));
65 }
66 }
67
68 ATH_MSG_DEBUG("Decoding RPC RDO into RPC Digit");
69 return StatusCode::SUCCESS;
70 }
static Double_t a
bool msgLvl(const MSG::Level lvl) const
StatusCode decodeNRpc(const EventContext &ctx, TempDigitContainer &container) const
StatusCode decodeLegacyRdo(const EventContext &ctx, TempDigitContainer &container) const
: Decode the legacy RpcRdo format
SG::WriteHandleKey< RpcDigitContainer > m_rpcDigitKey
std::vector< std::unique_ptr< RpcDigitCollection > > TempDigitContainer
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ initialize()

StatusCode Muon::RpcRdoToRpcDigit::initialize ( )
finaloverridevirtual

Definition at line 13 of file RpcRdoToRpcDigit.cxx.

13 {
14 ATH_CHECK(m_idHelperSvc.retrieve());
15 ATH_CHECK(m_rpcDigitKey.initialize());
17 ATH_MSG_ERROR("Neither legacy or xAOD::Rpcs shall be translated.");
18 return StatusCode::FAILURE;
19 }
21 ATH_CHECK(m_rpcRdoDecoderTool.retrieve(EnableTool{m_decodeLegacyRDO}));
23
27
28 return StatusCode::SUCCESS;
29 }
#define ATH_MSG_ERROR(x)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_decodeLegacyRDO

Gaudi::Property<bool> Muon::RpcRdoToRpcDigit::m_decodeLegacyRDO {this, "DecodeLegacyRDO", true}
private

Definition at line 40 of file RpcRdoToRpcDigit.h.

40{this, "DecodeLegacyRDO", true};

◆ m_decodeNrpcRDO

Gaudi::Property<bool> Muon::RpcRdoToRpcDigit::m_decodeNrpcRDO {this, "DecodeNrpcRDO", false}
private

Definition at line 41 of file RpcRdoToRpcDigit.h.

41{this, "DecodeNrpcRDO", false};

◆ m_DetectorManagerKey

SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> Muon::RpcRdoToRpcDigit::m_DetectorManagerKey
private
Initial value:
{this, "DetectorManagerKey", "MuonDetectorManager",
"Key of input MuonDetectorManager condition data"}

Definition at line 47 of file RpcRdoToRpcDigit.h.

47 {this, "DetectorManagerKey", "MuonDetectorManager",
48 "Key of input MuonDetectorManager condition data"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_idHelperSvc

ServiceHandle<IMuonIdHelperSvc> Muon::RpcRdoToRpcDigit::m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
private

Definition at line 35 of file RpcRdoToRpcDigit.h.

35{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};

◆ m_nRpcCablingKey

SG::ReadCondHandleKey<RpcCablingMap> Muon::RpcRdoToRpcDigit::m_nRpcCablingKey {this, "NRpcCablingKey", "MuonNRPC_CablingMap", "Key of input MDT cabling map"}
private

Definition at line 45 of file RpcRdoToRpcDigit.h.

45{this, "NRpcCablingKey", "MuonNRPC_CablingMap", "Key of input MDT cabling map"};

◆ m_nRpcRdoKey

SG::ReadHandleKey<xAOD::NRPCRDOContainer> Muon::RpcRdoToRpcDigit::m_nRpcRdoKey {this, "NRpcRdoContainer", "NRPCRDO", "BIS78 RPC Rdo input with ToTs"}
private

Definition at line 44 of file RpcRdoToRpcDigit.h.

44{this, "NRpcRdoContainer", "NRPCRDO", "BIS78 RPC Rdo input with ToTs"};

◆ m_patch_for_rpc_time

Gaudi::Property<bool> Muon::RpcRdoToRpcDigit::m_patch_for_rpc_time {this, "PatchForRpcTime", false, "flag for patching the RPC time"}
private

Definition at line 42 of file RpcRdoToRpcDigit.h.

42{this, "PatchForRpcTime", false, "flag for patching the RPC time"};

◆ m_rpcDigitKey

SG::WriteHandleKey<RpcDigitContainer> Muon::RpcRdoToRpcDigit::m_rpcDigitKey {this, "RpcDigitContainer", "RPC_DIGITS", "Rpc Digit Output"}
private

Definition at line 37 of file RpcRdoToRpcDigit.h.

37{this, "RpcDigitContainer", "RPC_DIGITS", "Rpc Digit Output"};

◆ m_rpcRdoDecoderTool

ToolHandle<IRPC_RDO_Decoder> Muon::RpcRdoToRpcDigit::m_rpcRdoDecoderTool {this, "rpcRdoDecoderTool", "RpcRDO_Decoder", ""}
private

Definition at line 34 of file RpcRdoToRpcDigit.h.

34{this, "rpcRdoDecoderTool", "RpcRDO_Decoder", ""};

◆ m_rpcRdoKey

SG::ReadHandleKey<RpcPadContainer> Muon::RpcRdoToRpcDigit::m_rpcRdoKey {this, "RpcRdoContainer", "RPCPAD", "Rpc RDO Input"}
private

Definition at line 36 of file RpcRdoToRpcDigit.h.

36{this, "RpcRdoContainer", "RPCPAD", "Rpc RDO Input"};

◆ m_rpcReadKey

SG::ReadCondHandleKey<RpcCablingCondData> Muon::RpcRdoToRpcDigit::m_rpcReadKey {this, "RpcCablingKey", "RpcCablingCondData", "Key of RpcCablingCondData"}
private

Definition at line 38 of file RpcRdoToRpcDigit.h.

38{this, "RpcCablingKey", "RpcCablingCondData", "Key of RpcCablingCondData"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: