#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 | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () 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 &&)=default | |
EDConsumerBase (EDConsumerBase const &)=delete | |
ESProxyIndex const * | esGetTokenIndices (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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
L1MuGMTCancelOutUnit * | m_CancelOutUnit [4] |
std::vector< L1MuGMTExtendedCand > | m_ExtendedCands |
unsigned long long | m_L1CaloGeometryCacheID |
unsigned long long | m_L1MuGMTChannelMaskCacheID |
unsigned long long | m_L1MuGMTParametersCacheID |
unsigned long long | m_L1MuGMTScalesCacheID |
unsigned long long | m_L1MuTriggerPtScaleCacheID |
unsigned long long | m_L1MuTriggerScalesCacheID |
L1MuGMTMatcher * | m_Matcher [2] |
L1MuGMTMerger * | m_Merger [2] |
L1MuGMTMipIsoAU * | m_MipIsoAU [2] |
L1MuGMTPSB * | m_PSB |
std::vector< L1MuGMTReadoutRecord * > | m_ReadoutRingbuffer |
bool | m_sendMipIso |
L1MuGMTSorter * | m_Sorter |
bool | m_writeLUTsAndRegs |
Static Private Attributes | |
static L1MuGMTConfig * | m_config = nullptr |
static L1MuGMTDebugBlock * | m_db = nullptr |
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<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 50 of file L1MuGlobalMuonTrigger.h.
|
explicit |
Definition at line 69 of file L1MuGlobalMuonTrigger.cc.
References edm::EDConsumerBase::consumesCollector(), L1MuGMTConfig::Debug(), L1MuGMTConfig::getBxMax(), L1MuGMTConfig::getBxMin(), edm::ParameterSet::getUntrackedParameter(), m_CancelOutUnit, m_config, m_db, m_ExtendedCands, m_L1CaloGeometryCacheID, m_L1MuGMTChannelMaskCacheID, m_L1MuGMTParametersCacheID, m_L1MuGMTScalesCacheID, m_L1MuTriggerPtScaleCacheID, m_L1MuTriggerScalesCacheID, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_sendMipIso, m_Sorter, and m_writeLUTsAndRegs.
|
override |
Definition at line 143 of file L1MuGlobalMuonTrigger.cc.
References m_CancelOutUnit, m_config, m_db, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_ReadoutRingbuffer, and m_Sorter.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 177 of file L1MuGlobalMuonTrigger.cc.
|
inline |
return pointer to Cancel Out Unit
Definition at line 67 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 84 of file L1MuGlobalMuonTrigger.h.
References m_ReadoutRingbuffer.
Referenced by L1MuGMTPSB::getCalo(), L1MuGMTPSB::receiveData(), and L1MuGMTSorter::run().
|
inline |
return pointer to PSB
Definition at line 61 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 87 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 444 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 64 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 73 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 70 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 179 of file L1MuGlobalMuonTrigger.cc.
References simKBmtfDigis_cfi::bx, L1MuGMTSorter::Cands(), L1MuGMTConfig::clearLUTsRegs(), L1MuGMTConfig::createLUTsRegs(), L1MuGMTConfig::Debug(), TauDecayModes::dec, DeadROC_duringRun::dir, L1MuGMTConfig::dumpLUTs(), L1MuGMTConfig::dumpRegs(), MillePedeFileConverter_cfg::e, L1MuGMTPSB::empty(), edm::EventSetup::get(), get, L1MuGMTConfig::getBxMax(), L1MuGMTConfig::getBxMin(), L1MuGMTConfig::getGMTChanMask(), getReadoutCollection(), L1MuGMTChannelMask::getSubsystemMask(), mps_fire::i, L1MuGMTDebugBlock::IsMIPISO(), m_CancelOutUnit, m_config, m_db, m_ExtendedCands, 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_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(), L1MuGMTDebugBlock::reset(), reset(), L1MuGMTSorter::run(), L1MuGMTMatcher::run(), L1MuGMTMipIsoAU::run(), L1MuGMTMerger::run(), L1MuGMTCancelOutUnit::run(), L1MuGMTDebugBlock::SetBX(), L1MuGMTConfig::setCaloGeom(), L1MuGMTConfig::setDefaults(), L1MuGMTConfig::setGMTChanMask(), L1MuGMTConfig::setGMTParams(), L1MuGMTConfig::setGMTScales(), L1MuGMTConfig::setTriggerPtScale(), L1MuGMTConfig::setTriggerScales(), and AlCaHLTBitMon_QueryRunRegistry::string.
void L1MuGlobalMuonTrigger::reset | ( | void | ) |
Definition at line 416 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 76 of file L1MuGlobalMuonTrigger.h.
References m_Sorter.
|
private |
Definition at line 92 of file L1MuGlobalMuonTrigger.h.
Referenced by CancelOutUnit(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
staticprivate |
Definition at line 103 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), and ~L1MuGlobalMuonTrigger().
|
staticprivate |
Definition at line 105 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 97 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 112 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 111 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 110 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 107 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 109 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 108 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 91 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Matcher(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 94 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Merger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 93 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), MipIsoAU(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 87 of file L1MuGlobalMuonTrigger.h.
Referenced by Data(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 98 of file L1MuGlobalMuonTrigger.h.
Referenced by currentReadoutRecord(), getReadoutCollection(), produce(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 101 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 95 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), reset(), Sorter(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 100 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().