![]() |
ATLAS Offline Software
|
The IMuonTrackTruthTool is a pure virtual interface for tools that recover hole on a track. More...
#include <IMuonTrackTruthTool.h>
Classes | |
| struct | TruthTreeEntry |
Public Types | |
| typedef std::pair< const Trk::Track *, MuonTrackTruth > | MatchResult |
| typedef std::vector< MatchResult > | ResultVec |
| typedef std::pair< const Muon::MuonSegment *, MuonTrackTruth > | SegmentMatchResult |
| typedef std::vector< SegmentMatchResult > | SegmentResultVec |
| typedef std::map< int, TruthTreeEntry > | TruthTree |
| typedef TruthTree::iterator | TruthTreeIt |
| typedef TruthTree::const_iterator | TruthTreeConstIt |
Public Member Functions | |
| virtual ResultVec | match (const TruthTree &truth_tree, const TrackCollection &tracks) const =0 |
| perform truth matching for a given set of tracks | |
| virtual SegmentResultVec | match (const TruthTree &truth_tree, const std::vector< const MuonSegment * > &segments) const =0 |
| perform truth matching for a given set of segments | |
| virtual const TruthTree | createTruthTree (const TrackRecordCollection *truthTrackCol, const McEventCollection *mcEventCollection, const std::vector< const MuonSimDataCollection * > &muonSimData, const CscSimDataCollection *cscSimDataMap) const =0 |
| create truth tree from sim data | |
| virtual MuonTrackTruth | getTruth (const TruthTree &truth_tree, const Trk::Track &track, bool restrictedTruth=false) const =0 |
| get track truth | |
| virtual MuonTrackTruth | getTruth (const TruthTree &truth_tree, const std::vector< const MuonSegment * > &segments, bool restrictedTruth=false) const =0 |
| get segment truth for a list of segments, the segments will be considered to belong to the same muon | |
| virtual MuonTrackTruth | getTruth (const TruthTree &truth_tree, const Muon::MuonSegment &segment) const =0 |
| get segment truth | |
| virtual MuonTrackTruth | getTruth (const TruthTree &truth_tree, const std::vector< const Trk::MeasurementBase * > &measurements, bool restrictedTruth=false) const =0 |
| get truth for a give set of hits. | |
| virtual HepMC::ConstGenParticlePtr | getMother (const TruthTrajectory &traj, const int barcodeIn) const =0 |
| returns the mother particle of the particle with barcodeIn if it is found in the truth trajectory It traces the decay chain until if finds the first particle that is different flavor from the starting one. | |
| virtual HepMC::ConstGenParticlePtr | getAncestor (const TruthTrajectory &traj, const int barcodeIn) const =0 |
| Returns the ancestor particle of the particle with barcodeIn if it is found in the truth trajectory. | |
| virtual HepMC::ConstGenParticlePtr | getInitial (const TruthTrajectory &traj, const int barcodeIn) const =0 |
| Returns the initial particle of the particle with barcodeIn if it is found in the truth trajectory. | |
| virtual unsigned int | getNumberOfScatters (const TruthTrajectory &traj, const int barcodeIn) const =0 |
| Returns the number of steps a particle took while maintaining its PDG ID. | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| access to tool interface | |
The IMuonTrackTruthTool is a pure virtual interface for tools that recover hole on a track.
Definition at line 73 of file IMuonTrackTruthTool.h.
| typedef std::pair<const Trk::Track*, MuonTrackTruth> Muon::IMuonTrackTruthTool::MatchResult |
Definition at line 86 of file IMuonTrackTruthTool.h.
| typedef std::vector<MatchResult> Muon::IMuonTrackTruthTool::ResultVec |
Definition at line 87 of file IMuonTrackTruthTool.h.
| typedef std::pair<const Muon::MuonSegment*, MuonTrackTruth> Muon::IMuonTrackTruthTool::SegmentMatchResult |
Definition at line 89 of file IMuonTrackTruthTool.h.
| typedef std::vector<SegmentMatchResult> Muon::IMuonTrackTruthTool::SegmentResultVec |
Definition at line 90 of file IMuonTrackTruthTool.h.
| typedef std::map<int, TruthTreeEntry> Muon::IMuonTrackTruthTool::TruthTree |
Definition at line 93 of file IMuonTrackTruthTool.h.
| typedef TruthTree::const_iterator Muon::IMuonTrackTruthTool::TruthTreeConstIt |
Definition at line 95 of file IMuonTrackTruthTool.h.
| typedef TruthTree::iterator Muon::IMuonTrackTruthTool::TruthTreeIt |
Definition at line 94 of file IMuonTrackTruthTool.h.
|
pure virtual |
create truth tree from sim data
|
pure virtual |
Returns the ancestor particle of the particle with barcodeIn if it is found in the truth trajectory.
Ancestor here means the last particle at generator level that has a status code different from final state, e.g. Z
|
pure virtual |
Returns the initial particle of the particle with barcodeIn if it is found in the truth trajectory.
For example a mu undergoing a mubrem would create a second mu, in which case this method returns the mu prior to bremsstrahlung.
|
pure virtual |
returns the mother particle of the particle with barcodeIn if it is found in the truth trajectory It traces the decay chain until if finds the first particle that is different flavor from the starting one.
|
pure virtual |
|
pure virtual |
get segment truth
|
pure virtual |
get segment truth for a list of segments, the segments will be considered to belong to the same muon
|
pure virtual |
get truth for a give set of hits.
If restrictedTruth is set to true only missed hits in chambers with hits will be counted.
|
pure virtual |
get track truth
|
inlinestatic |
access to tool interface
Definition at line 144 of file IMuonTrackTruthTool.h.
|
pure virtual |
perform truth matching for a given set of segments
|
pure virtual |
perform truth matching for a given set of tracks