![]() |
ATLAS Offline Software
|
Explain... More...
#include <PerigeeParametersNtupleTool.h>
Public Member Functions | |
| PerigeeParametersNtupleTool (const std::string &, const std::string &, const IInterface *) | |
| ~PerigeeParametersNtupleTool () | |
| StatusCode | initialize () |
| StatusCode | finalize () |
| virtual StatusCode | addNtupleItems (TTree *tree) |
| add branches to the tree Should be called once (per track collection and tree) dunring the initialisation phase by the calling algorithm (usually Trk::TrackValidationNtupleWriter) | |
| virtual StatusCode | fillTrackData (const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode) |
| fill ntuple data of a given track without writing the record. | |
| virtual StatusCode | fillTrackParticleData (const Trk::TrackParticleBase &) |
| fill ntuple data of a given TrackParticle without writing the record. | |
| virtual StatusCode | fillTrackTruthData (const TrackParameters *&, const TrackTruth &, const int) |
| fill data about the truth match (score, parameter-pulls etc) | |
| virtual void | resetVariables () |
| reset the variables after writing the record to disk ntuple | |
| 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 |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| Interface ID, declared here, and defined below. | |
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 | fillTrackPerigee (const Trk::Perigee *perigee) |
| fill the perigee in ntuple | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ToolHandle< Trk::IExtrapolator > | m_extrapolator |
| extrapolator, in case tracks do not have perigee | |
| bool | m_doTruth |
| switch to turn truth on/off | |
| float | m_Rec_d0 |
| reconstructed track params: local d0 at perigee UNIT:mm | |
| float | m_Rec_z0 |
| reconstructed track params: local z0 at perigee UNIT:mm | |
| float | m_Rec_phi0 |
| reconstructed track params: angle phi at perigee UNIT:rad | |
| float | m_Rec_theta |
| reconstructed track params: angle theta at perigee UNIT:rad | |
| float | m_Rec_eta |
| reconstructed track params: pseudorapidity UNIT:1 | |
| float | m_Rec_qOverP |
| reconstructed track params: curvature q/p UNIT:1/MeV | |
| float | m_errord0 |
| error on local d0 at perigee UNIT:mm | |
| float | m_errorz0 |
| error on local z0 at perigee UNIT:mm | |
| float | m_errorphi0 |
| error on angle phi at perigee UNIT:rad | |
| float | m_errortheta0 |
| error on angle theta at perigee UNIT:rad | |
| float | m_errorqoverp |
| error on curvature q/p UNIT:1/MeV | |
| float | m_mc_d0 |
| matched MC-truth track params: local d0 at perigee UNIT:mm | |
| float | m_mc_z0 |
| matched MC-truth track params: local z0 at perigee UNIT:mm | |
| float | m_mc_phi0 |
| matched MC-truth track params: angle phi at perigee UNIT:rad | |
| float | m_mc_theta |
| matched MC-truth track params: angle theta at perigee UNIT:rad | |
| float | m_mc_qOverP |
| matched MC-truth track params: curvature q/p at perigee UNIT:1/MeV | |
| float | m_mc_qOverPt |
| matched MC-truth track params: projected curvature q/pT at perigee UNIT:1/MeV | |
| float | m_mc_eta |
| matched MC-truth track params: pseudorapidity | |
| float | m_mc_diff_d0 |
| difference reconstructed minus true parameter: d0 UNIT:mm | |
| float | m_mc_diff_z0 |
| difference reconstructed minus true parameter: z0 UNIT:mm | |
| float | m_mc_diff_phi0 |
| difference reconstructed minus true parameter: angle phi UNIT:rad | |
| float | m_mc_diff_theta |
| difference reconstructed minus true parameter: angle theta UNIT:rad | |
| float | m_mc_diff_qOverP |
| difference reconstructed minus true parameter: q/p UNIT:1/MeV | |
| float | m_mc_pull_d0 |
| parameter-pull for d0 UNIT:1 | |
| float | m_mc_pull_z0 |
| parameter-pull for z0 UNIT:1 | |
| float | m_mc_pull_phi0 |
| parameter-pull for phi UNIT:1 | |
| float | m_mc_pull_theta |
| parameter-pull for theta UNIT:1 | |
| float | m_mc_pull_qOverP |
| parameter-pull for q/p UNIT:1 | |
| int | m_mc_particleID |
| PDG-ID for matched truth track. | |
| int | m_mc_uniqueID |
| unique ID for matched truth track | |
| int | m_mc_truthTreeIndex |
| entry index linking to 'Truth' tree in ntuple | |
| float | m_mc_energy |
| energy of the truth particle UNIT:MeV | |
| float | m_mc_prob |
| match probability for the truth particle (calculated by the job's configured TrackTruthSelector) | |
| 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 |
Explain...
Definition at line 29 of file PerigeeParametersNtupleTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Trk::PerigeeParametersNtupleTool::PerigeeParametersNtupleTool | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Definition at line 29 of file PerigeeParametersNtupleTool.cxx.
|
default |
|
virtual |
add branches to the tree Should be called once (per track collection and tree) dunring the initialisation phase by the calling algorithm (usually Trk::TrackValidationNtupleWriter)
Implements Trk::ITrackValidationNtupleTool.
Definition at line 107 of file PerigeeParametersNtupleTool.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
|
virtual |
fill ntuple data of a given track without writing the record.
fill track data into variables without actually writing the record
Implements Trk::ITrackValidationNtupleTool.
Definition at line 166 of file PerigeeParametersNtupleTool.cxx.
|
virtual |
fill ntuple data of a given TrackParticle without writing the record.
fill trackparticle data into variables without actually writing the record
Implements Trk::ITrackValidationNtupleTool.
Definition at line 205 of file PerigeeParametersNtupleTool.cxx.
|
private |
fill the perigee in ntuple
Definition at line 276 of file PerigeeParametersNtupleTool.cxx.
|
virtual |
fill data about the truth match (score, parameter-pulls etc)
Implements Trk::ITrackValidationNtupleTool.
Definition at line 224 of file PerigeeParametersNtupleTool.cxx.
| StatusCode Trk::PerigeeParametersNtupleTool::finalize | ( | ) |
Definition at line 101 of file PerigeeParametersNtupleTool.cxx.
| StatusCode Trk::PerigeeParametersNtupleTool::initialize | ( | ) |
Definition at line 92 of file PerigeeParametersNtupleTool.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.
|
inlinestaticinherited |
Interface ID, declared here, and defined below.
Definition at line 69 of file ITrackValidationNtupleTool.h.
|
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.
|
virtual |
reset the variables after writing the record to disk ntuple
Implements Trk::ITrackValidationNtupleTool.
Definition at line 220 of file PerigeeParametersNtupleTool.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.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
switch to turn truth on/off
Definition at line 70 of file PerigeeParametersNtupleTool.h.
|
private |
error on local d0 at perigee UNIT:mm
Definition at line 78 of file PerigeeParametersNtupleTool.h.
|
private |
error on angle phi at perigee UNIT:rad
Definition at line 80 of file PerigeeParametersNtupleTool.h.
|
private |
error on curvature q/p UNIT:1/MeV
Definition at line 82 of file PerigeeParametersNtupleTool.h.
|
private |
error on angle theta at perigee UNIT:rad
Definition at line 81 of file PerigeeParametersNtupleTool.h.
|
private |
error on local z0 at perigee UNIT:mm
Definition at line 79 of file PerigeeParametersNtupleTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
extrapolator, in case tracks do not have perigee
Definition at line 69 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: local d0 at perigee UNIT:mm
Definition at line 85 of file PerigeeParametersNtupleTool.h.
|
private |
difference reconstructed minus true parameter: d0 UNIT:mm
Definition at line 93 of file PerigeeParametersNtupleTool.h.
|
private |
difference reconstructed minus true parameter: angle phi UNIT:rad
Definition at line 95 of file PerigeeParametersNtupleTool.h.
|
private |
difference reconstructed minus true parameter: q/p UNIT:1/MeV
Definition at line 97 of file PerigeeParametersNtupleTool.h.
|
private |
difference reconstructed minus true parameter: angle theta UNIT:rad
Definition at line 96 of file PerigeeParametersNtupleTool.h.
|
private |
difference reconstructed minus true parameter: z0 UNIT:mm
Definition at line 94 of file PerigeeParametersNtupleTool.h.
|
private |
energy of the truth particle UNIT:MeV
Definition at line 108 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: pseudorapidity
Definition at line 91 of file PerigeeParametersNtupleTool.h.
|
private |
PDG-ID for matched truth track.
Definition at line 105 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: angle phi at perigee UNIT:rad
Definition at line 87 of file PerigeeParametersNtupleTool.h.
|
private |
match probability for the truth particle (calculated by the job's configured TrackTruthSelector)
Definition at line 110 of file PerigeeParametersNtupleTool.h.
|
private |
parameter-pull for d0 UNIT:1
Definition at line 99 of file PerigeeParametersNtupleTool.h.
|
private |
parameter-pull for phi UNIT:1
Definition at line 101 of file PerigeeParametersNtupleTool.h.
|
private |
parameter-pull for q/p UNIT:1
Definition at line 103 of file PerigeeParametersNtupleTool.h.
|
private |
parameter-pull for theta UNIT:1
Definition at line 102 of file PerigeeParametersNtupleTool.h.
|
private |
parameter-pull for z0 UNIT:1
Definition at line 100 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: curvature q/p at perigee UNIT:1/MeV
Definition at line 89 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: projected curvature q/pT at perigee UNIT:1/MeV
Definition at line 90 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: angle theta at perigee UNIT:rad
Definition at line 88 of file PerigeeParametersNtupleTool.h.
|
private |
entry index linking to 'Truth' tree in ntuple
Definition at line 107 of file PerigeeParametersNtupleTool.h.
|
private |
unique ID for matched truth track
Definition at line 106 of file PerigeeParametersNtupleTool.h.
|
private |
matched MC-truth track params: local z0 at perigee UNIT:mm
Definition at line 86 of file PerigeeParametersNtupleTool.h.
|
private |
reconstructed track params: local d0 at perigee UNIT:mm
Definition at line 71 of file PerigeeParametersNtupleTool.h.
|
private |
reconstructed track params: pseudorapidity UNIT:1
Definition at line 75 of file PerigeeParametersNtupleTool.h.
|
private |
reconstructed track params: angle phi at perigee UNIT:rad
Definition at line 73 of file PerigeeParametersNtupleTool.h.
|
private |
reconstructed track params: curvature q/p UNIT:1/MeV
Definition at line 76 of file PerigeeParametersNtupleTool.h.
|
private |
reconstructed track params: angle theta at perigee UNIT:rad
Definition at line 74 of file PerigeeParametersNtupleTool.h.
|
private |
reconstructed track params: local z0 at perigee UNIT:mm
Definition at line 72 of file PerigeeParametersNtupleTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.