Public Member Functions | |
virtual bool | filter (edm::Event &event, edm::EventSetup const &setup) override |
L1TGlobalPrescaler (edm::ParameterSet const &config) | |
Public Member Functions inherited from edm::one::EDFilter<> | |
EDFilter ()=default | |
Public Member Functions inherited from edm::one::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilterBase () |
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 |
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 & | itemsToGetFromEvent () 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::one::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
enum | Mode { Mode::ApplyPrescaleValues, Mode::ApplyPrescaleRatios, Mode::ApplyColumnValues, Mode::ApplyColumnRatios, Mode::Invalid = -1 } |
Private Attributes | |
std::array< unsigned int, GlobalAlgBlk::maxPhysicsTriggers > | m_counters |
const int | m_l1tPrescaleColumn |
const std::array< double, GlobalAlgBlk::maxPhysicsTriggers > | m_l1tPrescales |
const edm::EDGetTokenT< GlobalAlgBlkBxCollection > | m_l1tResultsToken |
const Mode | m_mode |
int | m_oldIndex |
std::array< double, GlobalAlgBlk::maxPhysicsTriggers > | m_prescales |
Static Private Attributes | |
static const Entry< Mode > | s_modes [] |
Additional Inherited Members | |
Public Types inherited from edm::one::EDFilterBase | |
typedef EDFilterBase | 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) |
Definition at line 110 of file L1TGlobalPrescaler.cc.
|
strongprivate |
Enumerator | |
---|---|
ApplyPrescaleValues | |
ApplyPrescaleRatios | |
ApplyColumnValues | |
ApplyColumnRatios | |
Invalid |
Definition at line 119 of file L1TGlobalPrescaler.cc.
L1TGlobalPrescaler::L1TGlobalPrescaler | ( | edm::ParameterSet const & | config | ) |
Definition at line 150 of file L1TGlobalPrescaler.cc.
References ApplyColumnRatios, ApplyColumnValues, ApplyPrescaleRatios, ApplyPrescaleValues, edm::errors::Configuration, Exception, edm::ParameterSet::getParameter(), Invalid, m_counters, m_l1tPrescales, m_mode, m_prescales, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 311 of file L1TGlobalPrescaler.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), DEFINE_FWK_MODULE, edm::ParameterSetDescription::ifValue(), SelectingProcedure_cff::l1tResults, GlobalAlgBlk::maxPhysicsTriggers, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, or, s_modes, edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements edm::one::EDFilterBase.
Definition at line 181 of file L1TGlobalPrescaler.cc.
References ApplyColumnRatios, ApplyColumnValues, ApplyPrescaleRatios, BXVector< T >::at(), edm::errors::Configuration, cmsPerfStripChart::format, edm::EventSetup::get(), GlobalAlgBlk::getAlgoDecisionFinal(), GlobalAlgBlk::getFinalORVeto(), GlobalAlgBlk::getPreScColumn(), h, cmsBatch::handle, mps_fire::i, diffTreeTool::index, BXVector< T >::isEmpty(), edm::errors::LogicError, m_counters, m_l1tPrescaleColumn, m_l1tPrescales, m_l1tResultsToken, m_mode, m_oldIndex, m_prescales, GlobalAlgBlk::maxPhysicsTriggers, min(), eostools::move(), or, L1TGlobalPrescalesVetos::prescale_table_, mps_fire::result, GlobalAlgBlk::setAlgoDecisionFinal(), GlobalAlgBlk::setFinalOR(), GlobalAlgBlk::setFinalORPreVeto(), and GlobalAlgBlk::setPreScColumn().
|
private |
Definition at line 140 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
private |
Definition at line 141 of file L1TGlobalPrescaler.cc.
Referenced by filter().
|
private |
Definition at line 138 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
private |
Definition at line 137 of file L1TGlobalPrescaler.cc.
Referenced by filter().
|
private |
Definition at line 136 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
private |
Definition at line 142 of file L1TGlobalPrescaler.cc.
Referenced by filter().
|
private |
Definition at line 139 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
staticprivate |
Definition at line 128 of file L1TGlobalPrescaler.cc.
Referenced by fillDescriptions().