1 #ifndef RecoBTag_BasicGhostTrackState_h
2 #define RecoBTag_BasicGhostTrackState_h
18 class GhostTrackPrediction;
27 typedef std::pair<GlobalPoint, GlobalError>
Vertex;
31 template <
typename T,
typename... Args>
32 static std::shared_ptr<BGTS>
build(Args &&...
args) {
33 return std::make_shared<T>(std::forward<Args>(
args)...);
41 virtual bool isValid()
const {
return true; }
68 #endif // RecoBTag_BasicGhostTrackState_h
static std::shared_ptr< BGTS > build(Args &&...args)
std::pair< GlobalPoint, GlobalError > Vertex
virtual bool isValid() const
virtual CovarianceMatrix cartesianCovariance() const =0
std::shared_ptr< T > pointer
virtual bool linearize(const GhostTrackPrediction &pred, double lambda)
virtual Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const =0
void setWeight(double weight)
virtual bool linearize(const GhostTrackPrediction &pred, bool initial, double lambda)
virtual GlobalPoint globalPosition() const =0
virtual GlobalError cartesianError() const =0
math::Error< 3 >::type CovarianceMatrix
virtual pointer clone() const =0
virtual ~BasicGhostTrackState()
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
virtual Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const =0