1 #ifndef RecoBTag_SecondaryVertex_TemplatedSecondaryVertex_h 2 #define RecoBTag_SecondaryVertex_TemplatedSecondaryVertex_h 17 bool withPVError =
false) :
18 SV(sv),
dist1d_(
computeDist1d(pv, sv, direction, withPVError)),
dist2d_(
computeDist2d(pv, sv, direction, withPVError)),
dist3d_(
computeDist3d(pv, sv, direction, withPVError)) {}
47 #endif // RecoBTag_SecondaryVertex_TemplatedSecondaryVertex_h TemplatedSecondaryVertex()
static Measurement1D computeDist3d(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError)
Measurement1D dist3d() const
Measurement1D dist2d() const
TemplatedSecondaryVertex(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError=false)
static Measurement1D computeDist2d(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError)
~TemplatedSecondaryVertex()
static Measurement1D computeDist1d(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError)
Measurement1D dist1d() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system