std::pair< bool, Measurement1D > IPTools::absoluteImpactParameter | ( | const TrajectoryStateOnSurface & | tsos, |
const reco::Vertex & | vertex, | ||
VertexDistance & | distanceComputer | ||
) |
Impact parameter without direction (internally used)
Definition at line 23 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 38 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), and reco::Vertex::position().
Referenced by PrimaryVertexValidation::analyze(), TracksClusteringFromDisplacedSeed::clusters(), PFCand_AssoMapAlgos::createMappings(), PF_PU_AssoMapAlgos::createMappings(), PF_PU_AssoMapAlgos::FindClosest3D(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), TracksClusteringFromDisplacedSeed::nearTracks(), Onia2MuMuPAT::produce(), pat::PATElectronProducer::produce(), btagbtvdeep::seedingTracksToFeatures(), 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 47 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), and reco::Vertex::position().
Referenced by btagbtvdeep::seedingTracksToFeatures().
TrajectoryStateOnSurface IPTools::closestApproachToJet | ( | const TrajectoryStateOnSurface & | state, |
const reco::Vertex & | vertex, | ||
const GlobalVector & | aJetDirection, | ||
const MagneticField * | field | ||
) |
Definition at line 182 of file IPTools.cc.
References DeadROC_duringRun::dir, AnalyticalTrajectoryExtrapolatorToLine::extrapolate(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by BDHadronTrackMonitoringAnalyzer::analyze(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), SignedImpactParameter3D::distanceWithJetAxis(), linearizedSignedImpactParameter3D(), BoostedDoubleSVProducer::produce(), IPProducer< Container, Base, Helper >::produce(), btagbtvdeep::seedingTracksToFeatures(), and signedDecayLength3D().
pair< double, Measurement1D > IPTools::jetTrackDistance | ( | const reco::TransientTrack & | track, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
Definition at line 206 of file IPTools.cc.
References Line::distance(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), data-class-funcs::H, reco::TransientTrack::impactPointState(), TrajectoryStateOnSurface::isValid(), mag(), Line::position(), unit(), cms::cuda::V, histoStyle::weight, reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by BDHadronTrackMonitoringAnalyzer::analyze(), btagbtvdeep::TrackInfoBuilder::buildTrackInfo(), PrimaryVertexAssignment::chargedHadronVertex(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), PixelJetPuId::produce(), BoostedDoubleSVProducer::produce(), IPProducer< Container, Base, Helper >::produce(), and btagbtvdeep::seedingTracksToFeatures().
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 198 of file IPTools.cc.
References DeadROC_duringRun::dir, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), point, createJobs::tmp, and unit().
Referenced by linearizedSignedImpactParameter3D().
pair< bool, Measurement1D > IPTools::linearizedSignedImpactParameter3D | ( | const TrajectoryStateOnSurface & | state, |
const GlobalVector & | direction, | ||
const reco::Vertex & | vertex | ||
) |
Definition at line 141 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 76 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 105 of file IPTools.cc.
References TrajectoryStateOnSurface::cartesianError(), reco::Vertex::covariance(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), dqmiolumiharvest::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 89 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 81 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), reco::Vertex::position(), mps_fire::result, jetcorrextractor::sign(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by tadqm::TrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), btagbtvdeep::SeedingTrackInfoBuilder::buildSeedingTrackInfo(), btagbtvdeep::TrackInfoBuilder::buildTrackInfo(), pat::PATMuonProducer::embedHighLevel(), pat::PATElectronProducer::embedHighLevel(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), PFTauTransverseImpactParameters::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::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 57 of file IPTools.cc.
References absoluteImpactParameter(), RecoVertex::convertPos(), reco::TransientTrack::field(), reco::TransientTrack::impactPointState(), reco::Vertex::position(), mps_fire::result, jetcorrextractor::sign(), reco::Vertex::x(), and reco::Vertex::y().
Referenced by tadqm::TrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), btagbtvdeep::SeedingTrackInfoBuilder::buildSeedingTrackInfo(), btagbtvdeep::TrackInfoBuilder::buildTrackInfo(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), PFConversionProducer::produce(), PFTrackProducer::produce(), PFTauTransverseImpactParameters::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), IPProducer< Container, Base, Helper >::produce(), ConvBremPFTrackFinder::runConvBremFinder(), and SoftLepton::tag().
|
inline |
Definition at line 58 of file IPTools.h.
References TransverseImpactPointExtrapolator::extrapolate().