Main Page
Namespaces
Classes
Package Documentation
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
13
TransientTrack::TransientTrack
(
const
Track
& tk ,
const
MagneticField
* field) :
14
Base
( new
TTT
(tk, field)) {}
15
TransientTrack::TransientTrack
(
const
Track
& tk ,
const
double
time
,
const
double
dtime,
const
MagneticField
*
field
) :
16
Base
( new
TTT
(tk, time, dtime, field)) {}
17
18
TransientTrack::TransientTrack
(
const
CandidatePtr
& ptr ,
const
MagneticField
*
field
) :
19
Base
( new
CTT
(ptr, field)) {}
20
21
TransientTrack::TransientTrack
(
const
TrackRef
& tk ,
const
MagneticField
*
field
) :
22
Base
( new
TTT
(tk, field)) {}
23
24
TransientTrack::TransientTrack
(
const
TrackRef
& tk ,
const
double
time
,
const
double
dtime,
const
MagneticField
*
field
) :
25
Base
( new
TTT
(tk, time, dtime, field)) {}
26
27
TransientTrack::TransientTrack
(
const
Track
& tk ,
const
MagneticField
*
field
,
28
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
29
Base
( new
TTT
(tk, field, tg)) {}
30
TransientTrack::TransientTrack
(
const
Track
& tk ,
const
double
time
,
31
const
double
dtime,
32
const
MagneticField
*
field
,
33
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
34
Base
( new
TTT
(tk, time, dtime, field, tg)) {}
35
36
TransientTrack::TransientTrack
(
const
TrackRef
& tk ,
const
MagneticField
*
field
,
37
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
38
Base
( new
TTT
(tk, field, tg)) {}
39
TransientTrack::TransientTrack
(
const
TrackRef
& tk ,
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 ,
const
MagneticField
*
field
,
46
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
47
Base
( new
CTT
(tk, field, tg)) {}
48
49
50
// TransientTrack::TransientTrack( const TransientTrack & tt ) :
51
// Base( new TTT(tt)) {}
52
53
54
// TransientTrack& TransientTrack::operator=(const TransientTrack & tt) {
55
// // std::cout << "assign op." << std::endl;
56
// if (this == &tt) return *this;
57
// //
58
// // std::cout << tt.tk_ << std::endl;
59
// // std::cout << "assign base." << std::endl;
60
// Track::operator=(tt);
61
// // std::cout << "done assign base." << std::endl;
62
// // tk_ = &(tt.persistentTrack());
63
// // tk_ = tt.tk_;
64
// // std::cout << "assign ref." << std::endl;
65
// tkr_ = tt.persistentTrackRef();
66
// initialTSOSAvailable = tt.initialTSOSAvailable;
67
// initialTSCPAvailable = tt.initialTSCPAvailable;
68
// initialTSCP = tt.initialTSCP;
69
// initialTSOS = tt.initialTSOS;
70
// theField = tt.field();
71
// initialFTS = tt.initialFreeState();
72
// // std::cout << "assign op. OK" << std::endl;
73
//
74
// return *this;
75
// }
CTT
CandidatePtrTransientTrack CTT
Definition:
TransientTrack.cc:10
reco::TrackTransientTrack
Definition:
TrackTransientTrack.h:18
edm::Ref< TrackCollection >
TransientTrack.h
MagneticField
Definition:
MagneticField.h:17
reco::TransientTrack::field
const MagneticField * field() const
Definition:
TransientTrack.h:113
TrackTransientTrack.h
edm::ESHandle< GlobalTrackingGeometry >
CandidatePtrTransientTrack.h
edm::Ptr< Candidate >
ntuplemaker.time
time
Definition:
ntuplemaker.py:308
reco::Track
Definition:
Track.h:28
reco::CandidatePtrTransientTrack
Definition:
CandidatePtrTransientTrack.h:19
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
reco::TransientTrack::TransientTrack
TransientTrack()
Definition:
TransientTrack.h:27
ProxyBase
Definition:
ProxyBase.h:20
TTT
TrackTransientTrack TTT
Definition:
TransientTrack.cc:9
Generated for CMSSW Reference Manual by
1.8.11