Public Member Functions | |
L1NNTauProducer (const edm::ParameterSet &, const TauNNTFCache *) | |
~L1NNTauProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< TauNNTFCache > > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const TauNNTFCache *) |
static std::unique_ptr < TauNNTFCache > | initializeGlobalCache (const edm::ParameterSet &) |
Private Member Functions | |
void | addTau (const l1t::PFCandidate &iCand, const l1t::PFCandidateCollection &iParts, std::unique_ptr< PFTauCollection > &outputTaus) |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
Private Attributes | |
double | fConeSize_ |
edm::EDGetTokenT< vector < l1t::PFCandidate > > | fL1PFToken_ |
int | fMaxTaus_ |
int | fNParticles_ |
double | fSeedPt_ |
std::unique_ptr< TauNNId > | fTauNNId_ |
double | fTauSize_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< TauNNTFCache > > | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 17 of file L1NNTauProducer.cc.
|
explicit |
Definition at line 43 of file L1NNTauProducer.cc.
References utilities::cache(), fNParticles_, fTauNNId_, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 159 of file L1NNTauProducer.cc.
|
private |
Definition at line 118 of file L1NNTauProducer.cc.
References l1t::PFCandidate::ChargedHadron, reco::deltaR2(), l1t::PFCandidate::Electron, fConeSize_, fSeedPt_, fTauNNId_, fTauSize_, mps_fire::i, dqmiolumiharvest::j, mkfit::NN, l1t::PFCandidate::Photon, and reco::LeafCandidate::pt().
Referenced by produce().
|
static |
Definition at line 147 of file L1NNTauProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
|
static |
Definition at line 55 of file L1NNTauProducer.cc.
References utilities::cache(), personalPlayback::fp, edm::ParameterSet::getParameter(), TauNNTFCache::graphDef, tensorflow::loadGraphDef(), tensorflow::setLogging(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
Definition at line 68 of file L1NNTauProducer.cc.
References funct::abs(), addTau(), l1t::PFCandidate::ChargedHadron, reco::deltaR2(), l1t::PFCandidate::Electron, fConeSize_, fL1PFToken_, fMaxTaus_, edm::Event::getByToken(), mps_fire::i, dqmiolumiharvest::j, eostools::move(), reco::LeafCandidate::pt(), edm::Event::put(), and track_trigger_eta_max.
|
private |
Definition at line 34 of file L1NNTauProducer.cc.
|
private |
Definition at line 38 of file L1NNTauProducer.cc.
Referenced by produce().
|
private |
Definition at line 36 of file L1NNTauProducer.cc.
Referenced by produce().
|
private |
Definition at line 37 of file L1NNTauProducer.cc.
Referenced by L1NNTauProducer().
|
private |
Definition at line 33 of file L1NNTauProducer.cc.
Referenced by addTau().
|
private |
Definition at line 27 of file L1NNTauProducer.cc.
Referenced by addTau(), and L1NNTauProducer().
|
private |
Definition at line 35 of file L1NNTauProducer.cc.
Referenced by addTau().