Public Member Functions | |
L1GTProducer (const edm::ParameterSet &) | |
~L1GTProducer () override=default | |
Public Member Functions inherited from edm::global::EDProducer<> | |
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 |
EDProducer & | operator= (const EDProducer &)=delete |
bool | wantsGlobalLuminosityBlocks () const noexcept final |
bool | wantsGlobalRuns () const noexcept final |
bool | wantsInputProcessBlocks () const noexcept final |
bool | wantsProcessBlocks () const noexcept final |
bool | wantsStreamLuminosityBlocks () const noexcept final |
bool | wantsStreamRuns () const noexcept final |
Public Member Functions inherited from edm::global::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDProducerBase () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
std::vector< bool > const & | recordProvenanceList () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
~ProducerBase () noexcept(false) override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
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 | |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
void | produceCL2Electrons (edm::Event &event) const |
void | produceCL2EtSum (edm::Event &event) const |
void | produceCl2HtSum (edm::Event &event) const |
void | produceCL2Jets (edm::Event &event) const |
void | produceCL2Photons (edm::Event &event) const |
void | produceCL2Taus (edm::Event &event) const |
void | produceGMTSaDisplacedMuons (edm::Event &event) const |
void | produceGMTSaPromptMuons (edm::Event &event) const |
void | produceGMTTkMuons (edm::Event &event) const |
void | produceGTTDisplacedJets (edm::Event &event) const |
void | produceGTTPrimaryVert (edm::Event &event) const |
void | produceGTTPromptJets (edm::Event &event) const |
Private Attributes | |
const edm::EDGetTokenT< TkElectronCollection > | cl2ElectronToken_ |
const edm::EDGetTokenT< std::vector< l1t::EtSum > > | cl2EtSumToken_ |
const edm::EDGetTokenT< std::vector< l1t::EtSum > > | cl2HtSumToken_ |
const edm::EDGetTokenT< PFJetCollection > | cl2JetToken_ |
const edm::EDGetTokenT< TkEmCollection > | cl2PhotonToken_ |
const edm::EDGetTokenT< PFTauCollection > | cl2TauToken_ |
const edm::EDGetTokenT< SAMuonCollection > | gmtSaDisplacedMuonToken_ |
const edm::EDGetTokenT< SAMuonCollection > | gmtSaPromptMuonToken_ |
const edm::EDGetTokenT< TrackerMuonCollection > | gmtTkMuonToken_ |
const edm::EDGetTokenT< TkJetWordCollection > | gttDisplacedJetToken_ |
const edm::EDGetTokenT< VertexWordCollection > | gttPrimaryVertexToken_ |
const edm::EDGetTokenT< TkJetWordCollection > | gttPromptJetToken_ |
const L1GTScales | scales_ |
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 40 of file L1GTProducer.cc.
|
explicit |
Definition at line 83 of file L1GTProducer.cc.
|
overridedefault |
|
static |
Definition at line 113 of file L1GTProducer.cc.
References submitPVResolutionJobs::desc, makeListRunsInFiles::description, and l1t::L1GTScales::fillPSetDescription().
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 418 of file L1GTProducer.cc.
References produceCL2Electrons(), produceCL2EtSum(), produceCl2HtSum(), produceCL2Jets(), produceCL2Photons(), produceCL2Taus(), produceGMTSaDisplacedMuons(), produceGMTSaPromptMuons(), produceGMTTkMuons(), produceGTTDisplacedJets(), produceGTTPrimaryVert(), and produceGTTPromptJets().
|
private |
Definition at line 331 of file L1GTProducer.cc.
References l1gt::Electron::charge, l1t::P2GTCandidate::CL2Electrons, cl2ElectronToken_, universalConfigTemplate::collection, l1gt::ThreeVector::eta, l1t::P2GTCandidate::hwCharge_, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwIso_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwQual_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, l1gt::Electron::isolationPT, eostools::move(), l1t::P2GTCandidate::objectType_, l1gt::ThreeVector::phi, l1gt::ThreeVector::pt, l1gt::Electron::qualityFlags, scales_, l1t::L1GTScales::to_chg(), l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), l1t::L1GTScales::to_z0(), l1gt::Electron::v3, and l1gt::Electron::z0.
Referenced by produce().
|
private |
Definition at line 382 of file L1GTProducer.cc.
References l1t::P2GTCandidate::CL2EtSum, cl2EtSumToken_, universalConfigTemplate::collection, l1gt::Scales::ETAPHI_LSB, l1t::P2GTCandidate::hwPT_, BTaggingMonitor_cfi::met, eostools::move(), scales_, l1t::L1GTScales::to_phi(), and l1t::L1GTScales::to_pT().
Referenced by produce().
|
private |
Definition at line 401 of file L1GTProducer.cc.
References l1t::P2GTCandidate::CL2HtSum, cl2HtSumToken_, universalConfigTemplate::collection, l1t::P2GTCandidate::hwPT_, eostools::move(), scales_, l1t::L1GTScales::to_phi(), and l1t::L1GTScales::to_pT().
Referenced by produce().
|
private |
Definition at line 286 of file L1GTProducer.cc.
References l1t::P2GTCandidate::CL2Jets, cl2JetToken_, universalConfigTemplate::collection, l1t::gtJet, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), l1t::P2GTCandidate::objectType_, scales_, l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), l1t::L1GTScales::to_z0(), and l1gt::Jet::unpack().
Referenced by produce().
|
private |
Definition at line 309 of file L1GTProducer.cc.
References l1t::P2GTCandidate::CL2Photons, cl2PhotonToken_, universalConfigTemplate::collection, l1gt::ThreeVector::eta, l1t::P2GTCandidate::hwPT_, mps_fire::i, l1gt::Photon::isolationPT, eostools::move(), l1gt::ThreeVector::phi, l1gt::ThreeVector::pt, l1gt::Photon::qualityFlags, scales_, l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), and l1gt::Photon::v3.
Referenced by produce().
|
private |
Definition at line 357 of file L1GTProducer.cc.
References l1t::P2GTCandidate::CL2Taus, cl2TauToken_, universalConfigTemplate::collection, l1t::gtTau, l1t::P2GTCandidate::hwPT_, mps_fire::i, eostools::move(), scales_, l1t::L1GTScales::to_chg(), l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), and l1t::L1GTScales::to_pT().
Referenced by produce().
|
private |
Definition at line 232 of file L1GTProducer.cc.
References universalConfigTemplate::collection, l1t::P2GTCandidate::GMTSaDisplacedMuons, gmtSaDisplacedMuonToken_, l1t::P2GTCandidate::hwCharge_, l1t::P2GTCandidate::hwD0_, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwQual_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), getGTfromDQMFile::obj, l1t::P2GTCandidate::objectType_, scales_, l1t::L1GTScales::to_chg(), l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), and l1t::L1GTScales::to_z0().
Referenced by produce().
|
private |
Definition at line 206 of file L1GTProducer.cc.
References universalConfigTemplate::collection, l1t::P2GTCandidate::GMTSaPromptMuons, gmtSaPromptMuonToken_, l1t::P2GTCandidate::hwCharge_, l1t::P2GTCandidate::hwD0_, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwQual_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), getGTfromDQMFile::obj, l1t::P2GTCandidate::objectType_, scales_, l1t::L1GTScales::to_chg(), l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), and l1t::L1GTScales::to_z0().
Referenced by produce().
|
private |
Definition at line 258 of file L1GTProducer.cc.
References universalConfigTemplate::collection, l1t::P2GTCandidate::GMTTkMuons, gmtTkMuonToken_, l1t::P2GTCandidate::hwBeta_, l1t::P2GTCandidate::hwCharge_, l1t::P2GTCandidate::hwD0_, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwIso_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwQual_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), getGTfromDQMFile::obj, l1t::P2GTCandidate::objectType_, scales_, l1t::L1GTScales::to_chg(), l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), and l1t::L1GTScales::to_z0().
Referenced by produce().
|
private |
Definition at line 182 of file L1GTProducer.cc.
References universalConfigTemplate::collection, l1t::P2GTCandidate::GTTDisplacedJets, gttDisplacedJetToken_, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwNumber_of_tracks_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), getGTfromDQMFile::obj, l1t::P2GTCandidate::objectType_, scales_, l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), and l1t::L1GTScales::to_z0().
Referenced by produce().
|
private |
Definition at line 138 of file L1GTProducer.cc.
References universalConfigTemplate::collection, l1t::P2GTCandidate::GTTPrimaryVert, gttPrimaryVertexToken_, l1t::P2GTCandidate::hwNumber_of_tracks_in_pv_, l1t::P2GTCandidate::hwNumber_of_tracks_not_in_pv_, l1t::P2GTCandidate::hwQual_, l1t::P2GTCandidate::hwSum_pT_pv_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), getGTfromDQMFile::obj, l1t::P2GTCandidate::objectType_, scales_, and l1t::L1GTScales::to_z0().
Referenced by produce().
|
private |
Definition at line 158 of file L1GTProducer.cc.
References universalConfigTemplate::collection, l1t::P2GTCandidate::GTTPromptJets, gttPromptJetToken_, l1t::P2GTCandidate::hwEta_, l1t::P2GTCandidate::hwNumber_of_tracks_, l1t::P2GTCandidate::hwPhi_, l1t::P2GTCandidate::hwPT_, l1t::P2GTCandidate::hwZ0_, mps_fire::i, eostools::move(), getGTfromDQMFile::obj, l1t::P2GTCandidate::objectType_, scales_, l1t::L1GTScales::to_eta(), l1t::L1GTScales::to_phi(), l1t::L1GTScales::to_pT(), and l1t::L1GTScales::to_z0().
Referenced by produce().
|
private |
Definition at line 77 of file L1GTProducer.cc.
Referenced by produceCL2Electrons().
|
private |
Definition at line 79 of file L1GTProducer.cc.
Referenced by produceCL2EtSum().
|
private |
Definition at line 80 of file L1GTProducer.cc.
Referenced by produceCl2HtSum().
|
private |
Definition at line 75 of file L1GTProducer.cc.
Referenced by produceCL2Jets().
|
private |
Definition at line 76 of file L1GTProducer.cc.
Referenced by produceCL2Photons().
|
private |
Definition at line 78 of file L1GTProducer.cc.
Referenced by produceCL2Taus().
|
private |
Definition at line 72 of file L1GTProducer.cc.
Referenced by produceGMTSaDisplacedMuons().
|
private |
Definition at line 71 of file L1GTProducer.cc.
Referenced by produceGMTSaPromptMuons().
|
private |
Definition at line 73 of file L1GTProducer.cc.
Referenced by produceGMTTkMuons().
|
private |
Definition at line 68 of file L1GTProducer.cc.
Referenced by produceGTTDisplacedJets().
|
private |
Definition at line 69 of file L1GTProducer.cc.
Referenced by produceGTTPrimaryVert().
|
private |
Definition at line 67 of file L1GTProducer.cc.
Referenced by produceGTTPromptJets().
|
private |
Definition at line 65 of file L1GTProducer.cc.
Referenced by produceCL2Electrons(), produceCL2EtSum(), produceCl2HtSum(), produceCL2Jets(), produceCL2Photons(), produceCL2Taus(), produceGMTSaDisplacedMuons(), produceGMTSaPromptMuons(), produceGMTTkMuons(), produceGTTDisplacedJets(), produceGTTPrimaryVert(), and produceGTTPromptJets().