CMS 3D CMS Logo

KalmanAlignmentTracklet.cc

Go to the documentation of this file.
00001 
00002 #include "Alignment/KalmanAlignmentAlgorithm/interface/KalmanAlignmentTracklet.h"
00003 #include "DataFormats/TrackReco/interface/Track.h"
00004 
00005 
00006 KalmanAlignmentTracklet::KalmanAlignmentTracklet( TrajTrackPair& trajTrackPair,
00007                                                   const TrajectoryStateOnSurface& external,
00008                                                   KalmanAlignmentSetup* setup ) :
00009   theTrajTrackPair( trajTrackPair ),
00010   theExternalPrediction( external ),
00011   theExternalPredictionFlag( true ),
00012   theAlignmentSetup( setup )
00013 {
00014   // Reset pointers to NULL.
00015   trajTrackPair.first = 0;
00016   trajTrackPair.second = 0;
00017 }
00018 
00019 
00020 KalmanAlignmentTracklet::KalmanAlignmentTracklet( TrajTrackPair& trajTrackPair,
00021                                                   KalmanAlignmentSetup* setup ) :
00022   theTrajTrackPair( trajTrackPair ),
00023   theExternalPredictionFlag( false ),
00024   theAlignmentSetup( setup )
00025 {
00026   // Reset pointers to NULL.
00027   trajTrackPair.first = 0;
00028   trajTrackPair.second = 0;
00029 }
00030 
00031 
00032 
00033 KalmanAlignmentTracklet::~KalmanAlignmentTracklet( void )
00034 {
00035   delete theTrajTrackPair.first;
00036   delete theTrajTrackPair.second;
00037 }

Generated on Tue Jun 9 17:24:03 2009 for CMSSW by  doxygen 1.5.4