CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackTransientTrack.cc
Go to the documentation of this file.
6 #include <iostream>
7 
8 using namespace reco;
9 
11  Track(), tkr_(), theField(0), initialTSOSAvailable(false),
12  initialTSCPAvailable(false), blStateAvailable(false)
13 {
14 }
15 
17  Track(tk), tkr_(), theField(field), initialTSOSAvailable(false),
18  initialTSCPAvailable(false), blStateAvailable(false)
19 {
20 
22 }
23 
24 
26  Track(*tk), tkr_(tk), theField(field), initialTSOSAvailable(false),
27  initialTSCPAvailable(false), blStateAvailable(false)
28 {
29 
31 }
32 
34  Track(tk), tkr_(), theField(field), initialTSOSAvailable(false),
35  initialTSCPAvailable(false), blStateAvailable(false), theTrackingGeometry(tg)
36 {
37 
39 }
40 
42  Track(*tk), tkr_(tk), theField(field), initialTSOSAvailable(false),
43  initialTSCPAvailable(false), blStateAvailable(false), theTrackingGeometry(tg)
44 {
45 
47 }
48 
49 
51  Track(tt), tkr_(tt.persistentTrackRef()), theField(tt.field()),
52  initialFTS(tt.initialFreeState()), initialTSOSAvailable(false),
53  initialTSCPAvailable(false)
54 {
55  if (tt.initialTSOSAvailable) {
57  initialTSOSAvailable = true;
58  }
59  if (tt.initialTSCPAvailable) {
61  initialTSCPAvailable = true;
62  }
63 }
64 
66 
68 
69 }
70 
72 
74 
75 }
76 
78 {
80  blStateAvailable = false;
81 }
82 
84 {
86  return initialTSOS;
87 }
88 
90 {
91  if (!initialTSCPAvailable) {
93  initialTSCPAvailable = true;
94  }
95  return initialTSCP;
96 }
97 
99 {
100 
102 }
103 
105 {
106 
108 }
109 
111 {
114  initialTSOSAvailable = true;
115 }
116 
119 {
121  return tipe.extrapolate(initialFTS, point);
122 }
123 
125 {
126  if (!blStateAvailable) {
127  TSCBLBuilderNoMaterial blsBuilder;
129  blStateAvailable = true;
130  }
132 }
133 
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &)
TrajectoryStateOnSurface impactPointState() const
TrajectoryStateClosestToPoint impactPointTSCP() const
TrajectoryStateOnSurface initialTSOS
TrajectoryStateOnSurface innerStateOnSurface(const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field)
TrajectoryStateOnSurface outermostMeasurementState() const
void setES(const edm::EventSetup &)
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
TrajectoryStateOnSurface innermostMeasurementState() const
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const
TSCPBuilderNoMaterial builder
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine stateAtBeamLine() const
const MagneticField * theField
GlobalPoint position() const
FreeTrajectoryState initialFreeState(const reco::Track &tk, const MagneticField *field)
const T & get() const
Definition: EventSetup.h:55
TrajectoryStateOnSurface outerStateOnSurface(const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:18
TrajectoryStateOnSurface extrapolate(const FreeTrajectoryState &fts, const GlobalPoint &vtx) const
extrapolation with default (=geometrical) propagator
void setBeamSpot(const reco::BeamSpot &beamSpot)
TrajectoryStateClosestToPoint initialTSCP
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
FreeTrajectoryState initialFTS