1 #ifndef CommonTools_PFCandProducer_PrimaryVertexAssignment_ 2 #define CommonTools_PFCandProducer_PrimaryVertexAssignment_ 28 minJetPt_(iConfig.getParameter<double>(
"minJetPt")),
34 useTiming_(iConfig.getParameter<bool>(
"useTiming")),
44 float trackTimeResolution,
51 float trackTimeResolution,
55 return chargedHadronVertex(vertices,trackRef,&(*trackRef),trackTime,trackTimeResolution,jets,builder);
83 time = (*trackTimeTag)[chcand.
track()];
double maxDtSigForPrimaryAssignment_
double maxDzForPrimaryAssignment_
double maxDzErrorForPrimaryAssignment_
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::pair< int, PrimaryVertexAssignment::Quality > chargedHadronVertex(const reco::VertexCollection &vertices, const reco::PFCandidate &pfcand, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) const
double maxDxySigForNotReconstructedPrimary_
~PrimaryVertexAssignment()
reco::TrackRef track() const
PrimaryVertexAssignment(const edm::ParameterSet &iConfig)
reco::TrackRef trackRef() const
double maxDistanceToJetAxis_
bool isTimeValid() const
do we have a valid time information
double maxDzSigForPrimaryAssignment_
double maxDzForJetAxisAssigment_
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
double maxDxyForJetAxisAssigment_
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
bool isNull() const
Checks for null.
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
double maxDxyForNotReconstructedPrimary_
Particle reconstructed by the particle flow algorithm.
reco::GsfTrackRef gsfTrackRef() const