#include <PrimaryVertexAssignment.h>
Public Types | |
enum | Quality { UsedInFit =7, PrimaryDz =6, PrimaryV0 =5, BTrack =4, Unused =3, OtherDz =2, NotReconstructedPrimary =1, Unassigned =0 } |
Public Member Functions | |
std::pair< int, PrimaryVertexAssignment::Quality > | chargedHadronVertex (const reco::VertexCollection &vertices, const reco::TrackRef &trackRef, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const |
std::pair< int, PrimaryVertexAssignment::Quality > | chargedHadronVertex (const reco::VertexCollection &vertices, const reco::PFCandidate &pfcand, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const |
std::pair< int, PrimaryVertexAssignment::Quality > | chargedHadronVertex (const reco::VertexCollection &vertices, const reco::RecoChargedRefCandidate &chcand, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const |
PrimaryVertexAssignment (const edm::ParameterSet &iConfig) | |
~PrimaryVertexAssignment () | |
Private Attributes | |
double | maxDistanceToJetAxis_ |
double | maxDxyForJetAxisAssigment_ |
double | maxDxyForNotReconstructedPrimary_ |
double | maxDxySigForNotReconstructedPrimary_ |
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 34 of file PrimaryVertexAssignment.h.
std::pair< int, PrimaryVertexAssignment::Quality > PrimaryVertexAssignment::chargedHadronVertex | ( | const reco::VertexCollection & | vertices, |
const reco::TrackRef & | trackRef, | ||
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(), HLT_25ns14e33_v1_cff::distance, edm::View< T >::end(), cmsHarvester::index, IPTools::jetTrackDistance(), maxDistanceToJetAxis_, maxDxyForJetAxisAssigment_, maxDxyForNotReconstructedPrimary_, maxDxySigForNotReconstructedPrimary_, maxDzForJetAxisAssigment_, maxDzSigForPrimaryAssignment_, maxJetDeltaR_, HLT_25ns14e33_v1_cff::minDeltaR, minJetPt_, NotReconstructedPrimary, OtherDz, PrimaryDz, Unassigned, UsedInFit, and w.
Referenced by chargedHadronVertex().
|
inline |
Definition at line 57 of file PrimaryVertexAssignment.h.
References chargedHadronVertex(), edm::Ref< C, T, F >::isNull(), fwrapper::jets, reco::PFCandidate::trackRef(), and Unassigned.
|
inline |
Definition at line 65 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 81 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 77 of file PrimaryVertexAssignment.h.
|
private |
Definition at line 76 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 78 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().
|
private |
Definition at line 79 of file PrimaryVertexAssignment.h.
Referenced by chargedHadronVertex().