![]() |
ATLAS Offline Software
|
#include <DetailedIDNtupleTool.h>
Public Member Functions | |
| DetailedIDNtupleTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~DetailedIDNtupleTool () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual void | dumpTrack (int itrk, const Trk::AlignTrack *alignTrack) override |
| fills track information to ntuple | |
| virtual void | storeHitmap () override |
| stores hitmap for writing to ntuple | |
| virtual void | fillHitmap () override |
| fills ntuple with hit information | |
| virtual void | fillSummary () override |
| fills ntuple with event and track summary information | |
| virtual void | showStatistics () override |
| write statistics out to log file | |
| virtual void | setNtuple (TFile *ntuple) override |
| sets the output stream for the logfile | |
| virtual StatusCode | fillNtuple () override |
| writes trees and histograms to ntuple | |
| virtual void | fillChi2VChamberShift (const int, const int, int *, double **, double **, double **, double **, double **, double **) |
| used for numerical derivatives to write chi2 vs. | |
| virtual void | setLogStream (std::ostream *os) |
| returns pointer to TFile containing 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 () |
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. | |
Protected Attributes | |
| std::ostream * | m_logStream = nullptr |
| logfile output stream | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| bool | retrieveTruthInfo (const Trk::AlignTrack *trk) |
| const Trk::TrackParameters * | perigeeParameter (const Trk::AlignTrack *track) const |
| void | initializeNtuple () |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ToolHandle< Trk::ITrackSummaryTool > | m_trackSumTool |
| Pointer to track summary tool. | |
| ToolHandle< Trk::IAlignModuleTool > | m_alignModuleTool |
| Pointer to AlignmModuleTool. | |
| PublicToolHandle< Trk::ITruthToTrack > | m_truthToTrack {this,"TruthToTrack","Trk::TruthToTrack/InDetTruthToTrack",""} |
| the truth to track Tool | |
| PublicToolHandle< Trk::IExtrapolator > | m_extrapolator {this,"Extrapolator","Trk::Extrapolator/AtlasExtrapolator",""} |
| track extrapolator | |
| bool | m_storeNormalRefittedOnly |
| only store the AlignTrack which is normally refitted | |
| bool | m_storeConstrainedOnly |
| onlystore the AlignTrack which is normally refitted | |
| bool | m_storeTruth |
| retrieve the truth information | |
| double | m_matchProbability |
| the probabililty cut in the truth matching | |
| TFile * | m_file |
| TTree * | m_tree |
| std::string | m_filename |
| name of ntuple file | |
| std::string | m_filepath |
| path to ntuple file | |
| std::string | m_trackCollection |
| std::string | m_tracksTruthName |
| int | m_runNumber = 0 |
| int | m_evtNumber = 0 |
| double | m_original_xvtx = 0.0 |
| double | m_original_yvtx = 0.0 |
| double | m_original_zvtx = 0.0 |
| double | m_original_d0 = 0.0 |
| double | m_original_z0 = 0.0 |
| double | m_original_phi0 = 0.0 |
| double | m_original_theta = 0.0 |
| double | m_original_qoverp = 0.0 |
| double | m_original_pt = 0.0 |
| double | m_original_eta = 0.0 |
| double | m_original_chi2 = 0.0 |
| int | m_original_ndof = 0 |
| double | m_original_chi2prob = 0.0 |
| double | m_original_err_d0 = 0.0 |
| double | m_original_err_z0 = 0.0 |
| double | m_original_err_phi0 = 0.0 |
| double | m_original_err_theta = 0.0 |
| double | m_original_err_qoverp = 0.0 |
| double | m_truth_d0 = 0.0 |
| double | m_truth_z0 = 0.0 |
| double | m_truth_phi0 = 0.0 |
| double | m_truth_theta = 0.0 |
| double | m_truth_eta = 0.0 |
| double | m_truth_pt = 0.0 |
| double | m_truth_qoverp = 0.0 |
| double | m_truth_qoverpt = 0.0 |
| double | m_truth_charge = 0.0 |
| double | m_truth_prod_x = 0.0 |
| double | m_truth_prod_y = 0.0 |
| double | m_truth_prod_z = 0.0 |
| double | m_original_toRef_d0 = 0.0 |
| double | m_original_toRef_z0 = 0.0 |
| double | m_original_toRef_phi0 = 0.0 |
| double | m_original_toRef_theta = 0.0 |
| double | m_original_toRef_qoverp = 0.0 |
| double | m_toRef_d0 = 0.0 |
| double | m_toRef_z0 = 0.0 |
| double | m_toRef_phi0 = 0.0 |
| double | m_toRef_theta = 0.0 |
| double | m_toRef_qoverp = 0.0 |
| double | m_err_d0 = 0.0 |
| double | m_err_z0 = 0.0 |
| double | m_err_phi0 = 0.0 |
| double | m_err_theta = 0.0 |
| double | m_err_qoverp = 0.0 |
| double | m_xvtx = 0.0 |
| double | m_yvtx = 0.0 |
| double | m_zvtx = 0.0 |
| double | m_d0 = 0.0 |
| double | m_z0 = 0.0 |
| double | m_phi0 = 0.0 |
| double | m_theta = 0.0 |
| double | m_qoverp = 0.0 |
| double | m_pt = 0.0 |
| double | m_eta = 0.0 |
| double | m_chi2 = 0.0 |
| int | m_ndof = 0 |
| double | m_chi2prob = 0.0 |
| 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 |
Definition at line 36 of file DetailedIDNtupleTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::DetailedIDNtupleTool::DetailedIDNtupleTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 38 of file DetailedIDNtupleTool.cxx.
|
virtual |
Definition at line 66 of file DetailedIDNtupleTool.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.
|
overridevirtual |
fills track information to ntuple
if match truth fail, return directly
Implements Trk::IFillNtupleTool.
Definition at line 106 of file DetailedIDNtupleTool.cxx.
|
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
|
inlinevirtualinherited |
used for numerical derivatives to write chi2 vs.
chamber positions
Definition at line 59 of file IFillNtupleTool.h.
|
overridevirtual |
fills ntuple with hit information
Implements Trk::IFillNtupleTool.
Definition at line 464 of file DetailedIDNtupleTool.cxx.
|
overridevirtual |
writes trees and histograms to ntuple
Implements Trk::IFillNtupleTool.
Definition at line 91 of file DetailedIDNtupleTool.cxx.
|
overridevirtual |
fills ntuple with event and track summary information
Implements Trk::IFillNtupleTool.
Definition at line 467 of file DetailedIDNtupleTool.cxx.
|
overridevirtual |
Implements Trk::IFillNtupleTool.
Definition at line 100 of file DetailedIDNtupleTool.cxx.
|
overridevirtual |
Implements Trk::IFillNtupleTool.
Definition at line 70 of file DetailedIDNtupleTool.cxx.
|
private |
Definition at line 475 of file DetailedIDNtupleTool.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 |
Definition at line 80 of file IFillNtupleTool.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.
|
private |
Definition at line 445 of file DetailedIDNtupleTool.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.
|
private |
Definition at line 350 of file DetailedIDNtupleTool.cxx.
|
inlinevirtualinherited |
returns pointer to TFile containing ntuple
sets the output stream for the logfile
Definition at line 67 of file IFillNtupleTool.h.
|
inlineoverridevirtual |
sets the output stream for the logfile
Implements Trk::IFillNtupleTool.
Definition at line 54 of file DetailedIDNtupleTool.h.
|
overridevirtual |
write statistics out to log file
Implements Trk::IFillNtupleTool.
Definition at line 471 of file DetailedIDNtupleTool.cxx.
|
overridevirtual |
stores hitmap for writing to ntuple
Implements Trk::IFillNtupleTool.
Definition at line 460 of file DetailedIDNtupleTool.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.
|
private |
Pointer to AlignmModuleTool.
Definition at line 63 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 155 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 157 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 148 of file DetailedIDNtupleTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 139 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 141 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 143 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 142 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 140 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 154 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 85 of file DetailedIDNtupleTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
track extrapolator
Definition at line 66 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 74 of file DetailedIDNtupleTool.h.
|
private |
name of ntuple file
Definition at line 77 of file DetailedIDNtupleTool.h.
|
private |
path to ntuple file
Definition at line 78 of file DetailedIDNtupleTool.h.
|
protectedinherited |
logfile output stream
Definition at line 76 of file IFillNtupleTool.h.
|
private |
the probabililty cut in the truth matching
Definition at line 72 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 156 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 100 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 102 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 92 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 104 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 106 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 108 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 107 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 105 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 99 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 101 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 94 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 97 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 96 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 95 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 125 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 127 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 129 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 128 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 126 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 88 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 89 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 93 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 90 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 150 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 153 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 152 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 84 of file DetailedIDNtupleTool.h.
|
private |
onlystore the AlignTrack which is normally refitted
Definition at line 70 of file DetailedIDNtupleTool.h.
|
private |
only store the AlignTrack which is normally refitted
Definition at line 69 of file DetailedIDNtupleTool.h.
|
private |
retrieve the truth information
Definition at line 71 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 151 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 132 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 134 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 136 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 135 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 133 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 80 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 81 of file DetailedIDNtupleTool.h.
|
private |
Pointer to track summary tool.
Definition at line 62 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 75 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 119 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 111 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 115 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 113 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 120 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 121 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 122 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 116 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 117 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 118 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 114 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 112 of file DetailedIDNtupleTool.h.
|
private |
the truth to track Tool
Definition at line 64 of file DetailedIDNtupleTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 145 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 146 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 149 of file DetailedIDNtupleTool.h.
|
private |
Definition at line 147 of file DetailedIDNtupleTool.h.