![]() |
ATLAS Offline Software
|
New Geometry builder that adapts to different layer setups. More...
#include <RobustTrackingGeometryBuilderImpl.h>
Public Member Functions | |
| RobustTrackingGeometryBuilderImpl (const std::string &, const std::string &, const IInterface *) | |
| Constructor. | |
| virtual | ~RobustTrackingGeometryBuilderImpl ()=default |
| Destructor. | |
| virtual StatusCode | initialize () override |
| AlgTool initialize method. | |
| 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 |
Protected Types | |
| enum | ToolType { Cond = 0 , Svc = 1 } |
Protected Member Functions | |
| template<ToolType type, typename LayerBuilders, typename PipeBuilder> | |
| std::unique_ptr< Trk::TrackingGeometry > | trackingGeometryImpl (const LayerBuilders &layerHandles, const PipeBuilder &pipeHandle, const EventContext *ctx=nullptr, SG::WriteCondHandle< Trk::TrackingGeometry > *whandle=nullptr) const |
| Trk::TrackingVolume * | packVolumeTriple (const std::vector< Trk::Layer * > &negLayers, const std::vector< Trk::Layer * > ¢ralLayers, const std::vector< Trk::Layer * > &posLayers, double rMin, double rMax, double zMin, double zPosCentral, const std::string &baseName="UndefinedVolume", int colorCode=21, Trk::BinningType bintype=Trk::arbitrary) const |
| Private method, creates and packs a triple containing of NegEndcap-Barrel-PosEndcap layers. | |
| Trk::TrackingVolume * | packVolumeTriple (const std::vector< Trk::TrackingVolume * > &negVolumes, const std::vector< Trk::TrackingVolume * > ¢ralVolumes, const std::vector< Trk::TrackingVolume * > &posVolumes, const std::string &baseName="UndefinedVolume") const |
| Private method, creates and packs a triple containing of NegEndcap-Barrel-PosEndcap volumes. | |
| 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. | |
| void | glueVolumes (TrackingVolume &firstVol, BoundarySurfaceFace firstFace, TrackingVolume &secondVol, BoundarySurfaceFace secondFace) const |
| protected method to glue two Volumes together input: | |
Static Protected Member Functions | |
| static void | setBoundarySurface (TrackingVolume &tvol, std::shared_ptr< BoundarySurface< TrackingVolume > > bsurf, BoundarySurfaceFace face) |
| protected method to set the boundary surface of a tracking volume | |
| static void | setInsideVolume (TrackingVolume &tvol, BoundarySurfaceFace face, TrackingVolume *insidevol) |
| protected method to set inside Volume of a BoundarySurface: input: | |
| static void | setInsideVolumeArray (TrackingVolume &tvol, BoundarySurfaceFace face, const std::shared_ptr< BinnedArray< TrackingVolume > > &insidevolarray) |
| protected method to set inside VolumeArray of a BoundarySurface: input: | |
| static void | setOutsideVolume (TrackingVolume &tvol, BoundarySurfaceFace face, TrackingVolume *outsidevol) |
| protected method to set outside Volume of a BoundarySurface: input: | |
| static void | setOutsideVolumeArray (TrackingVolume &tvol, BoundarySurfaceFace face, const std::shared_ptr< BinnedArray< TrackingVolume > > &outsidevolarray) |
| protected method to set outside VolumeArray of a BoundarySurface: input: | |
| static void | confineVolume (TrackingVolume &tvol, TrackingVolume *outsidevol) |
| protected method to confine (dense) volumes: input: | |
Protected Attributes | |
| CxxUtils::CachedUniquePtrT< Trk::Material > | m_materialProperties |
| overal material properties of the ID | |
| PublicToolHandle< Trk::ITrackingVolumeCreator > | m_trackingVolumeCreator |
| Helper Tool to create TrackingVolumes. | |
| PublicToolHandle< Trk::ILayerArrayCreator > | m_layerArrayCreator |
| Helper Tool to create BinnedArrays. | |
| IntegerArrayProperty | m_layerBinningType |
| binning type for the provided layers | |
| IntegerArrayProperty | m_colorCodesConfig |
| Color codes. | |
| ServiceHandle< IEnvelopeDefSvc > | m_enclosingEnvelopeSvc |
| the service to provide the ID envelope size | |
| DoubleArrayProperty | m_enclosingCylinderRadius |
| the cylinder layer inside the enclosing volume | |
| DoubleArrayProperty | m_enclosingDiscPositionZ |
| the disc position inside the enclosing volume | |
| DoubleProperty | m_layerEnvelopeCover |
| innermost - outermost | |
| BooleanProperty | m_buildBoundaryLayers |
| create boundary layers | |
| BooleanProperty | m_replaceJointBoundaries |
| run with replacement of all joint boundaries | |
| DoubleProperty | m_outwardsFraction |
| defines how much you orient yourself in an outwards way (see above) | |
| BooleanProperty | m_indexStaticLayers |
| forces robust indexing for layers | |
| StringProperty | m_namespace |
| identificaton namespace | |
| StringProperty | m_exitVolume |
| the final ID container | |
| BooleanProperty | m_isITk |
| changes volume boundary calculation for ITk layouts | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| 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 |
New Geometry builder that adapts to different layer setups.
Only a few parameters are not automated:
Definition at line 65 of file RobustTrackingGeometryBuilderImpl.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
protected |
| Enumerator | |
|---|---|
| Cond | |
| Svc | |
Definition at line 82 of file RobustTrackingGeometryBuilderImpl.h.
| InDet::RobustTrackingGeometryBuilderImpl::RobustTrackingGeometryBuilderImpl | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Constructor.
Definition at line 18 of file RobustTrackingGeometryBuilderImpl.cxx.
|
virtualdefault |
Destructor.
|
staticprotectedinherited |
protected method to confine (dense) volumes: input:
Definition at line 90 of file TrackingVolumeManipulator.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
|
protectedinherited |
protected method to glue two Volumes together input:
Definition at line 17 of file TrackingVolumeManipulator.cxx.
|
overridevirtual |
AlgTool initialize method.
Definition at line 26 of file RobustTrackingGeometryBuilderImpl.cxx.
|
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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
protected |
Private method, creates and packs a triple containing of NegEndcap-Barrel-PosEndcap layers.
Definition at line 48 of file RobustTrackingGeometryBuilderImpl.cxx.
|
protected |
Private method, creates and packs a triple containing of NegEndcap-Barrel-PosEndcap volumes.
Definition at line 127 of file RobustTrackingGeometryBuilderImpl.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
staticprotectedinherited |
protected method to set the boundary surface of a tracking volume
Definition at line 43 of file TrackingVolumeManipulator.cxx.
|
staticprotectedinherited |
protected method to set inside Volume of a BoundarySurface: input:
Definition at line 52 of file TrackingVolumeManipulator.cxx.
|
staticprotectedinherited |
protected method to set inside VolumeArray of a BoundarySurface: input:
Definition at line 61 of file TrackingVolumeManipulator.cxx.
|
staticprotectedinherited |
protected method to set outside Volume of a BoundarySurface: input:
Definition at line 71 of file TrackingVolumeManipulator.cxx.
|
staticprotectedinherited |
protected method to set outside VolumeArray of a BoundarySurface: input:
Definition at line 80 of file TrackingVolumeManipulator.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
protected |
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
protected |
create boundary layers
Definition at line 149 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
Color codes.
Definition at line 130 of file RobustTrackingGeometryBuilderImpl.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
the cylinder layer inside the enclosing volume
Definition at line 138 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
the disc position inside the enclosing volume
Definition at line 142 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
the service to provide the ID envelope size
Definition at line 134 of file RobustTrackingGeometryBuilderImpl.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
protected |
the final ID container
Definition at line 167 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
forces robust indexing for layers
Definition at line 161 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
changes volume boundary calculation for ITk layouts
Definition at line 170 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
Helper Tool to create BinnedArrays.
Definition at line 122 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
binning type for the provided layers
Definition at line 128 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
innermost - outermost
Definition at line 147 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
overal material properties of the ID
Definition at line 112 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
identificaton namespace
Definition at line 164 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
defines how much you orient yourself in an outwards way (see above)
Definition at line 156 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
run with replacement of all joint boundaries
Definition at line 151 of file RobustTrackingGeometryBuilderImpl.h.
|
protected |
Helper Tool to create TrackingVolumes.
Definition at line 116 of file RobustTrackingGeometryBuilderImpl.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.