Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &description) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
std::pair< std::vector< L1SCJetEmu::Particle >, std::unordered_map< const l1t::PFCandidate *, edm::Ptr< l1t::PFCandidate > > > | convertEDMToHW (std::vector< edm::Ptr< l1t::PFCandidate >> &edmParticles) const |
std::vector< l1t::PFJet > | convertHWToEDM (std::vector< L1SCJetEmu::Jet > hwJets, std::unordered_map< const l1t::PFCandidate *, edm::Ptr< l1t::PFCandidate >> constituentMap) const |
l1t::PFJet | makeJet_SW (const std::vector< edm::Ptr< l1t::PFCandidate >> &parts) const |
std::vector< l1t::PFJet > | processEvent_HW (std::vector< edm::Ptr< l1t::PFCandidate >> &parts) const |
std::vector< l1t::PFJet > | processEvent_SW (std::vector< edm::Ptr< l1t::PFCandidate >> &parts) const |
void | produce (edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override |
Private Attributes | |
const float | coneSize |
///////////////// /// More... | |
l1tpf::corrector | corrector |
const bool | debug |
const bool | doCorrections |
L1SCJetEmu | emulator |
const bool | HW |
edm::EDGetTokenT< std::vector< l1t::PFCandidate > > | l1PFToken |
const unsigned | nJets |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 23 of file L1SeedConePFJetProducer.cc.
|
explicit |
Definition at line 57 of file L1SeedConePFJetProducer.cc.
References looper::cfg, pfClustersFromHGC3DClusters_cfi::corrector, corrector, debug, doCorrections, HW, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 99 of file L1SeedConePFJetProducer.cc.
|
private |
Definition at line 177 of file L1SeedConePFJetProducer.cc.
References reco::LeafCandidate::get(), l1ct::PuppiObj::initFromBits(), and l1ct::PuppiObjEmu::srcCand.
Referenced by processEvent_HW().
|
private |
Definition at line 190 of file L1SeedConePFJetProducer.cc.
References l1t::PFJet::addConstituent(), l1tpf::corrector::correctedPt(), corrector, l1t::PFJet::CT, doCorrections, l1gt::Scales::floatEta(), l1gt::Scales::floatPhi(), l1gt::Scales::floatPt(), l1t::PFJet::GT, l1t::gtJet, metsig::jet, and l1t::PFJet::setEncodedJet().
Referenced by processEvent_HW().
|
static |
Definition at line 219 of file L1SeedConePFJetProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 101 of file L1SeedConePFJetProducer.cc.
References a, b, l1tpf::corrector::correctedPt(), corrector, reco::deltaPhi(), doCorrections, PVValHelper::eta, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, metsig::jet, phi, DiDispStaMuonMonitor_cfi::pt, fileCollector::seed, and HcalDetIdTransform::transform().
Referenced by processEvent_SW().
|
private |
Definition at line 167 of file L1SeedConePFJetProducer.cc.
References convertEDMToHW(), convertHWToEDM(), L1SCJetEmu::emulateEvent(), emulator, PDWG_EXODelayedJetMET_cff::jets, ecalTrigSettings_cff::particles, and edmIntegrityCheck::work.
Referenced by produce().
|
private |
Definition at line 139 of file L1SeedConePFJetProducer.cc.
References coneSize, mps_fire::i, dqmiolumiharvest::j, PDWG_EXODelayedJetMET_cff::jets, makeJet_SW(), nJets, fileCollector::seed, and edmIntegrityCheck::work.
Referenced by produce().
|
overrideprivatevirtual |
///////////////// /// MANDATORY METHODS ///
Implements edm::global::EDProducerBase.
Definition at line 72 of file L1SeedConePFJetProducer.cc.
References HW, mps_fire::i, iEvent, dqmiolumiharvest::j, PDWG_EXODelayedJetMET_cff::jets, l1PFToken, eostools::move(), ecalTrigSettings_cff::particles, processEvent_HW(), processEvent_SW(), and jetUpdater_cfi::sort.
|
private |
///////////////// ///
Definition at line 35 of file L1SeedConePFJetProducer.cc.
Referenced by processEvent_SW().
|
private |
Definition at line 42 of file L1SeedConePFJetProducer.cc.
Referenced by convertHWToEDM(), L1SeedConePFJetProducer(), and makeJet_SW().
|
private |
Definition at line 38 of file L1SeedConePFJetProducer.cc.
Referenced by L1SeedConePFJetProducer(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 39 of file L1SeedConePFJetProducer.cc.
Referenced by convertHWToEDM(), L1SeedConePFJetProducer(), and makeJet_SW().
|
private |
Definition at line 40 of file L1SeedConePFJetProducer.cc.
Referenced by processEvent_HW().
|
private |
Definition at line 37 of file L1SeedConePFJetProducer.cc.
Referenced by L1SeedConePFJetProducer(), and produce().
|
private |
Definition at line 41 of file L1SeedConePFJetProducer.cc.
Referenced by produce().
|
private |
Definition at line 36 of file L1SeedConePFJetProducer.cc.
Referenced by processEvent_SW().