The IMuonTrackTruthTool is a pure virtual interface for tools that recover hole on a track.
More...
#include <IMuonTrackTruthTool.h>
|
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...
|
|
The IMuonTrackTruthTool is a pure virtual interface for tools that recover hole on a track.
Definition at line 73 of file IMuonTrackTruthTool.h.
◆ MatchResult
◆ ResultVec
◆ SegmentMatchResult
◆ SegmentResultVec
◆ TruthTree
◆ TruthTreeConstIt
◆ TruthTreeIt
◆ createTruthTree()
create truth tree from sim data
◆ getAncestor()
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
◆ getInitial()
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.
◆ getMother()
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.
◆ getNumberOfScatters()
virtual unsigned int Muon::IMuonTrackTruthTool::getNumberOfScatters |
( |
const TruthTrajectory & |
traj, |
|
|
const int |
barcodeIn |
|
) |
| const |
|
pure virtual |
Returns the number of steps a particle took while maintaining its PDG ID.
◆ getTruth() [1/4]
◆ getTruth() [2/4]
get segment truth for a list of segments, the segments will be considered to belong to the same muon
◆ getTruth() [3/4]
get truth for a give set of hits.
If restrictedTruth is set to true only missed hits in chambers with hits will be counted.
◆ getTruth() [4/4]
◆ interfaceID()
const InterfaceID & Muon::IMuonTrackTruthTool::interfaceID |
( |
| ) |
|
|
inlinestatic |
◆ match() [1/2]
perform truth matching for a given set of segments
◆ match() [2/2]
perform truth matching for a given set of tracks
The documentation for this class was generated from the following file: