CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackGhostTrackState.h
Go to the documentation of this file.
1 #ifndef RecoBTag_TrackGhostTrackState_h
2 #define RecoBTag_TrackGhostTrackState_h
3 
4 #include <utility>
5 
9 
12 
14 
15 namespace reco {
16 
17 class GhostTrackPrediction;
18 
20  public:
22 
23  const TransientTrack &track() const { return track_; }
24  const TrajectoryStateOnSurface &tsos() const { return tsos_; }
25 
26  bool isValid() const { return tsos_.isValid(); }
27 
29  { return tsos_.globalPosition(); }
31  { return tsos_.cartesianError().position(); }
33  { return tsos_.cartesianError().matrix().Sub<CovarianceMatrix>(0, 0); }
34 
36  bool linearize(const GhostTrackPrediction &pred,
37  bool initial, double lambda);
38  bool linearize(const GhostTrackPrediction &pred, double lambda);
39 
41  bool withMeasurementError) const;
43  bool withGhostTrackError) const;
44 
45  private:
47  { return new TrackGhostTrackState(*this); }
48 
51 };
52 
53 }
54 
55 #endif // RecoBTag_TrackGhostTrackState_h
Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const
TrajectoryStateOnSurface tsos_
GlobalError cartesianError() const
const CartesianTrajectoryError cartesianError() const
GlobalPoint globalPosition() const
const TransientTrack & track() const
CovarianceMatrix cartesianCovariance() const
const TrajectoryStateOnSurface & tsos() const
TrackGhostTrackState(const TransientTrack &track)
bool linearize(const GhostTrackPrediction &pred, bool initial, double lambda)
GlobalPoint globalPosition() const
BasicGhostTrackState * clone() const
const AlgebraicSymMatrix66 & matrix() const
const GlobalError position() const
Position error submatrix.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:17
Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const