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 More... | |
virtual SegmentResultVec | match (const TruthTree &truth_tree, const std::vector< const MuonSegment * > &segments) const =0 |
perform truth matching for a given set of segments More... | |
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 More... | |
virtual MuonTrackTruth | getTruth (const TruthTree &truth_tree, const Trk::Track &track, bool restrictedTruth=false) const =0 |
get track truth More... | |
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 More... | |
virtual MuonTrackTruth | getTruth (const TruthTree &truth_tree, const Muon::MuonSegment &segment) const =0 |
get segment truth More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
access to tool interface More... | |
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
Implemented in Muon::MuonTrackTruthTool.
|
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
Implemented in Muon::MuonTrackTruthTool.
|
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.
Implemented in Muon::MuonTrackTruthTool.
|
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.
Implemented in Muon::MuonTrackTruthTool.
|
pure virtual |
Returns the number of steps a particle took while maintaining its PDG ID.
Implemented in Muon::MuonTrackTruthTool.
|
pure virtual |
get segment truth
Implemented in Muon::MuonTrackTruthTool.
|
pure virtual |
get segment truth for a list of segments, the segments will be considered to belong to the same muon
Implemented in Muon::MuonTrackTruthTool.
|
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.
Implemented in Muon::MuonTrackTruthTool.
|
pure virtual |
get track truth
Implemented in Muon::MuonTrackTruthTool.
|
inlinestatic |
access to tool interface
Definition at line 144 of file IMuonTrackTruthTool.h.
|
pure virtual |
perform truth matching for a given set of segments
Implemented in Muon::MuonTrackTruthTool.
|
pure virtual |
perform truth matching for a given set of tracks
Implemented in Muon::MuonTrackTruthTool.