9 const float drminpfcandsv,
const float jetR,
25 c_pf_features.
quality = pseudo_track.qualityMask();
37 const float drminpfcandsv,
const float jetR,
const float puppiw,
38 const int pv_ass_quality,
46 c_pf_features.
puppiw = puppiw;
float puppiWeight() const
Set both weights at once (with option for only full PUPPI)
float quality_from_pfcand(const reco::PFCandidate &pfcand)
Base class for all types of Jets.
const float catch_infs_and_bound(const float in, const float replace_value, const float lowerbound, const float upperbound, const float offset=0., const bool use_offsets=true)
const PVAssociationQuality pvAssociationQuality() const
virtual const reco::Track & pseudoTrack() const
Return reference to a pseudo track made with candidate kinematics, parameterized error for eta...
float vtx_ass_from_pfcand(const reco::PFCandidate &pfcand, int pv_ass_quality, const reco::VertexRef &pv)
bool hasTrackDetails() const
Return true if a bestTrack can be extracted from this Candidate.
void packedCandidateToFeatures(const pat::PackedCandidate *c_pf, const pat::Jet &jet, const TrackInfoBuilder &track_info, const float drminpfcandsv, const float jetR, ChargedCandidateFeatures &c_pf_features, const bool flip=false)
void recoCandidateToFeatures(const reco::PFCandidate *c_pf, const reco::Jet &jet, const TrackInfoBuilder &track_info, const float drminpfcandsv, const float jetR, const float puppiw, const int pv_ass_quality, const reco::VertexRef &pv, ChargedCandidateFeatures &c_pf_features, const bool flip=false)
Analysis-level calorimeter jet class.
Particle reconstructed by the particle flow algorithm.
void commonCandidateToFeatures(const CandidateType *c_pf, const reco::Jet &jet, const TrackInfoBuilder &track_info, const float &drminpfcandsv, const float &jetR, ChargedCandidateFeatures &c_pf_features, const bool flip=false)
const reco::Track * bestTrack() const override