#include <KalmanAlignmentTracklet.h>
Smart container for purely transient trajectory/track-pairs and, if available, an external measurement (stored as TrajectoryStateOnSurface).
Definition at line 15 of file KalmanAlignmentTracklet.h.
Definition at line 22 of file KalmanAlignmentTracklet.h.
typedef AlignmentAlgorithmBase::ConstTrajTrackPairCollection KalmanAlignmentTracklet::ConstTrajTrackPairCollection |
Definition at line 23 of file KalmanAlignmentTracklet.h.
Definition at line 25 of file KalmanAlignmentTracklet.h.
typedef std::pair<Trajectory*, reco::Track*> KalmanAlignmentTracklet::TrajTrackPair |
Definition at line 20 of file KalmanAlignmentTracklet.h.
typedef std::vector< TrajTrackPair > KalmanAlignmentTracklet::TrajTrackPairCollection |
Definition at line 21 of file KalmanAlignmentTracklet.h.
KalmanAlignmentTracklet::KalmanAlignmentTracklet | ( | TrajTrackPair & | trajTrackPair, |
const TrajectoryStateOnSurface & | external, | ||
KalmanAlignmentSetup * | setup | ||
) |
Contructor. NOTE: The container gains the ownership of the trajectory/track at construction time.
Definition at line 6 of file KalmanAlignmentTracklet.cc.
: theTrajTrackPair( trajTrackPair ), theExternalPrediction( external ), theExternalPredictionFlag( true ), theAlignmentSetup( setup ) { // Reset pointers to NULL. trajTrackPair.first = 0; trajTrackPair.second = 0; }
KalmanAlignmentTracklet::KalmanAlignmentTracklet | ( | TrajTrackPair & | trajTrackPair, |
KalmanAlignmentSetup * | setup | ||
) |
Definition at line 20 of file KalmanAlignmentTracklet.cc.
: theTrajTrackPair( trajTrackPair ), theExternalPredictionFlag( false ), theAlignmentSetup( setup ) { // Reset pointers to NULL. trajTrackPair.first = 0; trajTrackPair.second = 0; }
KalmanAlignmentTracklet::~KalmanAlignmentTracklet | ( | void | ) |
Destructor.
Definition at line 33 of file KalmanAlignmentTracklet.cc.
References theTrajTrackPair.
{ delete theTrajTrackPair.first; delete theTrajTrackPair.second; }
KalmanAlignmentSetup* KalmanAlignmentTracklet::alignmentSetup | ( | void | ) | const [inline] |
Definition at line 45 of file KalmanAlignmentTracklet.h.
References theAlignmentSetup.
{ return theAlignmentSetup; }
const TrajectoryStateOnSurface KalmanAlignmentTracklet::externalPrediction | ( | void | ) | const [inline] |
Definition at line 42 of file KalmanAlignmentTracklet.h.
References theExternalPrediction.
{ return theExternalPrediction; }
bool KalmanAlignmentTracklet::externalPredictionAvailable | ( | void | ) | const [inline] |
Definition at line 43 of file KalmanAlignmentTracklet.h.
References theExternalPredictionFlag.
{ return theExternalPredictionFlag; }
const reco::Track* KalmanAlignmentTracklet::track | ( | void | ) | const [inline] |
Definition at line 39 of file KalmanAlignmentTracklet.h.
References theTrajTrackPair.
{ return theTrajTrackPair.second; }
const Trajectory* KalmanAlignmentTracklet::trajectory | ( | void | ) | const [inline] |
Definition at line 38 of file KalmanAlignmentTracklet.h.
References theTrajTrackPair.
{ return theTrajTrackPair.first; }
const ConstTrajTrackPair KalmanAlignmentTracklet::trajTrackPair | ( | void | ) | const [inline] |
Definition at line 40 of file KalmanAlignmentTracklet.h.
References theTrajTrackPair.
{ return theTrajTrackPair; }
Definition at line 54 of file KalmanAlignmentTracklet.h.
Referenced by alignmentSetup().
Definition at line 51 of file KalmanAlignmentTracklet.h.
Referenced by externalPrediction().
bool KalmanAlignmentTracklet::theExternalPredictionFlag [private] |
Definition at line 52 of file KalmanAlignmentTracklet.h.
Referenced by externalPredictionAvailable().
Definition at line 49 of file KalmanAlignmentTracklet.h.
Referenced by track(), trajectory(), trajTrackPair(), and ~KalmanAlignmentTracklet().