#include <L1MuGlobalMuonTrigger.h>
Public Member Functions | |
virtual void | beginJob () |
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... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
void | reset () |
const L1MuGMTSorter * | Sorter () const |
return pointer to Sorter More... | |
~L1MuGlobalMuonTrigger () | |
Public Member Functions inherited from edm::one::EDProducer< edm::one::SharedResources > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
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) |
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 = 0 |
static L1MuGMTDebugBlock * | m_db = 0 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
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::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) |
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.
L1MuGlobalMuonTrigger::~L1MuGlobalMuonTrigger | ( | ) |
Definition at line 132 of file L1MuGlobalMuonTrigger.cc.
References m_CancelOutUnit, m_config, m_db, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_ReadoutRingbuffer, and m_Sorter.
|
virtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 165 of file L1MuGlobalMuonTrigger.cc.
|
inline |
return pointer to Cancel Out Unit
Definition at line 69 of file L1MuGlobalMuonTrigger.h.
References hcalTTPDigis_cfi::id, and m_CancelOutUnit.
Referenced by L1MuGMTMerger::merge().
|
inline |
return a reference to the current record in the ring buffer
Definition at line 87 of file L1MuGlobalMuonTrigger.h.
References m_ReadoutRingbuffer.
Referenced by L1MuGMTPSB::getCalo(), L1MuGMTPSB::receiveData(), and L1MuGMTSorter::run().
|
inline |
return pointer to PSB
Definition at line 63 of file L1MuGlobalMuonTrigger.h.
References m_PSB.
Referenced by L1MuGMTMipIsoAU::assignISO(), L1MuGMTMipIsoAU::assignMIP(), L1MuGMTMatcher::load(), L1MuGMTMipIsoAU::load(), and L1MuGMTMerger::load().
|
inline |
for debug: return the debug block (in order to fill it)
Definition at line 91 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 385 of file L1MuGlobalMuonTrigger.cc.
References L1MuGMTConfig::getBxMaxRo(), L1MuGMTConfig::getBxMinRo(), m_config, m_db, and m_ReadoutRingbuffer.
Referenced by produce(), and Sorter().
|
inline |
return pointer to Matcher
Definition at line 66 of file L1MuGlobalMuonTrigger.h.
References hcalTTPDigis_cfi::id, and m_Matcher.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
|
inline |
return pointer to Merger
Definition at line 75 of file L1MuGlobalMuonTrigger.h.
References hcalTTPDigis_cfi::id, and m_Merger.
Referenced by L1MuGMTSorter::run().
|
inline |
return pointer to MIP & ISO bit assignment unit
Definition at line 72 of file L1MuGlobalMuonTrigger.h.
References hcalTTPDigis_cfi::id, and m_MipIsoAU.
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().
|
virtual |
Definition at line 169 of file L1MuGlobalMuonTrigger.cc.
References L1MuGMTSorter::Cands(), L1MuGMTConfig::clearLUTsRegs(), L1MuGMTConfig::createLUTsRegs(), L1MuGMTConfig::Debug(), TauDecayModes::dec, dir, L1MuGMTConfig::dumpLUTs(), L1MuGMTConfig::dumpRegs(), L1MuGMTPSB::empty(), edm::EventSetup::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, RecoTauDiscriminantConfiguration::mask, eostools::mkdir(), eostools::move(), L1MuGMTSorter::numberOfCands(), L1MuGMTSorter::print(), L1MuGMTMatcher::print(), L1MuGMTPSB::print(), L1MuGMTMipIsoAU::print(), L1MuGMTMerger::print(), L1MuGMTCancelOutUnit::print(), edm::ESHandle< T >::product(), edm::Event::put(), 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 367 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 78 of file L1MuGlobalMuonTrigger.h.
References getReadoutCollection(), and m_Sorter.
|
private |
Definition at line 97 of file L1MuGlobalMuonTrigger.h.
Referenced by CancelOutUnit(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
staticprivate |
Definition at line 108 of file L1MuGlobalMuonTrigger.h.
Referenced by getReadoutCollection(), L1MuGlobalMuonTrigger(), produce(), and ~L1MuGlobalMuonTrigger().
|
staticprivate |
Definition at line 110 of file L1MuGlobalMuonTrigger.h.
Referenced by getReadoutCollection(), L1MuGlobalMuonTrigger(), produce(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 102 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 117 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 116 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 115 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 114 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 96 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Matcher(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 99 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Merger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 98 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), MipIsoAU(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 91 of file L1MuGlobalMuonTrigger.h.
Referenced by Data(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 103 of file L1MuGlobalMuonTrigger.h.
Referenced by currentReadoutRecord(), getReadoutCollection(), produce(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 106 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
|
private |
Definition at line 100 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), reset(), Sorter(), and ~L1MuGlobalMuonTrigger().
|
private |
Definition at line 105 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().