1 #ifndef RecoBTag_FeatureTools_LostTracksConverter_h 2 #define RecoBTag_FeatureTools_LostTracksConverter_h 14 template <
typename Cand
idateType>
18 const bool& isWeightedJet,
19 const float& drminpfcandsv,
23 const bool flip =
false,
24 const float& distminpfcandsv = 0) {
49 lt_features.
pt = c_pf->pt();
50 lt_features.
eta = c_pf->eta();
51 lt_features.
phi = c_pf->phi();
52 lt_features.
e = c_pf->energy();
57 const TrackInfoBuilder& track_info,
58 const bool isWeightedJet,
59 const float drminpfcandsv,
62 LostTracksFeatures& lt_features,
63 const bool flip =
false,
64 const float distminpfcandsv = 0);
68 const TrackInfoBuilder& track_info,
69 const bool isWeightedJet,
70 const float drminpfcandsv,
73 const int pv_ass_quality,
75 LostTracksFeatures& lt_features,
76 const bool flip =
false,
77 const float distminpfcandsv = 0);
81 #endif //RecoBTag_FeatureTools_LostTracksConverter_h
float btagPf_trackSip2dVal
const float getTrackJetDistVal() const
const float getTrackSip3dVal() const
float btagPf_trackSip2dSig
Base class for all types of Jets.
const float getTrackDeltaR() const
const float getTrackPParRatio() const
void packedCandidateToFeatures(const pat::PackedCandidate *c_pf, const pat::Jet &jet, const TrackInfoBuilder &track_info, const bool isWeightedJet, const float drminpfcandsv, const float jetR, const float puppiw, ChargedCandidateFeatures &c_pf_features, const bool flip=false, const float distminpfcandsv=0)
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 getTrackSip2dVal() const
float btagPf_trackSip3dSig
const float getTrackPtRel() const
const float getTrackSip3dSig() const
float btagPf_trackPParRatio
void commonCandidateToFeatures(const CandidateType *c_pf, const reco::Jet &jet, const TrackInfoBuilder &track_info, const bool &isWeightedJet, const float &drminpfcandsv, const float &jetR, const float &puppiw, ChargedCandidateFeatures &c_pf_features, const bool flip=false, const float &distminpfcandsv=0)
Analysis-level calorimeter jet class.
const float getTrackSip2dSig() const
Particle reconstructed by the particle flow algorithm.
const float getTrackPPar() const
float btagPf_trackSip3dVal
void recoCandidateToFeatures(const reco::PFCandidate *c_pf, const reco::Jet &jet, const TrackInfoBuilder &track_info, const bool isWeightedJet, 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, const float distminpfcandsv=0)
float btagPf_trackJetDistVal
const float getTrackEtaRel() const