CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

KalmanAlignmentTracklet Class Reference

#include <KalmanAlignmentTracklet.h>

Inheritance diagram for KalmanAlignmentTracklet:
ReferenceCounted

List of all members.

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, KalmanAlignmentSetup *setup)
 KalmanAlignmentTracklet (TrajTrackPair &trajTrackPair, const TrajectoryStateOnSurface &external, KalmanAlignmentSetup *setup)
 Contructor. NOTE: The container gains the ownership of the trajectory/track at construction time.
const reco::Tracktrack (void) const
const Trajectorytrajectory (void) const
const ConstTrajTrackPair trajTrackPair (void) const
 ~KalmanAlignmentTracklet (void)
 Destructor.

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.

                                                                                :
  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;
}

Member Function Documentation

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.

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.

{ 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; }

Member Data Documentation

Definition at line 54 of file KalmanAlignmentTracklet.h.

Referenced by alignmentSetup().

Definition at line 51 of file KalmanAlignmentTracklet.h.

Referenced by externalPrediction().

Definition at line 52 of file KalmanAlignmentTracklet.h.

Referenced by externalPredictionAvailable().