Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
16
TransientTrack::TransientTrack
(
const
CandidatePtr
& ptr ,
const
MagneticField
* field) :
17
Base
( new
CTT
(ptr, field)) {}
18
19
TransientTrack::TransientTrack
(
const
TrackRef
& tk ,
const
MagneticField
* field) :
20
Base
( new
TTT
(tk, field)) {}
21
22
TransientTrack::TransientTrack
(
const
Track
& tk ,
const
MagneticField
* field,
23
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
24
Base
( new
TTT
(tk, field, tg)) {}
25
26
TransientTrack::TransientTrack
(
const
TrackRef
& tk ,
const
MagneticField
* field,
27
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
28
Base
( new
TTT
(tk, field, tg)) {}
29
30
TransientTrack::TransientTrack
(
const
CandidatePtr
& tk ,
const
MagneticField
* field,
31
const
edm::ESHandle<GlobalTrackingGeometry>
& tg) :
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
// }
CTT
CandidatePtrTransientTrack CTT
Definition:
TransientTrack.cc:10
reco::TrackTransientTrack
Definition:
TrackTransientTrack.h:18
edm::Ref< TrackCollection >
TransientTrack.h
MagneticField
Definition:
MagneticField.h:17
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
TrackTransientTrack.h
edm::ESHandle< GlobalTrackingGeometry >
CandidatePtrTransientTrack.h
edm::Ptr< Candidate >
reco::Track
Definition:
Track.h:28
reco::CandidatePtrTransientTrack
Definition:
CandidatePtrTransientTrack.h:19
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.5