1 #ifndef RecoBTag_FeatureTools_ChargedCandidateConverter_h 2 #define RecoBTag_FeatureTools_ChargedCandidateConverter_h 14 template <
typename Cand
idateType>
18 const float & drminpfcandsv,
const float & jetR,
20 const bool flip =
false) {
56 const float drminpfcandsv,
const float jetR,
58 const bool flip =
false) ;
64 const float drminpfcandsv,
const float jetR,
const float puppiw,
65 const int pv_ass_quality,
68 const bool flip =
false) ;
73 #endif //RecoBTag_FeatureTools_ChargedCandidateConverter_h
float btagPf_trackJetDistVal
float btagPf_trackSip3dSig
float btagPf_trackPtRatio
Base class for all types of Jets.
double pt() const final
transverse momentum
const float getTrackEtaRel() const
const float getTrackDeltaR() const
const float getTrackPParRatio() const
const float getTrackSip2dSig() const
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 float getTrackPPar() const
const float getTrackPtRatio() const
const float getTrackSip3dVal() const
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)
const float getTrackJetDistVal() const
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.
float btagPf_trackSip2dVal
float btagPf_trackPParRatio
Particle reconstructed by the particle flow algorithm.
float btagPf_trackSip3dVal
const float getTrackPtRel() const
float btagPf_trackSip2dSig
const float getTrackSip2dVal() const
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 float getTrackSip3dSig() const