1 #ifndef CommonTools_PFCandProducer_PrimaryVertexAssignment_ 2 #define CommonTools_PFCandProducer_PrimaryVertexAssignment_ 38 minJetPt_(iConfig.getParameter<double>(
"minJetPt")),
60 float trackTimeResolution,
69 float trackTimeResolution,
77 float trackTimeResolution,
92 if (
pfcand.gsfTrackRef().isNull()) {
93 if (
pfcand.trackRef().isNull())
111 if (!
pfcand.hasTrackDetails())
117 ?
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