CMS 3D CMS Logo

MultiTrajectoryStateTransform.h
Go to the documentation of this file.
1 #ifndef MultiTrajectoryStateTransform_H
2 #define MultiTrajectoryStateTransform_H
3 
11 
13 class TrackingGeometry;
14 class Surface;
15 class MagneticField;
17 
19 private:
23 
24 public:
26  MultiTrajectoryStateTransform() : geometry_(nullptr), field_(nullptr), extrapolator_(nullptr) {}
29  : geometry_(geom), field_(field), extrapolator_(nullptr) {}
32 
37 
40  bool innerMomentumFromMode(const reco::GsfTrack& tk, GlobalVector& momentum) const;
42  bool outerMomentumFromMode(const reco::GsfTrack& tk, GlobalVector& momentum) const;
43 
46 
50  const TrackingGeometry& geom,
51  const MagneticField* field);
55  const TrackingGeometry& geom,
56  const MagneticField* field);
57 
58 private:
60  static TrajectoryStateOnSurface stateOnSurface(const std::vector<double>& weights,
61  const std::vector<ParameterVector>& parameters,
62  const std::vector<CovarianceMatrix>& covariances,
63  const double& pzSign,
64  const Surface& surface,
65  const MagneticField* field);
67  bool checkExtrapolator() const;
69  bool checkGeometry() const;
70 
71 private:
75 };
76 
77 #endif
Vector3DBase
Definition: Vector3DBase.h:8
MultiTrajectoryStateTransform::outerMomentumFromMode
bool outerMomentumFromMode(const reco::GsfTrack &tk, GlobalVector &momentum) const
Definition: MultiTrajectoryStateTransform.cc:27
HLT_2018_cff.weights
weights
Definition: HLT_2018_cff.py:87167
GsfTrackExtra.h
TrackingGeometry
Definition: TrackingGeometry.h:26
MultiTrajectoryStateTransform::extrapolatedState
TrajectoryStateOnSurface extrapolatedState(const TrajectoryStateOnSurface tsos, const GlobalPoint &point) const
Definition: MultiTrajectoryStateTransform.cc:104
reco::GsfTrackExtra::dimension
Definition: GsfTrackExtra.h:19
MultiTrajectoryStateTransform::geometry_
const TrackingGeometry * geometry_
Definition: MultiTrajectoryStateTransform.h:72
Surface
Definition: Surface.h:36
TransverseImpactPointExtrapolator
Definition: TransverseImpactPointExtrapolator.h:26
reco::GsfTrackExtra::LocalParameterVector
math::Vector< dimension >::type LocalParameterVector
local parameter vector
Definition: GsfTrackExtra.h:21
MultiTrajectoryStateTransform::ParameterVector
reco::GsfTrackExtra::LocalParameterVector ParameterVector
Definition: MultiTrajectoryStateTransform.h:20
MultiTrajectoryStateTransform::outerStateOnSurface
TrajectoryStateOnSurface outerStateOnSurface(const reco::GsfTrack &tk) const
Definition: MultiTrajectoryStateTransform.cc:19
parameters
parameters
Definition: BeamSpot_PayloadInspector.cc:14
MultiTrajectoryStateTransform::extrapolator_
TransverseImpactPointExtrapolator * extrapolator_
Definition: MultiTrajectoryStateTransform.h:74
reco::GsfTrack
Definition: GsfTrack.h:12
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MultiTrajectoryStateTransform::checkGeometry
bool checkGeometry() const
Definition: MultiTrajectoryStateTransform.cc:96
MultiTrajectoryStateTransform::checkExtrapolator
bool checkExtrapolator() const
Definition: MultiTrajectoryStateTransform.cc:109
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
MultiTrajectoryStateTransform::MultiTrajectoryStateTransform
MultiTrajectoryStateTransform(const TrackingGeometry *geom, const MagneticField *field)
Definition: MultiTrajectoryStateTransform.h:28
Point3DBase< float, GlobalTag >
MultiTrajectoryStateTransform::stateOnSurface
static TrajectoryStateOnSurface stateOnSurface(const std::vector< double > &weights, const std::vector< ParameterVector > &parameters, const std::vector< CovarianceMatrix > &covariances, const double &pzSign, const Surface &surface, const MagneticField *field)
Definition: MultiTrajectoryStateTransform.cc:63
MultiTrajectoryStateTransform::CovarianceMatrix
reco::GsfTrackExtra::LocalCovarianceMatrix CovarianceMatrix
Definition: MultiTrajectoryStateTransform.h:21
MultiTrajectoryStateTransform::~MultiTrajectoryStateTransform
~MultiTrajectoryStateTransform()
Definition: MultiTrajectoryStateTransform.cc:17
GsfTrack.h
MultiTrajectoryStateTransform
Definition: MultiTrajectoryStateTransform.h:18
reco::GsfTrackExtra::LocalCovarianceMatrix
math::Error< dimension >::type LocalCovarianceMatrix
local covariance matrix
Definition: GsfTrackExtra.h:23
MultiTrajectoryStateTransform::MultiTrajectoryStateTransform
MultiTrajectoryStateTransform()
Definition: MultiTrajectoryStateTransform.h:26
MultiTrajectoryStateTransform::field_
const MagneticField * field_
Definition: MultiTrajectoryStateTransform.h:73
GlobalVector.h
MultiTrajectoryStateTransform::innerStateOnSurface
TrajectoryStateOnSurface innerStateOnSurface(const reco::GsfTrack &tk) const
Definition: MultiTrajectoryStateTransform.cc:23
MultiTrajectoryStateTransform::innerMomentumFromMode
bool innerMomentumFromMode(const reco::GsfTrack &tk, GlobalVector &momentum) const
Definition: MultiTrajectoryStateTransform.cc:31
MultiTrajectoryStateTransform::dimension
Definition: MultiTrajectoryStateTransform.h:22
point
*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
MagneticField
Definition: MagneticField.h:19
GlobalPoint.h