ATLAS Offline Software
|
#include <ExtrapolationValidation.h>
Public Member Functions | |
ExtrapolationValidation (const std::string &name, ISvcLocator *pSvcLocator) | |
Standard Athena-Algorithm Constructor. More... | |
~ExtrapolationValidation () | |
Default Destructor. More... | |
StatusCode | initialize () |
standard Athena-Algorithm method More... | |
StatusCode | execute () |
standard Athena-Algorithm method More... | |
StatusCode | finalize () |
standard Athena-Algorithm method More... | |
virtual StatusCode | sysInitialize () override |
Override sysInitialize. More... | |
virtual const DataObjIDColl & | extraOutputDeps () const override |
Return the list of extra output dependencies. 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 | 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 |
Protected Member Functions | |
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
remove all handles from I/O resolution More... | |
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. More... | |
Private Types | |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
specialization for handling Gaudi::Property<SG::VarHandleKey> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
specialization for handling Gaudi::Property<SG::VarHandleBase> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More... | |
Static Private Member Functions | |
static Amg::Transform3D | createTransform (double x, double y, double z, double phi=0., double theta=0., double alphaZ=0.) |
private helper method to create a HepTransform More... | |
Private Attributes | |
const TrackingVolume * | m_highestVolume |
the highest volume More... | |
ToolHandle< IExtrapolator > | m_extrapolator |
The Extrapolator to be retrieved. More... | |
Rndm::Numbers * | m_gaussDist |
Random Number setup. More... | |
Rndm::Numbers * | m_flatDist |
bool | m_materialCollectionValidation |
run the material collection More... | |
bool | m_direct |
TTree * | m_validationTree |
Root Validation Tree. More... | |
std::string | m_validationTreeName |
validation tree name - to be acessed by this from root More... | |
std::string | m_validationTreeDescription |
validation tree description - second argument in TTree More... | |
std::string | m_validationTreeFolder |
stream/folder to for the TTree to be written out More... | |
double | m_maximumR |
maximum R of the highest More... | |
double | m_maximumZ |
maximum halfZ of the highest tracking volume More... | |
double | m_sigmaLoc |
local sigma of start value More... | |
double | m_sigmaR |
r sigma of start value More... | |
double | m_sigmaZ |
Z sigma of start value. More... | |
double | m_minEta |
Minimal eta value. More... | |
double | m_maxEta |
Maximal eta value. More... | |
double | m_minP |
Minimal p value. More... | |
double | m_maxP |
Maximal p value. More... | |
int | m_particleType |
the particle typre for the extrap. More... | |
int | m_parameters |
maximum 3 : start - destination - backward More... | |
float | m_parameterLoc1 [TRKEXALGS_MAXPARAMETERS] |
start local 1 More... | |
float | m_parameterLoc2 [TRKEXALGS_MAXPARAMETERS] |
start local 2 More... | |
float | m_parameterPhi [TRKEXALGS_MAXPARAMETERS] |
start phi More... | |
float | m_parameterTheta [TRKEXALGS_MAXPARAMETERS] |
start theta More... | |
float | m_parameterEta [TRKEXALGS_MAXPARAMETERS] |
start eta More... | |
float | m_parameterQoverP [TRKEXALGS_MAXPARAMETERS] |
start qOverP More... | |
float | m_covarianceLoc1 [TRKEXALGS_MAXPARAMETERS] |
start local 1 More... | |
float | m_covarianceLoc2 [TRKEXALGS_MAXPARAMETERS] |
start local 2 More... | |
float | m_covariancePhi [TRKEXALGS_MAXPARAMETERS] |
start phi More... | |
float | m_covarianceTheta [TRKEXALGS_MAXPARAMETERS] |
start theta More... | |
float | m_covarianceQoverP [TRKEXALGS_MAXPARAMETERS] |
start qOverP More... | |
float | m_covarianceDeterminant [TRKEXALGS_MAXPARAMETERS] |
start qOverP More... | |
int | m_destinationSurfaceType |
destination surface type More... | |
float | m_startX |
startX More... | |
float | m_startY |
startX More... | |
float | m_startR |
startX More... | |
float | m_startZ |
startX More... | |
float | m_startP |
startP More... | |
float | m_estimationX |
estimation in X More... | |
float | m_estimationY |
estimation in Y More... | |
float | m_estimationR |
estimation in R More... | |
float | m_estimationZ |
estimation in Z More... | |
float | m_destinationX |
destination in X More... | |
float | m_destinationY |
destination in Y More... | |
float | m_destinationR |
destination in R More... | |
float | m_destinationZ |
destination in Z More... | |
unsigned int | m_triesFront |
events front More... | |
unsigned int | m_breaksFront |
breaks front More... | |
unsigned int | m_triesBack |
events back More... | |
unsigned int | m_breaksBack |
breaks More... | |
unsigned int | m_collectedLayerFront |
collected material layers forward More... | |
unsigned int | m_collectedLayerBack |
collected material layers backwards More... | |
DataObjIDColl | m_extendedExtraObjects |
StoreGateSvc_t | m_evtStore |
Pointer to StoreGate (event store by default) More... | |
StoreGateSvc_t | m_detStore |
Pointer to StoreGate (detector store by default) More... | |
std::vector< SG::VarHandleKeyArray * > | m_vhka |
bool | m_varHandleArraysDeclared |
The ExtrapolationValidation Algorithm runs a number of n test extrapolations from randomly distributed Track Parameters to randombly distributed reference surfcas within
and backwards.
It is the TestAlgorithm for 'the' Extrapolator instance provided to client algorithms.
Definition at line 55 of file ExtrapolationValidation.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
Trk::ExtrapolationValidation::ExtrapolationValidation | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator | ||
) |
Trk::ExtrapolationValidation::~ExtrapolationValidation | ( | ) |
Default Destructor.
Definition at line 108 of file ExtrapolationValidation.cxx.
|
staticprivate |
private helper method to create a HepTransform
Definition at line 566 of file ExtrapolationValidation.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
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.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 of file AthCommonDataStore.h.
StatusCode Trk::ExtrapolationValidation::execute | ( | ) |
standard Athena-Algorithm method
Definition at line 206 of file ExtrapolationValidation.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::ExtrapolationValidation::finalize | ( | ) |
StatusCode Trk::ExtrapolationValidation::initialize | ( | ) |
standard Athena-Algorithm method
Definition at line 118 of file ExtrapolationValidation.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 27 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, PyAthena::Alg, and AthHistogramAlgorithm.
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 |
breaks
Definition at line 144 of file ExtrapolationValidation.h.
|
private |
breaks front
Definition at line 142 of file ExtrapolationValidation.h.
|
private |
collected material layers backwards
Definition at line 147 of file ExtrapolationValidation.h.
|
private |
collected material layers forward
Definition at line 146 of file ExtrapolationValidation.h.
|
private |
start qOverP
Definition at line 121 of file ExtrapolationValidation.h.
|
private |
start local 1
Definition at line 116 of file ExtrapolationValidation.h.
|
private |
start local 2
Definition at line 117 of file ExtrapolationValidation.h.
|
private |
start phi
Definition at line 118 of file ExtrapolationValidation.h.
|
private |
start qOverP
Definition at line 120 of file ExtrapolationValidation.h.
|
private |
start theta
Definition at line 119 of file ExtrapolationValidation.h.
|
private |
destination in R
Definition at line 137 of file ExtrapolationValidation.h.
|
private |
destination surface type
Definition at line 123 of file ExtrapolationValidation.h.
|
private |
destination in X
Definition at line 135 of file ExtrapolationValidation.h.
|
private |
destination in Y
Definition at line 136 of file ExtrapolationValidation.h.
|
private |
destination in Z
Definition at line 138 of file ExtrapolationValidation.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 87 of file ExtrapolationValidation.h.
|
private |
estimation in R
Definition at line 132 of file ExtrapolationValidation.h.
|
private |
estimation in X
Definition at line 130 of file ExtrapolationValidation.h.
|
private |
estimation in Y
Definition at line 131 of file ExtrapolationValidation.h.
|
private |
estimation in Z
Definition at line 133 of file ExtrapolationValidation.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 79 of file ExtrapolationValidation.h.
|
private |
Definition at line 83 of file ExtrapolationValidation.h.
|
private |
Random Number setup.
Definition at line 82 of file ExtrapolationValidation.h.
|
private |
the highest volume
Definition at line 76 of file ExtrapolationValidation.h.
|
private |
run the material collection
Definition at line 85 of file ExtrapolationValidation.h.
|
private |
Maximal eta value.
Definition at line 102 of file ExtrapolationValidation.h.
|
private |
maximum R of the highest
Definition at line 95 of file ExtrapolationValidation.h.
|
private |
maximum halfZ of the highest tracking volume
Definition at line 96 of file ExtrapolationValidation.h.
|
private |
Maximal p value.
Definition at line 104 of file ExtrapolationValidation.h.
|
private |
Minimal eta value.
Definition at line 101 of file ExtrapolationValidation.h.
|
private |
Minimal p value.
Definition at line 103 of file ExtrapolationValidation.h.
|
private |
start eta
Definition at line 113 of file ExtrapolationValidation.h.
|
private |
start local 1
Definition at line 109 of file ExtrapolationValidation.h.
|
private |
start local 2
Definition at line 110 of file ExtrapolationValidation.h.
|
private |
start phi
Definition at line 111 of file ExtrapolationValidation.h.
|
private |
start qOverP
Definition at line 114 of file ExtrapolationValidation.h.
|
private |
maximum 3 : start - destination - backward
Definition at line 108 of file ExtrapolationValidation.h.
|
private |
start theta
Definition at line 112 of file ExtrapolationValidation.h.
|
private |
the particle typre for the extrap.
Definition at line 106 of file ExtrapolationValidation.h.
|
private |
local sigma of start value
Definition at line 98 of file ExtrapolationValidation.h.
|
private |
r sigma of start value
Definition at line 99 of file ExtrapolationValidation.h.
|
private |
Z sigma of start value.
Definition at line 100 of file ExtrapolationValidation.h.
|
private |
startP
Definition at line 128 of file ExtrapolationValidation.h.
|
private |
startX
Definition at line 126 of file ExtrapolationValidation.h.
|
private |
startX
Definition at line 124 of file ExtrapolationValidation.h.
|
private |
startX
Definition at line 125 of file ExtrapolationValidation.h.
|
private |
startX
Definition at line 127 of file ExtrapolationValidation.h.
|
private |
events back
Definition at line 143 of file ExtrapolationValidation.h.
|
private |
events front
Definition at line 141 of file ExtrapolationValidation.h.
|
private |
Definition at line 89 of file ExtrapolationValidation.h.
|
private |
validation tree description - second argument in TTree
Definition at line 92 of file ExtrapolationValidation.h.
|
private |
stream/folder to for the TTree to be written out
Definition at line 93 of file ExtrapolationValidation.h.
|
private |
validation tree name - to be acessed by this from root
Definition at line 91 of file ExtrapolationValidation.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.