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){
return std::make_shared<T>(std::forward<Args>(
args)...);}
40 virtual bool isValid()
const {
return true; }
44 bool initial,
double lambda)
52 bool withMeasurementError)
const = 0;
55 bool withGhostTrackError)
const = 0;
69 #endif // RecoBTag_BasicGhostTrackState_h
static std::shared_ptr< BGTS > build(Args &&...args)
std::pair< GlobalPoint, GlobalError > Vertex
virtual bool isValid() const
virtual pointer clone() const =0
std::shared_ptr< T > pointer
virtual bool linearize(const GhostTrackPrediction &pred, double lambda)
virtual Vertex vertexStateOnMeasurement(const GhostTrackPrediction &pred, bool withGhostTrackError) const =0
void setWeight(double weight)
virtual bool linearize(const GhostTrackPrediction &pred, bool initial, double lambda)
virtual GlobalError cartesianError() const =0
virtual GlobalPoint globalPosition() const =0
math::Error< 3 >::type CovarianceMatrix
virtual Vertex vertexStateOnGhostTrack(const GhostTrackPrediction &pred, bool withMeasurementError) const =0
virtual ~BasicGhostTrackState()
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
virtual CovarianceMatrix cartesianCovariance() const =0