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::ForcePrescaleValues, Mode::ForceColumnValues, 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 | |
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 |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 129 of file L1TGlobalPrescaler.cc.
|
strongprivate |
Enumerator | |
---|---|
ApplyPrescaleValues | |
ApplyPrescaleRatios | |
ApplyColumnValues | |
ApplyColumnRatios | |
ForcePrescaleValues | |
ForceColumnValues | |
Invalid |
Definition at line 138 of file L1TGlobalPrescaler.cc.
L1TGlobalPrescaler::L1TGlobalPrescaler | ( | edm::ParameterSet const & | config | ) |
Definition at line 173 of file L1TGlobalPrescaler.cc.
References ApplyColumnRatios, ApplyColumnValues, ApplyPrescaleRatios, ApplyPrescaleValues, edm::errors::Configuration, Exception, ForceColumnValues, ForcePrescaleValues, edm::ParameterSet::getParameter(), Invalid, m_counters, m_l1tPrescales, m_mode, m_prescales, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 350 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 206 of file L1TGlobalPrescaler.cc.
References ApplyColumnRatios, ApplyColumnValues, ApplyPrescaleRatios, BXVector< T >::at(), edm::errors::Configuration, ForceColumnValues, ForcePrescaleValues, cmsPerfStripChart::format, edm::EventSetup::get(), GlobalAlgBlk::getAlgoDecisionFinal(), GlobalAlgBlk::getAlgoDecisionInitial(), GlobalAlgBlk::getFinalORVeto(), h, cmsBatch::handle, mps_fire::i, 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 163 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
private |
Definition at line 164 of file L1TGlobalPrescaler.cc.
Referenced by filter().
|
private |
Definition at line 161 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
private |
Definition at line 160 of file L1TGlobalPrescaler.cc.
Referenced by filter().
|
private |
Definition at line 159 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
private |
Definition at line 165 of file L1TGlobalPrescaler.cc.
Referenced by filter().
|
private |
Definition at line 162 of file L1TGlobalPrescaler.cc.
Referenced by filter(), and L1TGlobalPrescaler().
|
staticprivate |
Definition at line 149 of file L1TGlobalPrescaler.cc.
Referenced by fillDescriptions().