#include <L1MuGlobalMuonTrigger.h>
Public Member Functions | |
void | beginJob () override |
const L1MuGMTCancelOutUnit * | CancelOutUnit (int id) const |
return pointer to Cancel Out Unit More... | |
L1MuGMTReadoutRecord * | currentReadoutRecord () const |
return a reference to the current record in the ring buffer More... | |
const L1MuGMTPSB * | Data () const |
return pointer to PSB More... | |
L1MuGMTDebugBlock * | DebugBlockForFill () const |
for debug: return the debug block (in order to fill it) More... | |
std::unique_ptr< L1MuGMTReadoutCollection > | getReadoutCollection () |
L1MuGlobalMuonTrigger (const edm::ParameterSet &) | |
const L1MuGMTMatcher * | Matcher (int id) const |
return pointer to Matcher More... | |
const L1MuGMTMerger * | Merger (int id) const |
return pointer to Merger More... | |
const L1MuGMTMipIsoAU * | MipIsoAU (int id) const |
return pointer to MIP & ISO bit assignment unit More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | reset () |
const L1MuGMTSorter * | Sorter () const |
return pointer to Sorter More... | |
~L1MuGlobalMuonTrigger () override | |
Public Member Functions inherited from edm::one::EDProducer< edm::one::SharedResources > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
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 |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
bool | wantsInputProcessBlocks () const final |
bool | wantsProcessBlocks () const final |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const |
bool | wantsStreamRuns () 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 | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESProxyIndex > 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 |
bool | registeredToConsumeMany (TypeID const &, 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::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Private Attributes | |
static std::shared_ptr< L1MuGMTConfig > | m_config |
static std::shared_ptr< L1MuGMTDebugBlock > | m_db |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
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::one::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 66 of file L1MuGlobalMuonTrigger.h.
|
explicit |
EventSetup Tokens
Definition at line 56 of file L1MuGlobalMuonTrigger.cc.
References edm::EDConsumerBase::consumesCollector(), L1MuGMTConfig::Debug(), relativeConstraints::empty, edm::ParameterSet::getUntrackedParameter(), m_caloGeomToken, m_CancelOutUnit, m_config, m_db, m_ExtendedCands, m_gmtChanMaskToken, m_gmtParamsToken, m_gmtScalesToken, m_L1CaloGeometryCacheID, m_L1MuGMTChannelMaskCacheID, m_L1MuGMTParametersCacheID, m_L1MuGMTScalesCacheID, m_L1MuTriggerPtScaleCacheID, m_L1MuTriggerScalesCacheID, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_sendMipIso, m_Sorter, m_trigPtScaleToken, m_trigScalesToken, m_writeLUTsAndRegs, and groupFilesInBlocks::temp.
|
override |
Definition at line 143 of file L1MuGlobalMuonTrigger.cc.
References m_CancelOutUnit, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_ReadoutRingbuffer, and m_Sorter.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 169 of file L1MuGlobalMuonTrigger.cc.
|
inline |
return pointer to Cancel Out Unit
Definition at line 83 of file L1MuGlobalMuonTrigger.h.
References triggerObjects_cff::id, and m_CancelOutUnit.
Referenced by L1MuGMTMerger::merge().
|
inline |
return a reference to the current record in the ring buffer
Definition at line 100 of file L1MuGlobalMuonTrigger.h.
References m_ReadoutRingbuffer.
Referenced by L1MuGMTPSB::getCalo(), L1MuGMTPSB::receiveData(), and L1MuGMTSorter::run().
|
inline |
return pointer to PSB
Definition at line 77 of file L1MuGlobalMuonTrigger.h.
References m_PSB.
Referenced by L1MuGMTMipIsoAU::assignISO(), L1MuGMTMipIsoAU::assignMIP(), L1MuGMTMatcher::load(), L1MuGMTMerger::load(), and L1MuGMTMipIsoAU::load().
|
inline |
for debug: return the debug block (in order to fill it)
Definition at line 103 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGMTMipIsoAU::assignISO(), L1MuGMTMipIsoAU::assignMIP(), L1MuGMTCancelOutUnit::decide(), L1MuGMTMatcher::match(), L1MuGMTSorter::run(), L1MuGMTEtaProjectionUnit::run(), and L1MuGMTPhiProjectionUnit::run().
std::unique_ptr< L1MuGMTReadoutCollection > L1MuGlobalMuonTrigger::getReadoutCollection | ( | ) |
get the GMT readout data for the triggered bx readout data contains input and output muons as well as MIP and Quiet bits for 3 or 5 bx around the triggered bx
Definition at line 430 of file L1MuGlobalMuonTrigger.cc.
References simKBmtfDigis_cfi::bx, L1MuGMTConfig::getBxMaxRo(), L1MuGMTConfig::getBxMinRo(), and m_ReadoutRingbuffer.
Referenced by produce().
|
inline |
return pointer to Matcher
Definition at line 80 of file L1MuGlobalMuonTrigger.h.
References triggerObjects_cff::id, and m_Matcher.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
|
inline |
return pointer to Merger
Definition at line 89 of file L1MuGlobalMuonTrigger.h.
References triggerObjects_cff::id, and m_Merger.
Referenced by L1MuGMTSorter::run().
|
inline |
return pointer to MIP & ISO bit assignment unit
Definition at line 86 of file L1MuGlobalMuonTrigger.h.
References triggerObjects_cff::id, and m_MipIsoAU.
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 171 of file L1MuGlobalMuonTrigger.cc.
References simKBmtfDigis_cfi::bx, L1MuGMTSorter::Cands(), L1MuGMTConfig::Debug(), TauDecayModes::dec, DeadROC_duringRun::dir, MillePedeFileConverter_cfg::e, L1MuGMTPSB::empty(), edm::EventSetup::get(), L1MuGMTConfig::getBxMax(), L1MuGMTConfig::getBxMin(), L1MuGMTConfig::getGMTChanMask(), edm::EventSetup::getHandle(), getReadoutCollection(), L1MuGMTChannelMask::getSubsystemMask(), mps_fire::i, m_caloGeomToken, m_CancelOutUnit, m_config, m_db, m_ExtendedCands, m_gmtChanMaskToken, m_gmtParamsToken, m_gmtScalesToken, m_L1CaloGeometryCacheID, m_L1MuGMTChannelMaskCacheID, m_L1MuGMTParametersCacheID, m_L1MuGMTScalesCacheID, m_L1MuTriggerPtScaleCacheID, m_L1MuTriggerScalesCacheID, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_ReadoutRingbuffer, m_sendMipIso, m_Sorter, m_trigPtScaleToken, m_trigScalesToken, m_writeLUTsAndRegs, eostools::mkdir(), eostools::move(), L1MuGMTSorter::numberOfCands(), L1MuGMTSorter::print(), L1MuGMTMatcher::print(), L1MuGMTPSB::print(), L1MuGMTMipIsoAU::print(), L1MuGMTMerger::print(), L1MuGMTCancelOutUnit::print(), edm::ESHandle< T >::product(), L1MuGMTPSB::receiveData(), reset(), L1MuGMTSorter::run(), L1MuGMTMatcher::run(), L1MuGMTMipIsoAU::run(), L1MuGMTMerger::run(), L1MuGMTCancelOutUnit::run(), and AlCaHLTBitMon_QueryRunRegistry::string.
void L1MuGlobalMuonTrigger::reset | ( | void | ) |
Definition at line 402 of file L1MuGlobalMuonTrigger.cc.
References m_CancelOutUnit, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_Sorter, L1MuGMTSorter::reset(), L1MuGMTMatcher::reset(), L1MuGMTPSB::reset(), L1MuGMTMipIsoAU::reset(), L1MuGMTMerger::reset(), and L1MuGMTCancelOutUnit::reset().
Referenced by produce().
|
inline |
return pointer to Sorter
Definition at line 92 of file L1MuGlobalMuonTrigger.h.
References m_Sorter.
|
private |
Definition at line 135 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 108 of file L1MuGlobalMuonTrigger.h.
Referenced by CancelOutUnit(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
staticprivate |
Definition at line 119 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
staticprivate |
Definition at line 121 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 113 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 134 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 133 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 130 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 128 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 127 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 126 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 123 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 125 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 124 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 107 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Matcher(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 110 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Merger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 109 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), MipIsoAU(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 103 of file L1MuGlobalMuonTrigger.h.
Referenced by Data(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 114 of file L1MuGlobalMuonTrigger.h.
Referenced by currentReadoutRecord(), getReadoutCollection(), produce(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 117 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 111 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), reset(), Sorter(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 132 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 131 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 116 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().