CMS 3D CMS Logo

List of all members | Static Public Member Functions
btagbtvdeep::JetConverter Class Reference

#include <JetConverter.h>

Static Public Member Functions

static void jetToFeatures (const reco::Jet &jet, JetFeatures &jet_features)
 

Detailed Description

Definition at line 10 of file JetConverter.h.

Member Function Documentation

static void btagbtvdeep::JetConverter::jetToFeatures ( const reco::Jet jet,
JetFeatures jet_features 
)
inlinestatic

Definition at line 13 of file JetConverter.h.

References btagbtvdeep::JetFeatures::energy, reco::LeafCandidate::energy(), btagbtvdeep::JetFeatures::eta, reco::LeafCandidate::eta(), btagbtvdeep::JetFeatures::mass, reco::LeafCandidate::mass(), btagbtvdeep::JetFeatures::phi, reco::LeafCandidate::phi(), btagbtvdeep::JetFeatures::pt, and reco::LeafCandidate::pt().

Referenced by DeepDoubleXTagInfoProducer::produce(), and DeepFlavourTagInfoProducer::produce().

14  {
15  jet_features.pt = jet.pt(); // uncorrected
16  jet_features.eta = jet.eta();
17  jet_features.phi = jet.phi();
18  jet_features.mass = jet.mass();
19  jet_features.energy = jet.energy();
20  }
double eta() const final
momentum pseudorapidity
double pt() const final
transverse momentum
double energy() const final
energy
double phi() const final
momentum azimuthal angle
double mass() const final
mass