CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
KalmanAlignmentTracklet Class Reference

#include <KalmanAlignmentTracklet.h>

Inheritance diagram for KalmanAlignmentTracklet:
ReferenceCounted

Public Types

typedef
AlignmentAlgorithmBase::ConstTrajTrackPair 
ConstTrajTrackPair
 
typedef
AlignmentAlgorithmBase::ConstTrajTrackPairCollection 
ConstTrajTrackPairCollection
 
typedef
ReferenceCountingPointer
< KalmanAlignmentTracklet
TrackletPtr
 
typedef std::pair< Trajectory
*, reco::Track * > 
TrajTrackPair
 
typedef std::vector
< TrajTrackPair
TrajTrackPairCollection
 

Public Member Functions

KalmanAlignmentSetupalignmentSetup (void) const
 
const TrajectoryStateOnSurface externalPrediction (void) const
 
bool externalPredictionAvailable (void) const
 
 KalmanAlignmentTracklet (TrajTrackPair &trajTrackPair, const TrajectoryStateOnSurface &external, KalmanAlignmentSetup *setup)
 Contructor. NOTE: The container gains the ownership of the trajectory/track at construction time. More...
 
 KalmanAlignmentTracklet (TrajTrackPair &trajTrackPair, KalmanAlignmentSetup *setup)
 
const reco::Tracktrack (void) const
 
const Trajectorytrajectory (void) const
 
const ConstTrajTrackPair trajTrackPair (void) const
 
 ~KalmanAlignmentTracklet (void)
 Destructor. More...
 

Private Attributes

KalmanAlignmentSetuptheAlignmentSetup
 
TrajectoryStateOnSurface theExternalPrediction
 
bool theExternalPredictionFlag
 
ConstTrajTrackPair theTrajTrackPair
 

Detailed Description

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.

Member Typedef Documentation

Definition at line 22 of file KalmanAlignmentTracklet.h.

Definition at line 23 of file KalmanAlignmentTracklet.h.

Definition at line 25 of file KalmanAlignmentTracklet.h.

Definition at line 20 of file KalmanAlignmentTracklet.h.

Definition at line 21 of file KalmanAlignmentTracklet.h.

Constructor & Destructor Documentation

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.

8  :
10  theExternalPrediction( external ),
12  theAlignmentSetup( setup )
13 {
14  // Reset pointers to NULL.
15  trajTrackPair.first = 0;
16  trajTrackPair.second = 0;
17 }
const ConstTrajTrackPair trajTrackPair(void) const
KalmanAlignmentSetup * theAlignmentSetup
TrajectoryStateOnSurface theExternalPrediction
ConstTrajTrackPair theTrajTrackPair
KalmanAlignmentTracklet::KalmanAlignmentTracklet ( TrajTrackPair trajTrackPair,
KalmanAlignmentSetup setup 
)

Definition at line 20 of file KalmanAlignmentTracklet.cc.

21  :
24  theAlignmentSetup( setup )
25 {
26  // Reset pointers to NULL.
27  trajTrackPair.first = 0;
28  trajTrackPair.second = 0;
29 }
const ConstTrajTrackPair trajTrackPair(void) const
KalmanAlignmentSetup * theAlignmentSetup
ConstTrajTrackPair theTrajTrackPair
KalmanAlignmentTracklet::~KalmanAlignmentTracklet ( void  )

Destructor.

Definition at line 33 of file KalmanAlignmentTracklet.cc.

References theTrajTrackPair.

34 {
35  delete theTrajTrackPair.first;
36  delete theTrajTrackPair.second;
37 }
ConstTrajTrackPair theTrajTrackPair

Member Function Documentation

KalmanAlignmentSetup* KalmanAlignmentTracklet::alignmentSetup ( void  ) const
inline

Definition at line 45 of file KalmanAlignmentTracklet.h.

References theAlignmentSetup.

45 { return theAlignmentSetup; }
KalmanAlignmentSetup * theAlignmentSetup
const TrajectoryStateOnSurface KalmanAlignmentTracklet::externalPrediction ( void  ) const
inline

Definition at line 42 of file KalmanAlignmentTracklet.h.

References theExternalPrediction.

42 { return theExternalPrediction; }
TrajectoryStateOnSurface theExternalPrediction
bool KalmanAlignmentTracklet::externalPredictionAvailable ( void  ) const
inline

Definition at line 43 of file KalmanAlignmentTracklet.h.

References theExternalPredictionFlag.

const reco::Track* KalmanAlignmentTracklet::track ( void  ) const
inline

Definition at line 39 of file KalmanAlignmentTracklet.h.

References theTrajTrackPair.

39 { return theTrajTrackPair.second; }
ConstTrajTrackPair theTrajTrackPair
const Trajectory* KalmanAlignmentTracklet::trajectory ( void  ) const
inline

Definition at line 38 of file KalmanAlignmentTracklet.h.

References theTrajTrackPair.

38 { return theTrajTrackPair.first; }
ConstTrajTrackPair theTrajTrackPair
const ConstTrajTrackPair KalmanAlignmentTracklet::trajTrackPair ( void  ) const
inline

Definition at line 40 of file KalmanAlignmentTracklet.h.

References theTrajTrackPair.

40 { return theTrajTrackPair; }
ConstTrajTrackPair theTrajTrackPair

Member Data Documentation

KalmanAlignmentSetup* KalmanAlignmentTracklet::theAlignmentSetup
private

Definition at line 54 of file KalmanAlignmentTracklet.h.

Referenced by alignmentSetup().

TrajectoryStateOnSurface KalmanAlignmentTracklet::theExternalPrediction
private

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().

ConstTrajTrackPair KalmanAlignmentTracklet::theTrajTrackPair
private