CMS 3D CMS Logo

VertexGhostTrackState.h
Go to the documentation of this file.
1 #ifndef RecoBTag_VertexGhostTrackState_h
2 #define RecoBTag_VertexGhostTrackState_h
3 
4 #include <utility>
5 
8 
10 
11 namespace reco {
12 
13 class GhostTrackPrediction;
14 
16  public:
18  const CovarianceMatrix &cov) :
19  position_(pos), covariance_(cov) {}
20 
21  GlobalPoint globalPosition() const override { return position_; }
22  GlobalError cartesianError() const override { return covariance_; }
23  CovarianceMatrix cartesianCovariance() const override { return covariance_; }
24 
26  bool withMeasurementError) const override;
28  bool withGhostTrackError) const override;
29 
30  private:
31  pointer clone() const override
32  { return build<VertexGhostTrackState>(*this); }
33 
36 };
37 
38 }
39 
40 #endif // RecoBTag_VertexGhostTrackState_h
std::pair< GlobalPoint, GlobalError > Vertex
CovarianceMatrix cartesianCovariance() const override
GlobalPoint globalPosition() const override
Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const override
GlobalError cartesianError() const override
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:17
fixed size matrix
pointer clone() const override
Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const override
VertexGhostTrackState(const GlobalPoint &pos, const CovarianceMatrix &cov)