Public Member Functions | |
L1NNTauProducer (const edm::ParameterSet &, const tensorflow::SessionCache *) | |
~L1NNTauProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< tensorflow::SessionCache > > | |
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 tensorflow::SessionCache *) |
static std::unique_ptr< tensorflow::SessionCache > | initializeGlobalCache (const edm::ParameterSet &) |
Private Member Functions | |
void | addTau (const l1t::PFCandidate &iCand, const l1t::PFCandidateCollection &iParts, std::unique_ptr< PFTauCollection > &outputTaus) |
void | makeTau_HW (const l1t::PFCandidate &seed, l1t::PFCandidateCollection &parts, std::unique_ptr< l1t::PFTauCollection > &iTaus) |
void | process_HW (const l1t::PFCandidateCollection &parts, std::unique_ptr< l1t::PFTauCollection > &iTaus) |
void | process_SW (const l1t::PFCandidateCollection &parts, std::unique_ptr< l1t::PFTauCollection > &iTaus) |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
Private Attributes | |
double | fConeSize_ |
const bool | fDebug |
const bool | fEMSeed |
const bool | fHW |
edm::EDGetTokenT< vector< l1t::PFCandidate > > | fL1PFToken_ |
int | fMaxTaus_ |
int | fNParticles_ |
double | fSeedPt_ |
std::unique_ptr< TauNNId > | fTauNNId_ |
std::unique_ptr< TauNNIdHW > | fTauNNIdHW_ |
double | fTauSize_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< tensorflow::SessionCache > > | |
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 22 of file L1NNTauProducer.cc.
|
explicit |
Definition at line 60 of file L1NNTauProducer.cc.
References utilities::cache(), looper::cfg, fHW, fNParticles_, fTauNNId_, fTauNNIdHW_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 335 of file L1NNTauProducer.cc.
|
private |
Definition at line 138 of file L1NNTauProducer.cc.
References l1t::PFCandidate::ChargedHadron, reco::deltaR2(), PVValHelper::dxy, l1t::PFCandidate::Electron, fConeSize_, fSeedPt_, fTauNNId_, fTauSize_, mps_fire::i, dqmiolumiharvest::j, mkfit::NN, l1t::PFCandidate::Photon, jetUpdater_cfi::sort, and ppsFastLocalSimulation_cfi::z0.
Referenced by process_SW().
|
static |
Definition at line 176 of file L1NNTauProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 29 of file L1NNTauProducer.cc.
|
static |
Definition at line 83 of file L1NNTauProducer.cc.
References looper::cfg, edm::FileInPath::fullPath(), HLT_2024v14_cff::graphPath, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 192 of file L1NNTauProducer.cc.
References l1t::PFCandidate::ChargedHadron, PVValHelper::dxy, l1t::PFCandidate::Electron, PVValHelper::eta, L1TauEmu::etaphi_base, l1gt::Scales::floatEta(), l1gt::Scales::floatPhi(), l1gt::Scales::floatPt(), fSeedPt_, fTauNNIdHW_, fTauSize_, l1ct::Tau::hwCharge, l1ct::Tau::hwEta, l1ct::Tau::hwPhi, l1ct::Tau::hwPt, l1ct::Tau::hwRawId, l1ct::Tau::hwSeedPt, l1ct::Tau::hwSeedZ0, l1ct::Tau::hwType, L1TauEmu::inCone(), l1ct::Scales::makeGlbEta(), l1ct::Scales::makeGlbPhi(), EgHLTOffHistBins_cfi::mass, Tau_NN_Result::nn_id, Tau_NN_Result::nn_pt_correction, l1gt::Tau::pack(), phi, l1t::PFCandidate::Photon, DiDispStaMuonMonitor_cfi::pt, fileCollector::seed, l1t::PFTau::set_encodedTau(), l1t::PFTau::setDxy(), l1t::PFTau::setZ0(), l1ct::Tau::toGT(), and ppsFastLocalSimulation_cfi::z0.
Referenced by process_HW().
|
private |
Definition at line 288 of file L1NNTauProducer.cc.
References funct::abs(), l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, l1HPSPFTauEmu::etaphi_base, fConeSize_, fEMSeed, fMaxTaus_, mps_fire::i, L1TauEmu::inCone(), dqmiolumiharvest::j, makeTau_HW(), l1t::PFCandidate::Photon, fileCollector::seed, HLT_2024v14_cff::seeds, jetUpdater_cfi::sort, track_trigger_eta_max, HcalDetIdTransform::transform(), parallelization::uint, and edmMakeDummyCfis::work.
Referenced by produce().
|
private |
Definition at line 102 of file L1NNTauProducer.cc.
References funct::abs(), addTau(), l1t::PFCandidate::ChargedHadron, reco::deltaR2(), l1t::PFCandidate::Electron, fConeSize_, fMaxTaus_, mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, dqmiolumiharvest::j, eostools::move(), boostedElectronIsolation_cff::pfChargedHadrons, jetUpdater_cfi::sort, and track_trigger_eta_max.
Referenced by produce().
|
overrideprivate |
Definition at line 88 of file L1NNTauProducer.cc.
References fHW, fL1PFToken_, mps_fire::i, iEvent, dqmiolumiharvest::j, eostools::move(), process_HW(), process_SW(), and jetUpdater_cfi::sort.
|
private |
Definition at line 48 of file L1NNTauProducer.cc.
Referenced by addTau(), process_HW(), and process_SW().
|
private |
Definition at line 54 of file L1NNTauProducer.cc.
|
private |
Definition at line 53 of file L1NNTauProducer.cc.
Referenced by process_HW().
|
private |
Definition at line 52 of file L1NNTauProducer.cc.
Referenced by L1NNTauProducer(), and produce().
|
private |
Definition at line 55 of file L1NNTauProducer.cc.
Referenced by produce().
|
private |
Definition at line 50 of file L1NNTauProducer.cc.
Referenced by process_HW(), and process_SW().
|
private |
Definition at line 51 of file L1NNTauProducer.cc.
Referenced by L1NNTauProducer().
|
private |
Definition at line 47 of file L1NNTauProducer.cc.
Referenced by addTau(), and makeTau_HW().
|
private |
Definition at line 33 of file L1NNTauProducer.cc.
Referenced by addTau(), and L1NNTauProducer().
|
private |
Definition at line 34 of file L1NNTauProducer.cc.
Referenced by L1NNTauProducer(), and makeTau_HW().
|
private |
Definition at line 49 of file L1NNTauProducer.cc.
Referenced by addTau(), and makeTau_HW().