#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 | maxDxyForJetAxisAssigment_ |
double | maxDxyForNotReconstructedPrimary_ |
double | maxDxySigForNotReconstructedPrimary_ |
double | maxDzErrorForPrimaryAssignment_ |
double | maxDzForJetAxisAssigment_ |
double | maxDzForPrimaryAssignment_ |
double | maxDzSigForPrimaryAssignment_ |
double | maxJetDeltaR_ |
double | minJetPt_ |
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 35 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), fwrapper::jets, HiIsolationCommonParameters_cff::track, and ecalDrivenElectronSeedsParameters_cff::vertices.
std::pair< int, PrimaryVertexAssignment::Quality > PrimaryVertexAssignment::chargedHadronVertex | ( | const reco::VertexCollection & | vertices, |
const reco::TrackRef & | trackRef, | ||
const reco::Track * | track, | ||
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(), deltaR(), reco::deltaR(), SoftLeptonByDistance_cfi::distance, reco::TrackBase::dxy(), reco::TrackBase::dxyError(), allConversions_cfi::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), edm::View< T >::end(), diffTreeTool::index, IPTools::jetTrackDistance(), maxDistanceToJetAxis_, maxDxyForJetAxisAssigment_, maxDxyForNotReconstructedPrimary_, maxDxySigForNotReconstructedPrimary_, maxDzErrorForPrimaryAssignment_, maxDzForJetAxisAssigment_, maxDzForPrimaryAssignment_, maxJetDeltaR_, minJetPt_, NotReconstructedPrimary, OtherDz, PrimaryDz, mathSSE::sqrt(), Unassigned, UsedInFit, badGlobalMuonTaggersAOD_cff::vtx, and w.
Referenced by chargedHadronVertex(), PrimaryVertexSorter< ParticlesCollection >::produce(), and ~PrimaryVertexAssignment().
|
inline |
Definition at line 43 of file PrimaryVertexAssignment.h.
References chargedHadronVertex().
|
inline |
Definition at line 51 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNull(), fwrapper::jets, reco::PFCandidate::trackRef(), and Unassigned.
|
inline |
Definition at line 64 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), edm::Ref< C, T, F >::isNull(), fwrapper::jets, reco::RecoChargedRefCandidate::track(), and Unassigned.
|
private |
Definition at line 80 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 82 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 84 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 83 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 77 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 81 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 76 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 75 of file PrimaryVertexAssignment.h.
|
private |
Definition at line 78 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 79 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().