#include <TrackTools/TrackSelector.h>
Inheritance diagram for TrackSelector:
Public Types | |
enum | ETrackType { unknown = 0, velo = 1, seed = 2, longtrack = 3, upstream = 4, downstream = 5, veloBack = 6 } |
Enum for the different track type. More... | |
Public Member Functions | |
TrackSelector (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor. | |
virtual | ~TrackSelector () |
Destructor. | |
virtual StatusCode | initialize () |
Tool initialization. | |
virtual StatusCode | finalize () |
Tool finalization. | |
virtual bool | select (Track *track) const |
virtual bool | select (MCParticle *mcParticle) |
virtual bool | selectTrackType (Track *track) const |
virtual bool | selectTrackType (MCParticle *mcParticle) |
virtual int | getTrackType (Track *track) const |
virtual int | getTrackType (MCParticle *mcPart) |
virtual StatusCode | setTrackType (const int tracktype, Track *&track) const |
virtual StatusCode | setTrackType (MCParticle *mcPart, Track *&track) |
Private Attributes | |
ITrackReconstructible * | m_mcParticleJudge |
Pointer to MCParticle judge. | |
ETrackType | m_previousTrackType |
Previous tracktype identifier. | |
MCParticle * | m_previousMCParticle |
Previously requested MCParticle. | |
bool | m_uniqueFlag |
To monitor unique tracks only. | |
bool | m_errorFlag |
To monitor only correctly fitted tracks. | |
double | m_minP |
minimum momentum for the tracks | |
double | m_maxP |
maximum momentum for the tracks | |
std::vector< int > | m_tracktypes |
std::string | m_mcParticleJudgeName |
Name of the tool to decide which MCParticles should have been found. |
Definition at line 44 of file TrackSelector.h.
|
Enum for the different track type.
Definition at line 49 of file TrackSelector.h.
|
|
Constructor.
|
|
Destructor.
|
|
Tool finalization.
|
|
Get the local tracktype identifyer of the MCParticle.
Implements ITrackSelector. |
|
Get the local tracktype identifyer of the Track.
Implements ITrackSelector. |
|
Tool initialization.
|
|
Select the MCParticle.
Implements ITrackSelector. |
|
Select the Track.
Implements ITrackSelector. |
|
Select the MCParticle only by tracktype.
Implements ITrackSelector. |
|
Select the Track only by tracktype, unique and error-flag .
Implements ITrackSelector. |
|
Set the tracktype of a (true) Track with an MCParticle
Implements ITrackSelector. |
|
Set the tracktype of a Track.
Implements ITrackSelector. |
|
To monitor only correctly fitted tracks.
Definition at line 131 of file TrackSelector.h. |
|
maximum momentum for the tracks
Definition at line 133 of file TrackSelector.h. |
|
Pointer to MCParticle judge.
Definition at line 123 of file TrackSelector.h. |
|
Name of the tool to decide which MCParticles should have been found.
Definition at line 136 of file TrackSelector.h. |
|
minimum momentum for the tracks
Definition at line 132 of file TrackSelector.h. |
|
Previously requested MCParticle.
Definition at line 127 of file TrackSelector.h. |
|
Previous tracktype identifier.
Definition at line 126 of file TrackSelector.h. |
|
Track types of the monitored tracks Definition at line 134 of file TrackSelector.h. |
|
To monitor unique tracks only.
Definition at line 130 of file TrackSelector.h. |