CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TransientTrack.cc
Go to the documentation of this file.
4 
5 #include <iostream>
6 
7 using namespace reco;
8 
11 
12 TransientTrack::TransientTrack(const Track& tk, const MagneticField* field) : Base(new TTT(tk, field)) {}
13 TransientTrack::TransientTrack(const Track& tk, const double time, const double dtime, const MagneticField* field)
14  : Base(new TTT(tk, time, dtime, field)) {}
15 
16 TransientTrack::TransientTrack(const CandidatePtr& ptr, const MagneticField* field) : Base(new CTT(ptr, field)) {}
17 
18 TransientTrack::TransientTrack(const TrackRef& tk, const MagneticField* field) : Base(new TTT(tk, field)) {}
19 
20 TransientTrack::TransientTrack(const TrackRef& tk, const double time, const double dtime, const MagneticField* field)
21  : Base(new TTT(tk, time, dtime, field)) {}
22 
24  const MagneticField* field,
26  : Base(new TTT(tk, field, tg)) {}
28  const double time,
29  const double dtime,
30  const MagneticField* field,
32  : Base(new TTT(tk, time, dtime, field, tg)) {}
33 
35  const MagneticField* field,
37  : Base(new TTT(tk, field, tg)) {}
39  const double time,
40  const double dtime,
41  const MagneticField* field,
43  : Base(new TTT(tk, time, dtime, field, tg)) {}
44 
46  const MagneticField* field,
48  : Base(new CTT(tk, field, tg)) {}
49 
51  const double time,
52  const double dtime,
53  const MagneticField* field,
55  : Base(new CTT(tk, time, dtime, field, tg)) {}
56 
57 // TransientTrack::TransientTrack( const TransientTrack & tt ) :
58 // Base( new TTT(tt)) {}
59 
60 // TransientTrack& TransientTrack::operator=(const TransientTrack & tt) {
61 // // std::cout << "assign op." << std::endl;
62 // if (this == &tt) return *this;
63 // //
64 // // std::cout << tt.tk_ << std::endl;
65 // // std::cout << "assign base." << std::endl;
66 // Track::operator=(tt);
67 // // std::cout << "done assign base." << std::endl;
68 // // tk_ = &(tt.persistentTrack());
69 // // tk_ = tt.tk_;
70 // // std::cout << "assign ref." << std::endl;
71 // tkr_ = tt.persistentTrackRef();
72 // initialTSOSAvailable = tt.initialTSOSAvailable;
73 // initialTSCPAvailable = tt.initialTSCPAvailable;
74 // initialTSCP = tt.initialTSCP;
75 // initialTSOS = tt.initialTSOS;
76 // theField = tt.field();
77 // initialFTS = tt.initialFreeState();
78 // // std::cout << "assign op. OK" << std::endl;
79 //
80 // return *this;
81 // }
CandidatePtrTransientTrack CTT
TransientTrack() noexcept
TrackTransientTrack TTT