TrackingTools
TransientTrack
src
TransientTrack.cc
Go to the documentation of this file.
1
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
2
#include "
TrackingTools/TransientTrack/interface/TrackTransientTrack.h
"
3
#include "
TrackingTools/TransientTrack/interface/CandidatePtrTransientTrack.h
"
4
5
#include <iostream>
6
7
using namespace
reco
;
8
9
typedef
TrackTransientTrack
TTT
;
10
typedef
CandidatePtrTransientTrack
CTT
;
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
23
TransientTrack::TransientTrack
(
const
Track
& tk,
24
const
MagneticField
* field,
25
const
edm::ESHandle<GlobalTrackingGeometry>
& tg)
26
:
Base
(new
TTT
(tk, field, tg)) {}
27
TransientTrack::TransientTrack
(
const
Track
& tk,
28
const
double
time
,
29
const
double
dtime,
30
const
MagneticField
* field,
31
const
edm::ESHandle<GlobalTrackingGeometry>
& tg)
32
:
Base
(new
TTT
(tk,
time
, dtime, field, tg)) {}
33
34
TransientTrack::TransientTrack
(
const
TrackRef
& tk,
35
const
MagneticField
* field,
36
const
edm::ESHandle<GlobalTrackingGeometry>
& tg)
37
:
Base
(new
TTT
(tk, field, tg)) {}
38
TransientTrack::TransientTrack
(
const
TrackRef
& tk,
39
const
double
time
,
40
const
double
dtime,
41
const
MagneticField
* field,
42
const
edm::ESHandle<GlobalTrackingGeometry>
& tg)
43
:
Base
(new
TTT
(tk,
time
, dtime, field, tg)) {}
44
45
TransientTrack::TransientTrack
(
const
CandidatePtr
& tk,
46
const
MagneticField
* field,
47
const
edm::ESHandle<GlobalTrackingGeometry>
& tg)
48
:
Base
(new
CTT
(tk, field, tg)) {}
49
50
TransientTrack::TransientTrack
(
const
CandidatePtr
& tk,
51
const
double
time
,
52
const
double
dtime,
53
const
MagneticField
* field,
54
const
edm::ESHandle<GlobalTrackingGeometry>
& tg)
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
// }
CTT
CandidatePtrTransientTrack CTT
Definition:
TransientTrack.cc:10
reco::CandidatePtrTransientTrack
Definition:
CandidatePtrTransientTrack.h:19
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
TransientTrack.h
edm::Ref< TrackCollection >
reco::Track
Definition:
Track.h:27
edm::ESHandle< GlobalTrackingGeometry >
reco::TransientTrack::TransientTrack
TransientTrack() noexcept
Definition:
TransientTrack.h:23
TrackTransientTrack.h
edm::Ptr< Candidate >
CandidatePtrTransientTrack.h
ProxyBase11
Definition:
ProxyBase11.h:23
TTT
TrackTransientTrack TTT
Definition:
TransientTrack.cc:9
ntuplemaker.time
time
Definition:
ntuplemaker.py:310
MagneticField
Definition:
MagneticField.h:19
reco::TrackTransientTrack
Definition:
TrackTransientTrack.h:18
Generated for CMSSW Reference Manual by
1.8.16