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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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(), edm::ParameterSetDescription::ifValue(), JetPDSkim_cfg::l1tResults, GlobalAlgBlk::maxPhysicsTriggers, universalConfigTemplate::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, assert(), edm::errors::Configuration, cmsPerfStripChart::format, edm::EventSetup::get(), GlobalAlgBlk::getAlgoDecisionFinal(), GlobalAlgBlk::getFinalORVeto(), h, patZpeak::handle, i, cmsHarvester::index, edm::errors::LogicError, m_counters, m_l1tPrescaleColumn, m_l1tPrescales, m_l1tResultsToken, m_mode, m_oldIndex, m_prescales, GlobalAlgBlk::maxPhysicsTriggers, min(), eostools::move(), or, makeHLTPrescaleTable::prescales, hltrates_dqm_sourceclient-live_cfg::prescaleTable, mps_fire::result, GlobalAlgBlk::setAlgoDecisionFinal(), GlobalAlgBlk::setFinalOR(), GlobalAlgBlk::setFinalORPreVeto(), GlobalAlgBlk::setPreScColumn(), and dqmd_manager::targets.
|
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().