Private Member Functions | |
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 |
Static Private Member Functions | |
static std::pair< std::vector< L1SCJetEmu::Particle >, std::unordered_map< const l1t::PFCandidate *, edm::Ptr< l1t::PFCandidate > > > | convertEDMToHW (std::vector< edm::Ptr< l1t::PFCandidate >> &edmParticles) |
static std::vector< l1t::PFJet > | convertHWToEDM (std::vector< L1SCJetEmu::Jet > hwJets, std::unordered_map< const l1t::PFCandidate *, edm::Ptr< l1t::PFCandidate >> constituentMap) |
Private Attributes | |
float | coneSize |
///////////////// /// More... | |
bool | debug |
L1SCJetEmu | emulator |
bool | HW |
edm::EDGetTokenT< std::vector< l1t::PFCandidate > > | l1PFToken |
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 |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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 20 of file L1SeedConePFJetProducer.cc.
|
explicit |
Definition at line 52 of file L1SeedConePFJetProducer.cc.
|
override |
Definition at line 89 of file L1SeedConePFJetProducer.cc.
|
staticprivate |
Definition at line 163 of file L1SeedConePFJetProducer.cc.
References reco::LeafCandidate::get(), l1ct::PuppiObj::initFromBits(), and l1ct::PuppiObjEmu::srcCand.
Referenced by processEvent_HW().
|
staticprivate |
Definition at line 176 of file L1SeedConePFJetProducer.cc.
References l1t::gtJet, and metsig::jet.
Referenced by processEvent_HW().
|
private |
Definition at line 91 of file L1SeedConePFJetProducer.cc.
References a, b, reco::deltaPhi(), PVValHelper::eta, metsig::jet, phi, DiDispStaMuonMonitor_cfi::pt, fileCollector::seed, and HcalDetIdTransform::transform().
Referenced by processEvent_SW().
|
private |
Definition at line 153 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 125 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 62 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 31 of file L1SeedConePFJetProducer.cc.
Referenced by processEvent_SW().
|
private |
Definition at line 34 of file L1SeedConePFJetProducer.cc.
Referenced by runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 35 of file L1SeedConePFJetProducer.cc.
Referenced by processEvent_HW().
|
private |
Definition at line 33 of file L1SeedConePFJetProducer.cc.
Referenced by produce().
|
private |
Definition at line 36 of file L1SeedConePFJetProducer.cc.
Referenced by produce().
|
private |
Definition at line 32 of file L1SeedConePFJetProducer.cc.
Referenced by processEvent_SW().