CMS 3D CMS Logo

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 override { return tsos_.isValid(); }
27 
28  GlobalPoint globalPosition() const override
29  { return tsos_.globalPosition(); }
30  GlobalError cartesianError() const override
31  { return tsos_.cartesianError().position(); }
33  { return tsos_.cartesianError().matrix().Sub<CovarianceMatrix>(0, 0); }
34 
35  void reset() override { tsos_ = TrajectoryStateOnSurface(); }
36  bool linearize(const GhostTrackPrediction &pred,
37  bool initial, double lambda) override;
38  bool linearize(const GhostTrackPrediction &pred, double lambda) override;
39 
41  bool withMeasurementError) const override;
43  bool withGhostTrackError) const override;
44 
45  private:
46  BasicGhostTrackState *clone() const override
47  { return new TrackGhostTrackState(*this); }
48 
51 };
52 
53 }
54 
55 #endif // RecoBTag_TrackGhostTrackState_h
std::pair< GlobalPoint, GlobalError > Vertex
GlobalError cartesianError() const override
TrajectoryStateOnSurface tsos_
const CartesianTrajectoryError cartesianError() const
GlobalPoint globalPosition() const
const TransientTrack & track() const
BasicGhostTrackState * clone() const override
const TrajectoryStateOnSurface & tsos() const
TrackGhostTrackState(const TransientTrack &track)
CovarianceMatrix cartesianCovariance() const override
bool isValid() const override
GlobalPoint globalPosition() const override
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
fixed size matrix
Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const override
Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const override
bool linearize(const GhostTrackPrediction &pred, bool initial, double lambda) override