test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TransientTrack.cc
Go to the documentation of this file.
4 
5 #include <iostream>
6 
7 using namespace reco;
8 
11 
12 
13 TransientTrack::TransientTrack( const Track & tk , const MagneticField* field) :
14  Base( new TTT(tk, field)) {}
15 
17  Base( new CTT(ptr, field)) {}
18 
20  Base( new TTT(tk, field)) {}
21 
24  Base( new TTT(tk, field, tg)) {}
25 
28  Base( new TTT(tk, field, tg)) {}
29 
32  Base( new CTT(tk, field, tg)) {}
33 
34 
35 // TransientTrack::TransientTrack( const TransientTrack & tt ) :
36 // Base( new TTT(tt)) {}
37 
38 
39 // TransientTrack& TransientTrack::operator=(const TransientTrack & tt) {
40 // // std::cout << "assign op." << std::endl;
41 // if (this == &tt) return *this;
42 // //
43 // // std::cout << tt.tk_ << std::endl;
44 // // std::cout << "assign base." << std::endl;
45 // Track::operator=(tt);
46 // // std::cout << "done assign base." << std::endl;
47 // // tk_ = &(tt.persistentTrack());
48 // // tk_ = tt.tk_;
49 // // std::cout << "assign ref." << std::endl;
50 // tkr_ = tt.persistentTrackRef();
51 // initialTSOSAvailable = tt.initialTSOSAvailable;
52 // initialTSCPAvailable = tt.initialTSCPAvailable;
53 // initialTSCP = tt.initialTSCP;
54 // initialTSOS = tt.initialTSOS;
55 // theField = tt.field();
56 // initialFTS = tt.initialFreeState();
57 // // std::cout << "assign op. OK" << std::endl;
58 //
59 // return *this;
60 // }
CandidatePtrTransientTrack CTT
TrackTransientTrack TTT