RecoVertex
GhostTrackFitter
interface
VertexGhostTrackState.h
Go to the documentation of this file.
1
#ifndef RecoBTag_VertexGhostTrackState_h
2
#define RecoBTag_VertexGhostTrackState_h
3
4
#include <utility>
5
6
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
7
#include "
DataFormats/GeometryCommonDetAlgo/interface/GlobalError.h
"
8
9
#include "
RecoVertex/GhostTrackFitter/interface/BasicGhostTrackState.h
"
10
11
namespace
reco
{
12
13
class
GhostTrackPrediction;
14
15
class
VertexGhostTrackState
:
public
BasicGhostTrackState
{
16
public
:
17
VertexGhostTrackState
(
const
GlobalPoint
&
pos
,
const
CovarianceMatrix
&cov) :
position_
(
pos
),
covariance_
(cov) {}
18
19
GlobalPoint
globalPosition
()
const override
{
return
position_
; }
20
GlobalError
cartesianError
()
const override
{
return
covariance_
; }
21
CovarianceMatrix
cartesianCovariance
()
const override
{
return
covariance_
; }
22
23
Vertex
vertexStateOnGhostTrack
(
const
GhostTrackPrediction
&pred,
bool
withMeasurementError)
const override
;
24
Vertex
vertexStateOnMeasurement
(
const
GhostTrackPrediction
&pred,
bool
withGhostTrackError)
const override
;
25
26
private
:
27
pointer
clone
()
const override
{
return
build<VertexGhostTrackState>(*
this
); }
28
29
GlobalPoint
position_
;
30
CovarianceMatrix
covariance_
;
31
};
32
33
}
// namespace reco
34
35
#endif // RecoBTag_VertexGhostTrackState_h
reco::VertexGhostTrackState::cartesianError
GlobalError cartesianError() const override
Definition:
VertexGhostTrackState.h:20
pos
Definition:
PixelAliasList.h:18
reco::VertexGhostTrackState::position_
GlobalPoint position_
Definition:
VertexGhostTrackState.h:29
CovarianceMatrix
Definition:
CovarianceMatrix.h:28
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::VertexGhostTrackState::vertexStateOnGhostTrack
Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const override
Definition:
VertexGhostTrackState.cc:37
reco::BasicGhostTrackState::pointer
Proxy::pointer pointer
Definition:
BasicGhostTrackState.h:24
reco::VertexGhostTrackState::globalPosition
GlobalPoint globalPosition() const override
Definition:
VertexGhostTrackState.h:19
BasicGhostTrackState.h
reco::VertexGhostTrackState::cartesianCovariance
CovarianceMatrix cartesianCovariance() const override
Definition:
VertexGhostTrackState.h:21
reco::VertexGhostTrackState::vertexStateOnMeasurement
Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const override
Definition:
VertexGhostTrackState.cc:66
GlobalError.h
GlobalErrorBase< double, ErrorMatrixTag >
reco::VertexGhostTrackState::clone
pointer clone() const override
Definition:
VertexGhostTrackState.h:27
reco::VertexGhostTrackState::covariance_
CovarianceMatrix covariance_
Definition:
VertexGhostTrackState.h:30
math::GlobalPoint
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition:
Point3D.h:18
reco::GhostTrackPrediction
Definition:
GhostTrackPrediction.h:21
reco::VertexGhostTrackState::VertexGhostTrackState
VertexGhostTrackState(const GlobalPoint &pos, const CovarianceMatrix &cov)
Definition:
VertexGhostTrackState.h:17
reco::VertexGhostTrackState
Definition:
VertexGhostTrackState.h:15
reco::BasicGhostTrackState
Definition:
BasicGhostTrackState.h:20
GlobalPoint.h
reco::Vertex
Definition:
Vertex.h:35
Generated for CMSSW Reference Manual by
1.8.16