#include <PrimaryVertexAssignment.h>
Public Types | |
enum | Quality { UsedInFit = 7, PrimaryDz = 6, PrimaryV0 = 5, BTrack = 4, Unused = 3, OtherDz = 2, NotReconstructedPrimary = 1, Unassigned = 0 } |
Private Attributes | |
double | fDzCutForChargedFromPUVtxs_ |
double | fEtaMinUseDz_ |
unsigned int | fNumOfPUVtxsForCharged_ |
bool | fOnlyUseFirstDz_ |
double | fPtMaxCharged_ |
double | maxDistanceToJetAxis_ |
double | maxDtSigForPrimaryAssignment_ |
double | maxDxyForJetAxisAssigment_ |
double | maxDxyForNotReconstructedPrimary_ |
double | maxDxySigForNotReconstructedPrimary_ |
double | maxDzErrorForPrimaryAssignment_ |
double | maxDzForJetAxisAssigment_ |
double | maxDzForPrimaryAssignment_ |
double | maxDzSigForPrimaryAssignment_ |
double | maxJetDeltaR_ |
double | minJetPt_ |
bool | preferHighRanked_ |
bool | useTiming_ |
bool | useVertexFit_ |
Definition at line 19 of file PrimaryVertexAssignment.h.
Enumerator | |
---|---|
UsedInFit | |
PrimaryDz | |
PrimaryV0 | |
BTrack | |
Unused | |
OtherDz | |
NotReconstructedPrimary | |
Unassigned |
Definition at line 21 of file PrimaryVertexAssignment.h.
|
inline |
Definition at line 32 of file PrimaryVertexAssignment.h.
|
inline |
Definition at line 53 of file PrimaryVertexAssignment.h.
std::pair< int, PrimaryVertexAssignment::Quality > PrimaryVertexAssignment::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 |
Definition at line 9 of file PrimaryVertexAssignment.cc.
References w().
Referenced by chargedHadronVertex(), and PrimaryVertexSorter< ParticlesCollection >::runAlgo().
std::pair< int, PrimaryVertexAssignment::Quality > PrimaryVertexAssignment::chargedHadronVertex | ( | const reco::VertexCollection & | vertices, |
int | iVertex, | ||
const reco::Track * | track, | ||
float | trackTime, | ||
float | trackTimeResolution, | ||
const edm::View< reco::Candidate > & | jets, | ||
const TransientTrackBuilder & | builder | ||
) | const |
Definition at line 34 of file PrimaryVertexAssignment.cc.
References funct::abs(), edm::View< T >::at(), edm::View< T >::begin(), BTrack, TransientTrackBuilder::build(), reco::deltaR2(), HLT_FULL_cff::distance, dt, reco::TrackBase::dxy(), reco::TrackBase::dxyError(), PVValHelper::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), alignCSCRings::e, edm::View< T >::end(), reco::TrackBase::eta(), fDzCutForChargedFromPUVtxs_, fEtaMinUseDz_, fNumOfPUVtxsForCharged_, fOnlyUseFirstDz_, fPtMaxCharged_, edm::isNotFinite(), gpuVertexFinder::iv, IPTools::jetTrackDistance(), SiStripPI::max, maxDistanceToJetAxis_, maxDtSigForPrimaryAssignment_, maxDxyForJetAxisAssigment_, maxDxyForNotReconstructedPrimary_, maxDxySigForNotReconstructedPrimary_, maxDzErrorForPrimaryAssignment_, maxDzForJetAxisAssigment_, maxDzForPrimaryAssignment_, maxDzSigForPrimaryAssignment_, maxJetDeltaR_, minJetPt_, NotReconstructedPrimary, or, OtherDz, preferHighRanked_, PrimaryDz, reco::TrackBase::pt(), mathSSE::sqrt(), submitPVValidationJobs::t, Unassigned, UsedInFit, useTiming_, and useVertexFit_.
|
inline |
Definition at line 73 of file PrimaryVertexAssignment.h.
References chargedHadronVertex().
|
inline |
Definition at line 83 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNull(), reco::PFCandidate::isTimeValid(), fwrapper::jets, reco::PFCandidate::time(), reco::PFCandidate::timeError(), HLT_FULL_cff::timeResolution, reco::PFCandidate::trackRef(), Unassigned, and useTiming_.
|
inline |
Definition at line 102 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), pat::PackedCandidate::hasTrackDetails(), fwrapper::jets, edm::Ref< C, T, F >::key(), pat::PackedCandidate::pseudoTrack(), pat::PackedCandidate::pvAssociationQuality(), pat::PackedCandidate::time(), pat::PackedCandidate::timeError(), HLT_FULL_cff::timeResolution, Unassigned, pat::PackedCandidate::UsedInFitLoose, useTiming_, useVertexFit_, and pat::PackedCandidate::vertexRef().
|
inline |
Definition at line 126 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), edm::Ref< C, T, F >::isNull(), fwrapper::jets, HLT_FULL_cff::timeResolution, reco::RecoChargedRefCandidate::track(), Unassigned, and useTiming_.
|
private |
Definition at line 158 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 160 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 157 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 161 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 159 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 149 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 146 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 151 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 153 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 152 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 145 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 150 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 144 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 143 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 147 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 148 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 156 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 154 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 155 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().