9 const float drminpfcandsv,
const float jetR,
21 const float drminpfcandsv,
const float jetR,
const float puppiw,
25 n_pf_features.
puppiw = puppiw;
float puppiWeight() const
Set both weights at once (with option for only full PUPPI)
double ecalEnergy() const
return corrected Ecal energy
int pdgId() const final
PDG identifier.
float hcalFraction() const
Set the fraction of Hcal needed for HF and neutral hadrons and isolated charged hadrons.
Base class for all types of Jets.
Abs< T >::type abs(const T &t)
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.
double hcalEnergy() const
return corrected Hcal energy
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)