#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 | 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_ |
Definition at line 18 of file PrimaryVertexAssignment.h.
Enumerator | |
---|---|
UsedInFit | |
PrimaryDz | |
PrimaryV0 | |
BTrack | |
Unused | |
OtherDz | |
NotReconstructedPrimary | |
Unassigned |
Definition at line 20 of file PrimaryVertexAssignment.h.
|
inline |
Definition at line 22 of file PrimaryVertexAssignment.h.
|
inline |
Definition at line 38 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), fwrapper::jets, HiIsolationCommonParameters_cff::track, and electrons_cff::vertices.
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 11 of file PrimaryVertexAssignment.cc.
References funct::abs(), edm::View< T >::at(), edm::View< T >::begin(), BTrack, TransientTrackBuilder::build(), reco::deltaR(), boostedElectronIsolation_cff::deltaR, SoftLeptonByDistance_cfi::distance, dt, reco::TrackBase::dxy(), reco::TrackBase::dxyError(), PVValHelper::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), MillePedeFileConverter_cfg::e, edm::View< T >::end(), edm::isNotFinite(), electrons_cff::jetIdx, IPTools::jetTrackDistance(), SiStripPI::max, maxDistanceToJetAxis_, maxDtSigForPrimaryAssignment_, maxDxyForJetAxisAssigment_, maxDxyForNotReconstructedPrimary_, maxDxySigForNotReconstructedPrimary_, maxDzErrorForPrimaryAssignment_, maxDzForJetAxisAssigment_, maxDzForPrimaryAssignment_, maxDzSigForPrimaryAssignment_, maxJetDeltaR_, minJetPt_, NotReconstructedPrimary, or, OtherDz, preferHighRanked_, PrimaryDz, mathSSE::sqrt(), Unassigned, UsedInFit, useTiming_, badGlobalMuonTaggersAOD_cff::vtx, and w.
Referenced by chargedHadronVertex(), PrimaryVertexSorter< ParticlesCollection >::runAlgo(), and ~PrimaryVertexAssignment().
|
inline |
Definition at line 48 of file PrimaryVertexAssignment.h.
References chargedHadronVertex().
|
inline |
Definition at line 58 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNull(), reco::PFCandidate::isTimeValid(), fwrapper::jets, ntuplemaker::time, reco::PFCandidate::time(), reco::PFCandidate::timeError(), muonGEMDigis_cfi::timeResolution, reco::PFCandidate::trackRef(), Unassigned, and useTiming_.
|
inline |
Definition at line 75 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), edm::Ref< C, T, F >::isNull(), fwrapper::jets, ntuplemaker::time, muonGEMDigis_cfi::timeResolution, reco::RecoChargedRefCandidate::track(), Unassigned, and useTiming_.
|
private |
Definition at line 99 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 96 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 101 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 103 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 102 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 95 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 100 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 94 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 93 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 97 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 98 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 105 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 104 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().