#include <SignedTransverseImpactParameter.h>
Public Member Functions | |
std::pair< bool, Measurement1D > | apply (const reco::TransientTrack &, const GlobalVector &, const reco::Vertex &) const |
SignedTransverseImpactParameter () | |
std::pair< bool, Measurement1D > | zImpactParameter (const reco::TransientTrack &, const GlobalVector &, const reco::Vertex &) const |
Transverse track impact parameter signed according to the jet direction
Definition at line 16 of file SignedTransverseImpactParameter.h.
|
inline |
Definition at line 22 of file SignedTransverseImpactParameter.h.
pair< bool, Measurement1D > SignedTransverseImpactParameter::apply | ( | const reco::TransientTrack & | track, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) | const |
Definition at line 20 of file SignedTransverseImpactParameter.cc.
References funct::A, funct::abs(), reco::Vertex::covariance(), reco::TransientTrack::field(), TrajectoryStateOnSurface::freeState(), reco::TransientTrack::impactPointState(), LogDebug, mathSSE::sqrt(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), reco::Vertex::x(), x(), PV3DBase< T, PVType, FrameType >::y(), reco::Vertex::y(), PV3DBase< T, PVType, FrameType >::z(), and reco::Vertex::z().
Referenced by editorTools.UserCodeTool::__call__(), metTools.AddMETCollection::__call__(), editorTools.ChangeSource::__call__(), and ImpactParameterAlgorithm::tag().
pair< bool, Measurement1D > SignedTransverseImpactParameter::zImpactParameter | ( | const reco::TransientTrack & | track, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) | const |
Definition at line 82 of file SignedTransverseImpactParameter.cc.
References reco::Vertex::covariance(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), LogDebug, jetcorrextractor::sign(), mathSSE::sqrt(), funct::true, PV3DBase< T, PVType, FrameType >::x(), reco::Vertex::x(), PV3DBase< T, PVType, FrameType >::y(), reco::Vertex::y(), PV3DBase< T, PVType, FrameType >::z(), and reco::Vertex::z().