#include <BJetId.h>
Public Member Functions | |
BJetId (const std::string &iInput, const std::string &iOutput, const BJetTFCache *cache, int iNParticles) | |
float | compute (const l1t::PFJet &iJet, float vz, bool useRawPt) |
float | EvaluateNN () |
void | setNNVectorVar () |
~BJetId () | |
Private Attributes | |
unique_ptr< int[]> | fCharge_ |
unique_ptr< float[]> | fDX_ |
unique_ptr< float[]> | fDY_ |
unique_ptr< float[]> | fDZ_ |
unique_ptr< float[]> | fEta_ |
unique_ptr< float[]> | fId_ |
std::string | fInput_ |
int | fNParticles_ |
std::string | fOutput_ |
unique_ptr< float[]> | fPhi_ |
unique_ptr< float[]> | fPt_ |
std::vector< float > | NNvectorVar_ |
tensorflow::Session * | sessionRef_ |
BJetId::BJetId | ( | const std::string & | iInput, |
const std::string & | iOutput, | ||
const BJetTFCache * | cache, | ||
int | iNParticles | ||
) |
float BJetId::compute | ( | const l1t::PFJet & | iJet, |
float | vz, | ||
bool | useRawPt | ||
) |
Definition at line 56 of file BJetId.cc.
References l1t::PFJet::constituents(), SiPixelRawToDigiRegional_cfi::deltaPhi, reco::LeafCandidate::eta(), EvaluateNN(), fCharge_, fDX_, fDY_, fDZ_, fEta_, fId_, fNParticles_, fPhi_, fPt_, mps_fire::i, dqmiolumiharvest::j, pfTrack_cfi::pfTrack, phi, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), l1t::PFJet::rawPt(), setNNVectorVar(), jetUpdater_cfi::sort, and btvMC_cff::vz.
float BJetId::EvaluateNN | ( | ) |
Definition at line 46 of file BJetId.cc.
References fInput_, nano_mu_digi_cff::float, fOutput_, mps_fire::i, input, createfilelist::int, NNvectorVar_, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, tensorflow::run(), and sessionRef_.
Referenced by compute().
void BJetId::setNNVectorVar | ( | ) |
Definition at line 23 of file BJetId.cc.
References l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, fCharge_, fDX_, fDY_, fDZ_, fEta_, fId_, fNParticles_, fPhi_, fPt_, Matriplex::hypot(), testProducerWithPsetDescEmpty_cfi::i1, l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, NNvectorVar_, and l1t::PFCandidate::Photon.
Referenced by compute().
|
private |
Definition at line 36 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 38 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 39 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 37 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 33 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 35 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 29 of file BJetId.h.
Referenced by BJetId(), and EvaluateNN().
|
private |
Definition at line 31 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 30 of file BJetId.h.
Referenced by BJetId(), and EvaluateNN().
|
private |
Definition at line 34 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 32 of file BJetId.h.
Referenced by BJetId(), compute(), and setNNVectorVar().
|
private |
Definition at line 28 of file BJetId.h.
Referenced by BJetId(), EvaluateNN(), and setNNVectorVar().
|
private |
Definition at line 40 of file BJetId.h.
Referenced by EvaluateNN().