![]() |
ATLAS Offline Software
|
LayerMaterialProperties creator for CompoundLayerMaterial. More...
#include <LayerMaterialAnalyser.h>
Public Member Functions | |
| LayerMaterialAnalyser (const std::string &, const std::string &, const IInterface *) | |
| Constructor. | |
| ~LayerMaterialAnalyser () | |
| Destructor. | |
| StatusCode | initialize () |
| AlgTool initialize method. | |
| StatusCode | finalize () |
| AlgTool finalize method. | |
| StatusCode | analyseLayerMaterial (const Layer &lay) const |
| process the layer - after material creation and loading | |
| StatusCode | analyseLayerMaterial (const Layer &lay, const LayerMaterialProperties &lmp) const |
| process the layer material proerties - after material creation and before loading | |
| StatusCode | analyseLayerMaterial (const Layer &lay, const MaterialPropertiesMatrix &lmr) const |
| process the layer material record - before material creation | |
| StatusCode | analyseLayerMaterial (const Layer &lay, const LayerMaterialRecord &lmr) const |
| process the layer material record - before material creation | |
| 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 (ILayerMaterialAnalyser, 1, 0) | |
| Creates the InterfaceID and interfaceID() method. | |
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 | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | analyse (const Layer &lay, const MaterialPropertiesMatrix &lmr, const std::vector< std::vector< unsigned int > > *bCounter=0) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| std::string | m_layerMaterialName |
| TTree * | m_validationTree |
| The validation tree. | |
| std::string | m_validationTreeName |
| validation tree name - to be accessed by this from root | |
| std::string | m_validationTreeDescription |
| validation tree description - second argument in TTree | |
| std::string | m_validationTreeFolder |
| stream/folder to for the TTree to be written out | |
| int | m_layerIndex |
| the layer index given by the TrackingGeometry | |
| int | m_layerType |
| the type of the layer 1 - cylinder, 2 - disk | |
| std::vector< float > * | m_layerTranslation |
| center of the transform | |
| std::vector< float > * | m_layerRotation |
| orientation of the layer | |
| float | m_layerDimension0 |
| dimension 0 : cylinder r, disk r_min | |
| float | m_layerDimension1 |
| dimension 1 : cylinder z, disk r_max | |
| int | m_layerBins |
| total number of bins - loc0 * loc 1 | |
| int | m_layerBins0 |
| total number of bins - loc 0 | |
| int | m_layerBins1 |
| total number of bins - loc 0 | |
| std::vector< int > * | m_bin0 |
| bin 0 | |
| std::vector< int > * | m_bin1 |
| bin 1 | |
| std::vector< float > * | m_thickness |
| gathered thickness from material mapping/material properties | |
| std::vector< float > * | m_X0 |
| gathered X0 from material mapping/material properties | |
| std::vector< float > * | m_L0 |
| gathered L0 from material mapping/material properties | |
| std::vector< float > * | m_A |
| gathered A from material mapping/material properties | |
| std::vector< float > * | m_Z |
| gathered Z from material mapping/material properties | |
| std::vector< float > * | m_Rho |
| gathered rho from material mapping/material properties | |
| std::vector< int > * | m_elements |
| gathered number of elements from material mapping/material properties | |
| std::vector< int > * | m_binCounter |
| how often was this bin hit / used | |
| 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 |
LayerMaterialProperties creator for CompoundLayerMaterial.
Definition at line 38 of file LayerMaterialAnalyser.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Trk::LayerMaterialAnalyser::LayerMaterialAnalyser | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Constructor.
Definition at line 33 of file LayerMaterialAnalyser.cxx.
|
default |
Destructor.
|
private |
Definition at line 201 of file LayerMaterialAnalyser.cxx.
|
virtual |
process the layer - after material creation and loading
Implements Trk::ILayerMaterialAnalyser.
Definition at line 152 of file LayerMaterialAnalyser.cxx.
|
virtual |
process the layer material proerties - after material creation and before loading
Implements Trk::ILayerMaterialAnalyser.
Definition at line 163 of file LayerMaterialAnalyser.cxx.
|
virtual |
process the layer material record - before material creation
Implements Trk::ILayerMaterialAnalyser.
Definition at line 195 of file LayerMaterialAnalyser.cxx.
|
virtual |
process the layer material record - before material creation
Implements Trk::ILayerMaterialAnalyser.
Definition at line 188 of file LayerMaterialAnalyser.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inherited |
Creates the InterfaceID and interfaceID() method.
|
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
| StatusCode Trk::LayerMaterialAnalyser::finalize | ( | ) |
AlgTool finalize method.
Definition at line 133 of file LayerMaterialAnalyser.cxx.
| StatusCode Trk::LayerMaterialAnalyser::initialize | ( | ) |
AlgTool initialize method.
Definition at line 74 of file LayerMaterialAnalyser.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.
|
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.
|
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.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
gathered A from material mapping/material properties
Definition at line 93 of file LayerMaterialAnalyser.h.
|
private |
bin 0
Definition at line 88 of file LayerMaterialAnalyser.h.
|
private |
bin 1
Definition at line 89 of file LayerMaterialAnalyser.h.
|
private |
how often was this bin hit / used
Definition at line 97 of file LayerMaterialAnalyser.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
gathered number of elements from material mapping/material properties
Definition at line 96 of file LayerMaterialAnalyser.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
gathered L0 from material mapping/material properties
Definition at line 92 of file LayerMaterialAnalyser.h.
|
mutableprivate |
total number of bins - loc0 * loc 1
Definition at line 85 of file LayerMaterialAnalyser.h.
|
mutableprivate |
total number of bins - loc 0
Definition at line 86 of file LayerMaterialAnalyser.h.
|
mutableprivate |
total number of bins - loc 0
Definition at line 87 of file LayerMaterialAnalyser.h.
|
mutableprivate |
dimension 0 : cylinder r, disk r_min
Definition at line 83 of file LayerMaterialAnalyser.h.
|
mutableprivate |
dimension 1 : cylinder z, disk r_max
Definition at line 84 of file LayerMaterialAnalyser.h.
|
mutableprivate |
the layer index given by the TrackingGeometry
Definition at line 79 of file LayerMaterialAnalyser.h.
|
private |
Definition at line 72 of file LayerMaterialAnalyser.h.
|
private |
orientation of the layer
Definition at line 82 of file LayerMaterialAnalyser.h.
|
private |
center of the transform
Definition at line 81 of file LayerMaterialAnalyser.h.
|
mutableprivate |
the type of the layer 1 - cylinder, 2 - disk
Definition at line 80 of file LayerMaterialAnalyser.h.
|
private |
gathered rho from material mapping/material properties
Definition at line 95 of file LayerMaterialAnalyser.h.
|
private |
gathered thickness from material mapping/material properties
Definition at line 90 of file LayerMaterialAnalyser.h.
|
private |
The validation tree.
Definition at line 74 of file LayerMaterialAnalyser.h.
|
private |
validation tree description - second argument in TTree
Definition at line 76 of file LayerMaterialAnalyser.h.
|
private |
stream/folder to for the TTree to be written out
Definition at line 77 of file LayerMaterialAnalyser.h.
|
private |
validation tree name - to be accessed by this from root
Definition at line 75 of file LayerMaterialAnalyser.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
gathered X0 from material mapping/material properties
Definition at line 91 of file LayerMaterialAnalyser.h.
|
private |
gathered Z from material mapping/material properties
Definition at line 94 of file LayerMaterialAnalyser.h.