17 typedef reco::VertexCollection::const_iterator IV;
24 float w =
vtx.trackWeight(trackRef);
42 typedef reco::VertexCollection::const_iterator IV;
61 bool useTimeVtx = useTime &&
iv->tError() > 0.;
84 int vtxIdMinSignif = -1;
89 double dzsig =
dz /
track->dzError();
90 double dist = dzsig * dzsig;
92 bool useTimeVtx = useTime &&
iv->tError() > 0.;
93 if (useTime && !useTimeVtx) {
98 double dtsig =
dt / timeReso;
100 dist += dtsig * dtsig;
102 if (dist < distmin) {
115 const float add_cov = vtxIdMinSignif >= 0 ?
vertices[vtxIdMinSignif].covariance(2, 2) : 0.f;
116 const float dzE =
sqrt(
track->dzError() *
track->dzError() + add_cov);
118 if (vtxIdMinSignif >= 0 and
122 iVertex = vtxIdMinSignif;
164 if (distanceToJetAxis < minDistanceToJetAxis) {
165 minDistanceToJetAxis = distanceToJetAxis;
185 if (vtxIdMinSignif >= 0)
double maxDtSigForPrimaryAssignment_
double maxDzForPrimaryAssignment_
constexpr bool isNotFinite(T x)
unsigned int fNumOfPUVtxsForCharged_
double maxDzErrorForPrimaryAssignment_
std::vector< Vertex > VertexCollection
collection of Vertex objects
double maxDxySigForNotReconstructedPrimary_
reco::TransientTrack build(const reco::Track *p) const
double maxDistanceToJetAxis_
double fDzCutForChargedFromPUVtxs_
double maxDzSigForPrimaryAssignment_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
double maxDzForJetAxisAssigment_
Abs< T >::type abs(const T &t)
double maxDxyForJetAxisAssigment_
std::vector< LinkConnSpec >::const_iterator IT
std::pair< int, PrimaryVertexAssignment::Quality > chargedHadronVertex(const reco::VertexCollection &vertices, const reco::TrackRef &trackRef, const reco::Track *track, float trackTime, float trackTimeResolution, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
double maxDxyForNotReconstructedPrimary_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>