![]() |
ATLAS Offline Software
|
The EnergyLossExtrapolationValidation Algorithm runs a number of n test extrapolations from randomly distributed Track Parameters to specific reference surfaces within the ATLAS Detector (user defined cylinder tubes which can be placed e.g. More...
#include <EnergyLossExtrapolationValidation.h>
Public Member Functions | |
| EnergyLossExtrapolationValidation (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard Athena-Algorithm Constructor. | |
| ~EnergyLossExtrapolationValidation () | |
| 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 | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Static Private Member Functions | |
| static std::unique_ptr< Amg::Transform3D > | createTransform (double x, double y, double z, double phi=0., double theta=0., double alphaZ=0.) |
| private helper method to create a Transform | |
Private Attributes | |
| const TrackingVolume * | m_highestVolume = nullptr |
| the highest volume | |
| ToolHandle< IExtrapolator > | m_extrapolator {this, "Extrapolator", "Trk::Extrapolator/AtlasExtrapolator"} |
| The Extrapolator to be retrieved. | |
| Rndm::Numbers * | m_gaussDist = nullptr |
| Random Number setup. | |
| Rndm::Numbers * | m_flatDist = nullptr |
| BooleanProperty | m_materialCollectionValidation |
| TTree * | m_validationTree = nullptr |
| Root Validation Tree. | |
| TTree * | m_validationRunTree = nullptr |
| Root Run Stats Tree. | |
| StringProperty | m_validationTreeFolder |
| StringProperty | m_validationTreeName |
| StringProperty | m_validationTreeDescription |
| StringProperty | m_validationRunTreeFolder |
| StringProperty | m_validationRunTreeName |
| StringProperty | m_validationRunTreeDescription |
| UnsignedIntegerProperty | m_cylinders |
| BooleanProperty | m_onion |
| FloatProperty | m_momentum |
| BooleanProperty | m_usePt |
| FloatProperty | m_minEta {this, "StartPerigeeMinEta", -3.} |
| FloatProperty | m_maxEta {this, "StartPerigeeMaxEta", 3.} |
| size_t | m_events = 0 |
| total number of recorded events | |
| int | m_totalRecordedLayers = 0 |
| total number of recorded layers | |
| float | m_avgRecordedLayers = 0 |
| average recorded layers per event | |
| int | m_pdg = 0 |
| PDG code corresponding to m_particleType. | |
| IntegerProperty | m_particleType |
| size_t | m_entries = 0 |
| effective number of used entries (recorded layers) in this event | |
| float | m_energy [TRKEXALGS_MAXPARAMETERS] {} |
| energy | |
| float | m_energyLoss [TRKEXALGS_MAXPARAMETERS] {} |
| energy loss | |
| float | m_parameterX0 [TRKEXALGS_MAXPARAMETERS] {} |
| thickness in X0 | |
| float | m_radius [TRKEXALGS_MAXPARAMETERS] {} |
| position radius | |
| float | m_positionX [TRKEXALGS_MAXPARAMETERS] {} |
| position X | |
| float | m_positionY [TRKEXALGS_MAXPARAMETERS] {} |
| position Y | |
| float | m_positionZ [TRKEXALGS_MAXPARAMETERS] {} |
| position Z | |
| float | m_parameterPhi [TRKEXALGS_MAXPARAMETERS] {} |
| phi | |
| float | m_parameterEta [TRKEXALGS_MAXPARAMETERS] {} |
| eta | |
| float | m_parameterTheta [TRKEXALGS_MAXPARAMETERS] {} |
| theta | |
| float | m_parameterQoverP [TRKEXALGS_MAXPARAMETERS] {} |
| qOverP | |
| float | m_parameterP [TRKEXALGS_MAXPARAMETERS] {} |
| P. | |
| size_t | m_layer [TRKEXALGS_MAXPARAMETERS] {} |
| layer id | |
| size_t | m_triesForward = 0 |
| extrapolation events forward | |
| size_t | m_breaksForward = 0 |
| extrapolation breaks forward | |
| size_t | m_triesBack = 0 |
| extrapolation events backward | |
| size_t | m_breaksBack = 0 |
| extrapolation breaks backward | |
| size_t | m_collectedLayerForward = 0 |
| collected material layers forward | |
| size_t | m_collectedLayerBack = 0 |
| collected material layers backward | |
| float | m_cylinderR [TRKEXALGS_MAXPARAMETERS] {} |
| radius of cylinder layers (for ROOT tree) | |
| float | m_cylinderZ [TRKEXALGS_MAXPARAMETERS] {} |
| length of cylinder layers (for ROOT tree) | |
| DataVector< const Trk::CylinderSurface > * | m_theCylinders = nullptr |
| DataVector< const Trk::DiscSurface > * | m_theDiscs1 = nullptr |
| DataVector< const Trk::DiscSurface > * | m_theDiscs2 = nullptr |
| FloatArrayProperty | m_cylinderVR |
| FloatArrayProperty | m_cylinderVZ |
| 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 |
The EnergyLossExtrapolationValidation Algorithm runs a number of n test extrapolations from randomly distributed Track Parameters to specific reference surfaces within the ATLAS Detector (user defined cylinder tubes which can be placed e.g.
around Beam Pipe, Pixel, SCT, TRT, Calorimeter, Muon System, or have completely arbitrary dimensions).
In the jobOptions one can toggle these surfaces for
The code of ExtrapolationValidation (by Andreas Salzburger) has been reused and adjusted for this algorithm.
Definition at line 61 of file EnergyLossExtrapolationValidation.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Trk::EnergyLossExtrapolationValidation::EnergyLossExtrapolationValidation | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Standard Athena-Algorithm Constructor.
Definition at line 30 of file EnergyLossExtrapolationValidation.cxx.
| Trk::EnergyLossExtrapolationValidation::~EnergyLossExtrapolationValidation | ( | ) |
Default Destructor.
Definition at line 35 of file EnergyLossExtrapolationValidation.cxx.
|
staticprivate |
private helper method to create a Transform
Definition at line 460 of file EnergyLossExtrapolationValidation.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::EnergyLossExtrapolationValidation::execute | ( | ) |
standard Athena-Algorithm method
Definition at line 189 of file EnergyLossExtrapolationValidation.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::EnergyLossExtrapolationValidation::finalize | ( | ) |
standard Athena-Algorithm method
Definition at line 162 of file EnergyLossExtrapolationValidation.cxx.
| StatusCode Trk::EnergyLossExtrapolationValidation::initialize | ( | ) |
standard Athena-Algorithm method
Definition at line 50 of file EnergyLossExtrapolationValidation.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 |
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.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
average recorded layers per event
Definition at line 138 of file EnergyLossExtrapolationValidation.h.
|
private |
extrapolation breaks backward
Definition at line 164 of file EnergyLossExtrapolationValidation.h.
|
private |
extrapolation breaks forward
Definition at line 162 of file EnergyLossExtrapolationValidation.h.
|
private |
collected material layers backward
Definition at line 167 of file EnergyLossExtrapolationValidation.h.
|
private |
collected material layers forward
Definition at line 166 of file EnergyLossExtrapolationValidation.h.
|
private |
radius of cylinder layers (for ROOT tree)
Definition at line 171 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 125 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 176 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 178 of file EnergyLossExtrapolationValidation.h.
|
private |
length of cylinder layers (for ROOT tree)
Definition at line 172 of file EnergyLossExtrapolationValidation.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
|
private |
|
private |
effective number of used entries (recorded layers) in this event
Definition at line 145 of file EnergyLossExtrapolationValidation.h.
|
private |
total number of recorded events
Definition at line 136 of file EnergyLossExtrapolationValidation.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 |
The Extrapolator to be retrieved.
Definition at line 90 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 95 of file EnergyLossExtrapolationValidation.h.
|
private |
Random Number setup.
Definition at line 94 of file EnergyLossExtrapolationValidation.h.
|
private |
the highest volume
Definition at line 87 of file EnergyLossExtrapolationValidation.h.
|
private |
|
private |
Definition at line 97 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 134 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 133 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 129 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 127 of file EnergyLossExtrapolationValidation.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 141 of file EnergyLossExtrapolationValidation.h.
|
private |
PDG code corresponding to m_particleType.
Definition at line 140 of file EnergyLossExtrapolationValidation.h.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 173 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 174 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 175 of file EnergyLossExtrapolationValidation.h.
|
private |
total number of recorded layers
Definition at line 137 of file EnergyLossExtrapolationValidation.h.
|
private |
extrapolation events backward
Definition at line 163 of file EnergyLossExtrapolationValidation.h.
|
private |
extrapolation events forward
Definition at line 161 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 131 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 102 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 120 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 114 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 117 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 101 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 110 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 104 of file EnergyLossExtrapolationValidation.h.
|
private |
Definition at line 107 of file EnergyLossExtrapolationValidation.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.