#include <MdtRDO_Decoder.h>
|
| | MdtRDO_Decoder (const std::string &type, const std::string &name, const IInterface *parent) |
| StatusCode | initialize () override final |
| std::unique_ptr< MdtDigit > | getDigit (const EventContext &ctx, const MdtAmtHit &amtHit, uint16_t subdetId, uint16_t mrodId, uint16_t csmId) const override final |
| 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 | sysInitialize () override |
| | Perform system initialization for an algorithm.
|
| 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 |
| | DeclareInterfaceID (Muon::IMDT_RDO_Decoder, 1, 0) |
| | AlgTool InterfaceID.
|
Definition at line 25 of file MdtRDO_Decoder.h.
◆ StoreGateSvc_t
◆ MdtRDO_Decoder()
| MdtRDO_Decoder::MdtRDO_Decoder |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 9 of file MdtRDO_Decoder.cxx.
9 :
11 declareInterface<IMDT_RDO_Decoder>(this);
12}
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ DeclareInterfaceID()
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
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
◆ getDigit()
| std::unique_ptr< MdtDigit > MdtRDO_Decoder::getDigit |
( |
const EventContext & | ctx, |
|
|
const MdtAmtHit & | amtHit, |
|
|
uint16_t | subdetId, |
|
|
uint16_t | mrodId, |
|
|
uint16_t | csmId ) const |
|
finaloverridevirtual |
Implements Muon::IMDT_RDO_Decoder.
Definition at line 20 of file MdtRDO_Decoder.cxx.
22 {
23 SG::ReadCondHandle<MuonMDT_CablingMap> readHandle{
m_readKey, ctx};
24 const MuonMDT_CablingMap* readCdo{*readHandle};
25 if (!readCdo) {
27 return nullptr;
28 }
35
39
40 if (!readCdo->
getOfflineId(cabling_data, msgStream()))
return nullptr;
41 Identifier chanId;
42 if (!readCdo->
convert(cabling_data, chanId,
false))
return nullptr;
43 int tdcCounts = coarse * 32 + fine;
44 return std::make_unique<MdtDigit>(chanId, tdcCounts,
width, amtHit.
isMasked());
45}
uint16_t channelId() const
MdtCablingData CablingData
bool getOfflineId(CablingData &cabling_data, MsgStream &log) const
return the offline id given the online id
bool convert(const CablingData &cabling_data, Identifier &id, bool check_valid=true) const
converts the cabling data into an identifier.
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_readKey
◆ initialize()
| StatusCode MdtRDO_Decoder::initialize |
( |
| ) |
|
|
finaloverride |
Definition at line 14 of file MdtRDO_Decoder.cxx.
14 {
17 return StatusCode::SUCCESS;
18}
#define ATH_CHECK
Evaluate an expression and check for errors.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
◆ inputHandles()
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.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
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()
Definition at line 380 of file AthCommonDataStore.h.
381 {
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()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_evtStore
◆ m_idHelperSvc
Definition at line 38 of file MdtRDO_Decoder.h.
38{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
◆ m_readKey
Definition at line 39 of file MdtRDO_Decoder.h.
39{this, "ReadKey", "MuonMDT_CablingMap", "Key of MuonMDT_CablingMap"};
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: