#include <ConversionHitChecker.h>
Public Member Functions | |
ConversionHitChecker () | |
std::pair< uint8_t, Measurement1DFloat > | nHitsBeforeVtx (const Trajectory &traj, const reco::Vertex &vtx, double sigmaTolerance=3.0) const |
uint8_t | nSharedHits (const reco::Track &trk1, const reco::Track &trk2) const |
~ConversionHitChecker () | |
Definition at line 31 of file ConversionHitChecker.h.
|
inline |
Definition at line 35 of file ConversionHitChecker.h.
|
inline |
Definition at line 36 of file ConversionHitChecker.h.
std::pair< uint8_t, Measurement1DFloat > ConversionHitChecker::nHitsBeforeVtx | ( | const Trajectory & | traj, |
const reco::Vertex & | vtx, | ||
double | sigmaTolerance = 3.0 |
||
) | const |
Definition at line 12 of file ConversionHitChecker.cc.
References alongMomentum, reco::Vertex::covariance(), listHistos::decayLength, Trajectory::direction(), HLT_25ns14e33_v1_cff::distance, dot(), j, findQualityFiles::jj, mag(), Trajectory::measurements(), Measurement1DFloat::significance(), mathSSE::sqrt(), Vector3DBase< T, FrameTag >::unit(), 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().
Referenced by ConversionProducer::buildCollection().
uint8_t ConversionHitChecker::nSharedHits | ( | const reco::Track & | trk1, |
const reco::Track & | trk2 | ||
) | const |
Definition at line 107 of file ConversionHitChecker.cc.
References TrackingRecHit::isValid(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), TrackingRecHit::sharesInput(), and TrackingRecHit::some.
Referenced by ConversionProducer::buildCollection().