#include <L1Trigger/L1TGlobalMuon/plugins/L1TMicroGMTInputProducer.cc>
Public Member Functions | |
L1TMicroGMTInputProducer (const edm::ParameterSet &) | |
~L1TMicroGMTInputProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
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 | |
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::vector< ModuleDescription const * > &modules, 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 |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, edm::EventSetup const &) override |
virtual void | beginRun (const edm::Run &, edm::EventSetup const &) override |
int | convertToInt (std::string &bitstr) const |
virtual void | endJob () override |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, edm::EventSetup const &) override |
virtual void | endRun (const edm::Run &, edm::EventSetup const &) override |
void | openFile () |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
void | skipHeader () |
Static Private Member Functions | |
static bool | cmpProc (const RegionalMuonCand &, const RegionalMuonCand &) |
Private Attributes | |
int | m_currEvt |
int | m_currType |
bool | m_endOfBx |
std::ifstream | m_filestream |
std::string | m_fname |
bool | m_lastMuInBx |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Description: Takes txt-file input and produces barrel- / overlap- / forward TF muons
Implementation: [Notes on implementation]
Definition at line 47 of file L1TMicroGMTInputProducer.cc.
|
explicit |
Definition at line 90 of file L1TMicroGMTInputProducer.cc.
References edm::ParameterSet::getParameter(), m_fname, openFile(), skipHeader(), and AlCaHLTBitMon_QueryRunRegistry::string.
L1TMicroGMTInputProducer::~L1TMicroGMTInputProducer | ( | ) |
Definition at line 107 of file L1TMicroGMTInputProducer.cc.
References m_filestream.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 315 of file L1TMicroGMTInputProducer.cc.
|
overrideprivatevirtual |
Definition at line 338 of file L1TMicroGMTInputProducer.cc.
|
overrideprivatevirtual |
Definition at line 326 of file L1TMicroGMTInputProducer.cc.
|
staticprivate |
Definition at line 119 of file L1TMicroGMTInputProducer.cc.
References l1t::RegionalMuonCand::processor().
|
private |
Definition at line 145 of file L1TMicroGMTInputProducer.cc.
References EnergyCorrector::c, and pileupDistInMC::num.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 321 of file L1TMicroGMTInputProducer.cc.
|
overrideprivatevirtual |
Definition at line 344 of file L1TMicroGMTInputProducer.cc.
|
overrideprivatevirtual |
Definition at line 332 of file L1TMicroGMTInputProducer.cc.
|
static |
Definition at line 350 of file L1TMicroGMTInputProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 125 of file L1TMicroGMTInputProducer.cc.
References Exception, m_filestream, and m_fname.
Referenced by L1TMicroGMTInputProducer().
|
overrideprivatevirtual |
Definition at line 160 of file L1TMicroGMTInputProducer.cc.
References l1t::bmtf, l1t::emtf_neg, l1t::emtf_pos, stringResolutionProvider_cfi::et, f, mps_fire::i, createfilelist::int, m_currEvt, m_currType, m_endOfBx, m_filestream, eostools::move(), RPCpg::mu, l1t::omtf_neg, l1t::omtf_pos, edm::Event::put(), l1t::MuonCaloSum::setEtaBits(), l1t::MuonCaloSum::setEtBits(), l1t::RegionalMuonCand::setHwEta(), l1t::RegionalMuonCand::setHwPhi(), l1t::RegionalMuonCand::setHwPt(), l1t::RegionalMuonCand::setHwQual(), l1t::RegionalMuonCand::setHwSign(), l1t::RegionalMuonCand::setHwSignValid(), l1t::MuonCaloSum::setIndex(), l1t::MuonCaloSum::setPhiBits(), l1t::RegionalMuonCand::setTFIdentifiers(), createPayload::skip, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
|
private |
Definition at line 136 of file L1TMicroGMTInputProducer.cc.
References m_filestream, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by L1TMicroGMTInputProducer().
|
private |
Definition at line 75 of file L1TMicroGMTInputProducer.cc.
Referenced by produce().
|
private |
Definition at line 74 of file L1TMicroGMTInputProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 of file L1TMicroGMTInputProducer.cc.
Referenced by produce().
|
private |
Definition at line 71 of file L1TMicroGMTInputProducer.cc.
Referenced by openFile(), produce(), skipHeader(), and ~L1TMicroGMTInputProducer().
|
private |
Definition at line 70 of file L1TMicroGMTInputProducer.cc.
Referenced by L1TMicroGMTInputProducer(), and openFile().
|
private |
Definition at line 73 of file L1TMicroGMTInputProducer.cc.