#include <InDetPRD_Provider.h>
|
| static const InterfaceID & | interfaceID () |
| | AlgTool interface methods.
|
|
| const AtlasDetectorID * | m_idHelper |
| const PixelID * | m_pixIdHelper |
| | Helper to detect type of sub-detector from PRD->identify().
|
| SG::ReadHandleKey< PixelClusterContainer > | m_pixClusterContainerKey {this, "PixelClusterContainer", ""} |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"} |
| const SCT_ID * | m_sctIdHelper |
| SG::ReadHandleKey< SCT_ClusterContainer > | m_sctClusterContainerKey {this, "SCT_ClusterContainer", ""} |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"} |
| const TRT_ID * | m_trtIdHelper |
| SG::ReadHandleKey< TRT_DriftCircleContainer > | m_trtDriftCircleContainerKey {this, "TRT_DriftCircleContainer", ""} |
| 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 |
Definition at line 45 of file InDetPRD_Provider.h.
◆ StoreGateSvc_t
◆ InDetPRD_Provider()
| InDet::InDetPRD_Provider::InDetPRD_Provider |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
Definition at line 26 of file InDetPRD_Provider.cxx.
26 :
32{
33 declareInterface<Trk::IPRD_Provider>(this);
34}
const TRT_ID * m_trtIdHelper
const SCT_ID * m_sctIdHelper
const PixelID * m_pixIdHelper
Helper to detect type of sub-detector from PRD->identify().
const AtlasDetectorID * m_idHelper
◆ 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)
◆ 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
◆ finalize()
| StatusCode InDet::InDetPRD_Provider::finalize |
( |
| ) |
|
finalize
Definition at line 62 of file InDetPRD_Provider.cxx.
63{
65 return StatusCode::SUCCESS;
66}
#define ATH_MSG_VERBOSE(x)
◆ initialize()
| StatusCode InDet::InDetPRD_Provider::initialize |
( |
| ) |
|
Athena algtool's Hooks.
Definition at line 37 of file InDetPRD_Provider.cxx.
38{
40
42
44
46
48
55
58
59 return StatusCode::SUCCESS;
60}
#define ATH_CHECK
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
SG::ReadHandleKey< PixelClusterContainer > m_pixClusterContainerKey
SG::ReadHandleKey< SCT_ClusterContainer > m_sctClusterContainerKey
SG::ReadHandleKey< TRT_DriftCircleContainer > m_trtDriftCircleContainerKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
retrieve(aClass, aKey=None)
◆ 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.
◆ interfaceID()
| const InterfaceID & Trk::IPRD_Provider::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
AlgTool interface methods.
Definition at line 40 of file IPRD_Provider.h.
static const InterfaceID IID_IPRD_Provider("IPRD_Provider", 1, 0)
◆ 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.
◆ prdFromIdentifier()
return the Prd given the Identifier - make a HashId out of the Id and return the associated PRD
Implements Trk::IPRD_Provider.
Definition at line 69 of file InDetPRD_Provider.cxx.
69 {
70
71
74 return nullptr;
75 }
76
77
79
81 if(!pixClusterContainer.isValid())
83
85
88 ATH_MSG_VERBOSE(
"Pixel Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
91 return nullptr;
92 }
94 }
95
98 if(!sctClusterContainer.isValid())
100
101
104 IdentifierHash ideHash =
m_sctIdHelper->wafer_hash(idewafer);
105 ATH_MSG_VERBOSE(
"SCT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
108 return nullptr;
109 }
111 }
112
115 if(!trtDriftCircleContainer.isValid())
117
118
124 IdentifierHash ideHash =
m_trtIdHelper->straw_layer_hash(idestrawlayer);
125 ATH_MSG_VERBOSE(
"TRT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
128 return nullptr;
129 }
131 }
132 return nullptr;
133}
bool is_valid() const
Check if id is in a valid state.
bool is_valid() const
Check if id is in a valid state.
const Trk::PrepRawData * prdFromIdentifierContainer(const Trk::PrepRawDataContainer< Trk::PrepRawDataCollection< PrdT > > &cont, const Identifier &ideh, const IdentifierHash &ideHash) const
templated method since used for Pixel/SCT/TRT
◆ prdFromIdentifierContainer()
templated method since used for Pixel/SCT/TRT
Definition at line 62 of file InDetPRD_Provider.h.
65 {
66
67 const Trk::PrepRawDataCollection< PrdT >* prdCollection = cont.
indexFindPtr(ideHash);
68 if ( prdCollection == nullptr ){
69 ATH_MSG_VERBOSE(
"PRD Collection to IdentifierHash could not be found. Return 0.");
70 return 0;
71 }
72
73 const PrdT* prd = 0;
74
77 for ( ; prdIter != prdIterE; ++prdIter ){
78 if ( (*prdIter)->identify() == ideh ){
79 prd = (*prdIter);
80 break;
81 }
82 }
83
84 return prd;
85 }
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
virtual const T * indexFindPtr(IdentifierHash hashId) const override final
return pointer on the found entry or null if out of range using hashed index - fast version,...
◆ 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_idHelper
◆ m_pixClusterContainerKey
| SG::ReadHandleKey<PixelClusterContainer> InDet::InDetPRD_Provider::m_pixClusterContainerKey {this, "PixelClusterContainer", ""} |
|
private |
◆ m_pixelDetEleCollKey
Definition at line 93 of file InDetPRD_Provider.h.
93{this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
◆ m_pixIdHelper
| const PixelID* InDet::InDetPRD_Provider::m_pixIdHelper |
|
private |
Helper to detect type of sub-detector from PRD->identify().
Definition at line 89 of file InDetPRD_Provider.h.
◆ m_sctClusterContainerKey
| SG::ReadHandleKey<SCT_ClusterContainer> InDet::InDetPRD_Provider::m_sctClusterContainerKey {this, "SCT_ClusterContainer", ""} |
|
private |
◆ m_SCTDetEleCollKey
Definition at line 99 of file InDetPRD_Provider.h.
99{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
◆ m_sctIdHelper
| const SCT_ID* InDet::InDetPRD_Provider::m_sctIdHelper |
|
private |
◆ m_trtDriftCircleContainerKey
| SG::ReadHandleKey<TRT_DriftCircleContainer> InDet::InDetPRD_Provider::m_trtDriftCircleContainerKey {this, "TRT_DriftCircleContainer", ""} |
|
private |
◆ m_trtIdHelper
| const TRT_ID* InDet::InDetPRD_Provider::m_trtIdHelper |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: