ForwardTracking
1.10.0
|
A class to make linking reconstructed tracks and true tracks easier. More...
#include <TrueTrack.h>
Public Member Functions | |
TrueTrack (Track *trueTrack, MCParticle *mcp, MarlinTrk::IMarlinTrkSystem *trkSystem) | |
Track * | getTrueTrack () const |
const MCParticle * | getMCP () const |
std::vector< const RecoTrack * > | getRecoTracks () const |
void | addRecoTrack (RecoTrack *recoTrack) |
bool | isLost () const |
bool | isFoundCompletely () const |
bool | completeVersionExists () const |
std::string | getMCPInfo () const |
std::string | getTrueTrackInfo () const |
std::string | getRelatedTracksInfo () const |
std::string | getFoundInfo () const |
std::string | getCutInfo () const |
unsigned | getNumberOfTracksWithType (TrackType type) const |
std::vector< std::string > | getCuts () const |
void | addCut (std::string cut) |
Stores the cut, that the true track didn't survive. More... | |
A class to make linking reconstructed tracks and true tracks easier.
It represents a true track, so i wrapps a Track* and a MCParticle* ( accessible by getTrack() and getMCP() ) and offers additional functionality.
|
inline |
Stores the cut, that the true track didn't survive.
cut | A string describing the cut |
bool TrueTrack::completeVersionExists | ( | ) | const |
References getNumberOfTracksWithType().
Referenced by getFoundInfo().
std::string TrueTrack::getCutInfo | ( | ) | const |
Referenced by TrackingFeedbackProcessor::processEvent().
|
inline |
std::string TrueTrack::getFoundInfo | ( | ) | const |
References completeVersionExists(), and isLost().
Referenced by TrackingFeedbackProcessor::processEvent().
|
inline |
std::string TrueTrack::getMCPInfo | ( | ) | const |
Referenced by TrackingFeedbackProcessor::processEvent().
unsigned TrueTrack::getNumberOfTracksWithType | ( | TrackType | type | ) | const |
Referenced by completeVersionExists(), and isFoundCompletely().
|
inline |
std::string TrueTrack::getRelatedTracksInfo | ( | ) | const |
Referenced by TrackingFeedbackProcessor::processEvent().
|
inline |
std::string TrueTrack::getTrueTrackInfo | ( | ) | const |
References RecoTrack::cellIDInfo(), and RecoTrack::positionInfo().
Referenced by TrackingFeedbackProcessor::processEvent().
bool TrueTrack::isFoundCompletely | ( | ) | const |
References getNumberOfTracksWithType().
bool TrueTrack::isLost | ( | ) | const |
Referenced by getFoundInfo().