#include <TauNNId.h>
Public Member Functions | |
float | compute (const l1t::PFCandidate &iSeed, l1t::PFCandidateCollection &iParts) |
float | EvaluateNN () |
void | setNNVectorVar () |
TauNNId (const std::string &iInput, const tensorflow::Session *session, const std::string &iWeightFile, int iNParticles) | |
~TauNNId () | |
Private Attributes | |
unique_ptr< float[]> | fEta_ |
unique_ptr< float[]> | fId_ |
std::string | fInput_ |
int | fNParticles_ |
unique_ptr< float[]> | fPhi_ |
unique_ptr< float[]> | fPt_ |
std::vector< float > | NNvectorVar_ |
const tensorflow::Session * | session_ |
TauNNId::TauNNId | ( | const std::string & | iInput, |
const tensorflow::Session * | session, | ||
const std::string & | iWeightFile, | ||
int | iNParticles | ||
) |
Definition at line 8 of file TauNNId.cc.
References fEta_, fId_, fInput_, fNParticles_, personalPlayback::fp, fPhi_, fPt_, and NNvectorVar_.
float TauNNId::compute | ( | const l1t::PFCandidate & | iSeed, |
l1t::PFCandidateCollection & | iParts | ||
) |
Definition at line 53 of file TauNNId.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, reco::LeafCandidate::eta(), EvaluateNN(), fEta_, fId_, fNParticles_, fPhi_, fPt_, mps_fire::i, dqmiolumiharvest::j, n_particles_max, reco::LeafCandidate::phi(), setNNVectorVar(), and jetUpdater_cfi::sort.
float TauNNId::EvaluateNN | ( | ) |
Definition at line 42 of file TauNNId.cc.
References fInput_, dqmMemoryStats::float, mps_fire::i, input, createfilelist::int, NNvectorVar_, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, tensorflow::run(), and session_.
Referenced by compute().
void TauNNId::setNNVectorVar | ( | ) |
Definition at line 24 of file TauNNId.cc.
References l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, fEta_, fId_, fNParticles_, fPhi_, fPt_, testProducerWithPsetDescEmpty_cfi::i1, l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, NNvectorVar_, and l1t::PFCandidate::Photon.
Referenced by compute().
|
private |
Definition at line 26 of file TauNNId.h.
Referenced by compute(), setNNVectorVar(), and TauNNId().
|
private |
Definition at line 28 of file TauNNId.h.
Referenced by compute(), setNNVectorVar(), and TauNNId().
|
private |
Definition at line 23 of file TauNNId.h.
Referenced by EvaluateNN(), and TauNNId().
|
private |
Definition at line 24 of file TauNNId.h.
Referenced by compute(), setNNVectorVar(), and TauNNId().
|
private |
Definition at line 27 of file TauNNId.h.
Referenced by compute(), setNNVectorVar(), and TauNNId().
|
private |
Definition at line 25 of file TauNNId.h.
Referenced by compute(), setNNVectorVar(), and TauNNId().
|
private |
Definition at line 22 of file TauNNId.h.
Referenced by EvaluateNN(), setNNVectorVar(), and TauNNId().
|
private |
Definition at line 21 of file TauNNId.h.
Referenced by EvaluateNN().