std::pair< bool, Measurement1D > IPTools::absoluteImpactParameter | ( | const TrajectoryStateOnSurface & | tsos, |
const reco::Vertex & | vertex, | ||
VertexDistance & | distanceComputer | ||
) |
Impact parameter without direction (internally used)
Definition at line 26 of file IPTools.cc.
References TrajectoryStateOnSurface::cartesianError(), RecoVertex::convertError(), RecoVertex::convertPos(), VertexDistance::distance(), reco::Vertex::error(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), CartesianTrajectoryError::position(), and reco::Vertex::position().
Referenced by absoluteImpactParameter3D(), absoluteTransverseImpactParameter(), signedImpactParameter3D(), and signedTransverseImpactParameter().
std::pair< bool, Measurement1D > IPTools::absoluteImpactParameter3D | ( | const reco::TransientTrack & | transientTrack, |
const reco::Vertex & | vertex | ||
) |
Returns the unsigned transverse impact parameter The track is extrapolated to the closest point to the primary vertex in transverse plane then the impact parameter and its error are computed
Definition at line 37 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), and reco::Vertex::position().
Referenced by TracksClusteringFromDisplacedSeed::clusters(), PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), PF_PU_AssoMapAlgos::CreateTrackToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), PF_PU_AssoMapAlgos::CreateVertexToTrackMap(), PF_PU_AssoMapAlgos::FindClosest3D(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), TracksClusteringFromDisplacedSeed::nearTracks(), Onia2MuMuPAT::produce(), pat::PATElectronProducer::produce(), and TrackVertexArbitration< VTX >::trackVertexArbitrator().
std::pair< bool, Measurement1D > IPTools::absoluteTransverseImpactParameter | ( | const reco::TransientTrack & | transientTrack, |
const reco::Vertex & | vertex | ||
) |
Returns the unsigned 3D impact parameter The track is extrapolated to the closest point to the primary vertex in 3d space then the impact parameter and its error are computed
Definition at line 43 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), and reco::Vertex::position().
TrajectoryStateOnSurface IPTools::closestApproachToJet | ( | const TrajectoryStateOnSurface & | state, |
const reco::Vertex & | vertex, | ||
const GlobalVector & | aJetDirection, | ||
const MagneticField * | field | ||
) |
Definition at line 177 of file IPTools.cc.
References dir, AnalyticalTrajectoryExtrapolatorToLine::extrapolate(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), CandidateBoostedDoubleSecondaryVertexComputer::discriminator(), SignedImpactParameter3D::distanceWithJetAxis(), linearizedSignedImpactParameter3D(), IPProducer< Container, Base, Helper >::produce(), and signedDecayLength3D().
pair< double, Measurement1D > IPTools::jetTrackDistance | ( | const reco::TransientTrack & | track, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
Definition at line 200 of file IPTools.cc.
References Line::distance(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), class-composition::H, reco::TransientTrack::impactPointState(), TrajectoryStateOnSurface::isValid(), mag(), P, Line::position(), class-composition::Q, csvLumiCalc::unit, puppiForMET_cff::weight, reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by PrimaryVertexAssignment::chargedHadronVertex(), CandidateBoostedDoubleSecondaryVertexComputer::discriminator(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), PixelJetPuId::produce(), and IPProducer< Container, Base, Helper >::produce().
GlobalVector IPTools::linearImpactParameter | ( | const TrajectoryStateOnSurface & | state, |
const GlobalPoint & | point | ||
) |
Compute the impact parameter of a track, linearized from the given state, with respect to a given point
Definition at line 191 of file IPTools.cc.
References dir, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), point, tmp, and csvLumiCalc::unit.
Referenced by linearizedSignedImpactParameter3D().
pair< bool, Measurement1D > IPTools::linearizedSignedImpactParameter3D | ( | const TrajectoryStateOnSurface & | state, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
Definition at line 133 of file IPTools.cc.
References funct::abs(), TrajectoryStateOnSurface::cartesianError(), reco::Vertex::covariance(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), linearImpactParameter(), CartesianTrajectoryError::matrix(), mathSSE::sqrt(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by linearizedSignedImpactParameter3D().
|
inline |
Definition at line 73 of file IPTools.h.
References closestApproachToJet(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), and linearizedSignedImpactParameter3D().
pair< bool, Measurement1D > IPTools::signedDecayLength3D | ( | const TrajectoryStateOnSurface & | state, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
chech it!!!!!!!!!!!!!!!!!!!!!!!
chech it!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 94 of file IPTools.cc.
References TrajectoryStateOnSurface::cartesianError(), reco::Vertex::covariance(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), j, findQualityFiles::jj, CartesianTrajectoryError::matrix(), mathSSE::sqrt(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by QualityCutsAnalyzer::LoopOverJetTracksAssociation(), and signedDecayLength3D().
|
inline |
Definition at line 84 of file IPTools.h.
References closestApproachToJet(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), and signedDecayLength3D().
pair< bool, Measurement1D > IPTools::signedImpactParameter3D | ( | const reco::TransientTrack & | track, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
Returns life time signed 3D impact parameter The track is extrapolated to the closest point to the primary vertex in 3d space then the impact parameter and its error are computed
Definition at line 71 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), reco::Vertex::position(), parseEventContent::prod, mps_fire::result, jetcorrextractor::sign(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by TrackAnalyzer::analyze(), pat::PATMuonProducer::embedHighLevel(), pat::PATElectronProducer::embedHighLevel(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), PFTauTransverseImpactParameters::produce(), IPProducer< Container, Base, Helper >::produce(), and SoftLepton::tag().
pair< bool, Measurement1D > IPTools::signedTransverseImpactParameter | ( | const reco::TransientTrack & | track, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
Returns life time signed transverse impact parameter The track is extrapolated to the closest point to the primary vertex in transverse plane then the impact parameter and its error are computed
Definition at line 50 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), reco::Vertex::position(), parseEventContent::prod, mps_fire::result, jetcorrextractor::sign(), reco::Vertex::x(), and reco::Vertex::y().
Referenced by TrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), CaloRecoTauAlgorithm::buildCaloTau(), PFRecoTauAlgorithm::buildPFTau(), HPSPFRecoTauAlgorithm::buildPFTau(), PFRecoTauDiscriminationByFlight::discriminate(), pat::PATMuonProducer::embedHighLevel(), pat::PATElectronProducer::embedHighLevel(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), PFConversionProducer::produce(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), PFTrackProducer::produce(), PFTauTransverseImpactParameters::produce(), IPProducer< Container, Base, Helper >::produce(), ConvBremPFTrackFinder::runConvBremFinder(), and SoftLepton::tag().
|
inline |
Definition at line 56 of file IPTools.h.
References TransverseImpactPointExtrapolator::extrapolate().