![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <InDetPRD_Provider.h>
|
| InDetPRD_Provider (const std::string &t, const std::string &n, const IInterface *p) |
|
StatusCode | initialize () |
| Athena algtool's Hooks. More...
|
|
StatusCode | finalize () |
| finalize More...
|
|
StatusCode | retrieveCollection () |
| retrieve the PRD collection from StoreGate More...
|
|
const Trk::PrepRawData * | prdFromIdentifier (const Identifier &ide, size_t &ndof) const |
| return the Prd given the Identifier - make a HashId out of the Id and return the associated PRD More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Definition at line 43 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 |
|
) |
| |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ 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 |
( |
| ) |
|
◆ initialize()
StatusCode InDet::InDetPRD_Provider::initialize |
( |
| ) |
|
◆ 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()
static const InterfaceID& Trk::IPRD_Provider::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
AlgTool interface methods.
Definition at line 40 of file IPRD_Provider.h.
40 {
return IID_IPRD_Provider; }
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ 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 86 of file InDetPRD_Provider.cxx.
99 ATH_MSG_VERBOSE(
"Pixel Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
112 ATH_MSG_VERBOSE(
"SCT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
128 ATH_MSG_VERBOSE(
"TRT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
◆ prdFromIdentifierContainer()
templated method since used for Pixel/SCT/TRT
Definition at line 63 of file InDetPRD_Provider.h.
69 if ( prdCollection ==
nullptr ){
70 ATH_MSG_VERBOSE(
"PRD Collection to IdentifierHash could not be found. Return 0.");
78 for ( ; prdIter != prdIterE; ++prdIter ){
79 if ( (*prdIter)->identify() == ideh ){
◆ renounce()
◆ renounceArray()
◆ retrieveCollection()
StatusCode InDet::InDetPRD_Provider::retrieveCollection |
( |
| ) |
|
|
virtual |
◆ 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()
◆ m_detStore
◆ m_evtStore
◆ m_idHelper
◆ m_pixClusterContainer
◆ m_pixClusterContainerName
std::string InDet::InDetPRD_Provider::m_pixClusterContainerName |
|
private |
◆ m_pixelDetEleCollKey
◆ m_pixIdHelper
Helper to detect type of sub-detector from PRD->identify().
Definition at line 90 of file InDetPRD_Provider.h.
◆ m_sctClusterContainer
◆ m_sctClusterContainerName
std::string InDet::InDetPRD_Provider::m_sctClusterContainerName |
|
private |
◆ m_SCTDetEleCollKey
◆ m_sctIdHelper
◆ m_trtDriftCircleContainer
◆ m_trtDriftCircleContainerName
std::string InDet::InDetPRD_Provider::m_trtDriftCircleContainerName |
|
private |
◆ m_trtIdHelper
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
Const iterator class for DataVector/DataList.
bool is_sct(Identifier id) const
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::string m_sctClusterContainerName
bool is_trt(Identifier id) const
#define ATH_MSG_VERBOSE(x)
const TRT_ID * m_trtIdHelper
bool is_valid() const
Check if id is in a valid state.
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
std::string m_pixClusterContainerName
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
const PixelID * m_pixIdHelper
Helper to detect type of sub-detector from PRD->identify().
const TRT_DriftCircleContainer * m_trtDriftCircleContainer
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
int layer_or_wheel(const Identifier &id) const
bool is_valid() const
Check if id is in a valid state.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
StatusCode initialize(bool used=true)
int phi_module(const Identifier &id) const
const_iterator end() const noexcept
Return a const_iterator pointing past the end 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,...
const PixelClusterContainer * m_pixClusterContainer
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
const SCT_ClusterContainer * m_sctClusterContainer
std::string m_trtDriftCircleContainerName
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
IdentifierHash straw_layer_hash(Identifier straw_layer_id) const
straw_layer hash from id - optimized
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
const AtlasDetectorID * m_idHelper
const SCT_ID * m_sctIdHelper