CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KalmanAlignmentTracklet.cc
Go to the documentation of this file.
1 
4 
5 
7  const TrajectoryStateOnSurface& external,
9  theTrajTrackPair( trajTrackPair ),
10  theExternalPrediction( external ),
11  theExternalPredictionFlag( true ),
12  theAlignmentSetup( setup )
13 {
14  // Reset pointers to NULL.
15  trajTrackPair.first = 0;
16  trajTrackPair.second = 0;
17 }
18 
19 
22  theTrajTrackPair( trajTrackPair ),
23  theExternalPredictionFlag( false ),
24  theAlignmentSetup( setup )
25 {
26  // Reset pointers to NULL.
27  trajTrackPair.first = 0;
28  trajTrackPair.second = 0;
29 }
30 
31 
32 
34 {
35  delete theTrajTrackPair.first;
36  delete theTrajTrackPair.second;
37 }
KalmanAlignmentTracklet(TrajTrackPair &trajTrackPair, const TrajectoryStateOnSurface &external, KalmanAlignmentSetup *setup)
Contructor. NOTE: The container gains the ownership of the trajectory/track at construction time...
ConstTrajTrackPair theTrajTrackPair
std::pair< Trajectory *, reco::Track * > TrajTrackPair
volatile std::atomic< bool > shutdown_flag false
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
~KalmanAlignmentTracklet(void)
Destructor.