1 #ifndef CommonTools_PFCandProducer_PrimaryVertexAssignment_ 2 #define CommonTools_PFCandProducer_PrimaryVertexAssignment_ 35 minJetPt_(iConfig.getParameter<double>(
"minJetPt")),
57 float trackTimeResolution,
66 float trackTimeResolution,
74 float trackTimeResolution,
89 if (
pfcand.gsfTrackRef().isNull()) {
90 if (
pfcand.trackRef().isNull())
108 if (!
pfcand.hasTrackDetails())
114 ?
pfcand.vertexRef().key()
double maxDtSigForPrimaryAssignment_
std::pair< int, PrimaryVertexAssignment::Quality > chargedHadronVertex(const reco::VertexCollection &vertices, const reco::TrackRef &trackRef, float trackTime, float trackTimeResolution, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const
double maxDzForPrimaryAssignment_
unsigned int fNumOfPUVtxsForCharged_
double maxDzErrorForPrimaryAssignment_
std::vector< Vertex > VertexCollection
collection of Vertex objects
double maxDxySigForNotReconstructedPrimary_
~PrimaryVertexAssignment()
std::pair< int, PrimaryVertexAssignment::Quality > chargedHadronVertex(const reco::VertexCollection &vertices, const reco::PFCandidate &pfcand, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const
PrimaryVertexAssignment(const edm::ParameterSet &iConfig)
double maxDistanceToJetAxis_
double fDzCutForChargedFromPUVtxs_
reco::TrackRef track() const
double maxDzSigForPrimaryAssignment_
double maxDzForJetAxisAssigment_
double maxDxyForJetAxisAssigment_
bool isNull() const
Checks for null.
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
std::pair< int, PrimaryVertexAssignment::Quality > chargedHadronVertex(const reco::VertexCollection &vertices, const pat::PackedCandidate &pfcand, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const
double maxDxyForNotReconstructedPrimary_
Particle reconstructed by the particle flow algorithm.
std::pair< int, PrimaryVertexAssignment::Quality > chargedHadronVertex(const reco::VertexCollection &vertices, const reco::RecoChargedRefCandidate &chcand, const edm::ValueMap< float > *trackTimeTag, const edm::ValueMap< float > *trackTimeResoTag, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const