![]() |
ATLAS Offline Software
|
A simple algorithm that throws random points through detector and associates them with the given/found layer. More...
#include <MaterialMapping.h>
Public Member Functions | |
| MaterialMapping (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard Athena-Algorithm Constructor. | |
| ~MaterialMapping () | |
| Default Destructor. | |
| StatusCode | initialize () |
| standard Athena-Algorithm method | |
| StatusCode | execute () |
| standard Athena-Algorithm method | |
| StatusCode | finalize () |
| standard Athena-Algorithm method | |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| 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 | 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 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 | |
| bool | associateHit (const Trk::Layer &tvol, const Amg::Vector3D &pos, const Amg::Vector3D &layerHitPosition, double stepl, const Trk::Material &mat) |
| Associate the Step to the Layer. | |
| void | registerVolume (const Trk::TrackingVolume &tvol, int lvl) |
| Output information with Level. | |
| void | assignLayerMaterialProperties (Trk::TrackingVolume &tvol, Trk::LayerMaterialMap *propSet) |
| create the LayerMaterialRecord */ | |
| void | insertLayerMaterialRecord (const Trk::Layer &lay) |
| StatusCode | handleTrackingGeometry () |
| Retrieve the TrackingGeometry and its informations. | |
| const TrackingGeometry & | trackingGeometry () const |
| void | throwFailedToGetTrackingGeometry () const |
| const TrackingGeometry * | retrieveTrackingGeometry (const EventContext &ctx) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| bool | m_checkForEmptyHits |
| use extrapoaltion engine to check for empty hits | |
| ToolHandle< IExtrapolationEngine > | m_extrapolationEngine |
| std::string | m_mappingVolumeName |
| const Trk::TrackingVolume * | m_mappingVolume |
| SG::ReadHandleKey< MaterialStepCollection > | m_inputMaterialStepCollection |
| output / input steering | |
| std::string | m_outputLayerMaterialSetName |
| double | m_etaCutOff |
| general steering | |
| int | m_etaSide |
| needed for debugging: -1 negative | 0 all | 1 positive | |
| bool | m_useLayerThickness |
| use the actual layer thickness | |
| int | m_associationType |
| ToolHandle< ILayerMaterialAnalyser > | m_layerMaterialRecordAnalyser |
| ToolHandleArray< ILayerMaterialAnalyser > | m_layerMaterialAnalysers |
| ToolHandleArray< ILayerMaterialCreator > | m_layerMaterialCreators |
| bool | m_mapMaterial |
| Mapper and Inspector. | |
| ToolHandle< IMaterialMapper > | m_materialMapper |
| bool | m_mapComposition |
| map the composition of the material | |
| double | m_minCompositionFraction |
| minimal fraction to be accounted for the composition recording | |
| Trk::ElementTable * | m_elementTable |
| the accumulated element table | |
| SG::ReadHandleKey< Trk::ElementTable > | m_inputEventElementTable |
| input event table | |
| std::map< const Layer *, LayerMaterialRecord > | m_layerRecords |
| this is the general record for the search | |
| std::map< const Layer *, bool > | m_layersRecordedPerEvent |
| these are the layers hit per event - for empty hit scaling | |
| double | m_accumulatedMaterialXX0 |
| the accumulated material information | |
| double | m_accumulatedRhoS |
| size_t | m_mapped |
| size_t | m_unmapped |
| size_t | m_skippedOutside |
| int | m_layerMaterialScreenOutput |
| SG::ReadCondHandleKey< TrackingGeometry > | m_trackingGeometryReadKey |
| DataObjIDColl | m_extendedExtraObjects |
| 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 |
A simple algorithm that throws random points through detector and associates them with the given/found layer.
Definition at line 72 of file MaterialMapping.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Trk::MaterialMapping::MaterialMapping | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Standard Athena-Algorithm Constructor.
Definition at line 37 of file MaterialMapping.cxx.
|
default |
Default Destructor.
|
private |
create the LayerMaterialRecord */
Definition at line 367 of file MaterialMapping.cxx.
|
private |
Associate the Step to the Layer.
Definition at line 322 of file MaterialMapping.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.
| StatusCode Trk::MaterialMapping::execute | ( | ) |
standard Athena-Algorithm method
Definition at line 117 of file MaterialMapping.cxx.
|
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
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
| StatusCode Trk::MaterialMapping::finalize | ( | ) |
standard Athena-Algorithm method
Definition at line 417 of file MaterialMapping.cxx.
|
private |
Retrieve the TrackingGeometry and its informations.
Definition at line 518 of file MaterialMapping.cxx.
| StatusCode Trk::MaterialMapping::initialize | ( | ) |
standard Athena-Algorithm method
Definition at line 89 of file MaterialMapping.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.
|
private |
Definition at line 596 of file MaterialMapping.cxx.
|
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.
|
private |
Output information with Level.
private void Method to map the layer material
Definition at line 543 of file MaterialMapping.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.
|
inlineprivate |
Definition at line 186 of file MaterialMapping.h.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
private |
Definition at line 617 of file MaterialMapping.cxx.
|
inlineprivate |
Definition at line 211 of file MaterialMapping.h.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
the accumulated material information
Definition at line 175 of file MaterialMapping.h.
|
private |
Definition at line 176 of file MaterialMapping.h.
|
private |
Definition at line 134 of file MaterialMapping.h.
|
private |
use extrapoaltion engine to check for empty hits
Definition at line 115 of file MaterialMapping.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
the accumulated element table
Definition at line 165 of file MaterialMapping.h.
|
private |
general steering
Definition at line 131 of file MaterialMapping.h.
|
private |
needed for debugging: -1 negative | 0 all | 1 positive
Definition at line 132 of file MaterialMapping.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Definition at line 116 of file MaterialMapping.h.
|
private |
input event table
Definition at line 167 of file MaterialMapping.h.
|
private |
output / input steering
Definition at line 127 of file MaterialMapping.h.
|
private |
Definition at line 142 of file MaterialMapping.h.
|
private |
Definition at line 148 of file MaterialMapping.h.
|
private |
Definition at line 136 of file MaterialMapping.h.
|
private |
Definition at line 183 of file MaterialMapping.h.
|
private |
this is the general record for the search
Definition at line 171 of file MaterialMapping.h.
|
private |
these are the layers hit per event - for empty hit scaling
Definition at line 173 of file MaterialMapping.h.
|
private |
map the composition of the material
Definition at line 161 of file MaterialMapping.h.
|
private |
Mapper and Inspector.
Definition at line 156 of file MaterialMapping.h.
|
private |
Definition at line 179 of file MaterialMapping.h.
|
private |
Definition at line 124 of file MaterialMapping.h.
|
private |
Definition at line 123 of file MaterialMapping.h.
|
private |
Definition at line 157 of file MaterialMapping.h.
|
private |
minimal fraction to be accounted for the composition recording
Definition at line 162 of file MaterialMapping.h.
|
private |
Definition at line 128 of file MaterialMapping.h.
|
private |
Definition at line 181 of file MaterialMapping.h.
|
private |
Definition at line 198 of file MaterialMapping.h.
|
private |
Definition at line 180 of file MaterialMapping.h.
|
private |
use the actual layer thickness
Definition at line 133 of file MaterialMapping.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.