#include <HLTPrescaler.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const trigger::Efficiency *efficiency) |
static std::unique_ptr< trigger::Efficiency > | initializeGlobalCache (edm::ParameterSet const &) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
unsigned int | acceptCount_ |
accept counter More... | |
unsigned int | eventCount_ |
event counter More... | |
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > | gtDigi1Token_ |
edm::EDGetTokenT< GlobalAlgBlkBxCollection > | gtDigi2Token_ |
edm::InputTag | gtDigiTag_ |
GT payload, to extract the prescale column index. More... | |
bool | newLumi_ |
check for (re)initialization of the prescale More... | |
unsigned int | offsetCount_ |
initial offset More... | |
unsigned int | offsetPhase_ |
unsigned int | prescaleFactor_ |
accept one in prescaleFactor_; 0 means never to accept an event More... | |
edm::service::PrescaleService * | prescaleService_ |
prescale service More... | |
unsigned int | prescaleSet_ |
l1 prescale set index More... | |
Static Private Attributes | |
static const unsigned int | prescaleSeed_ = 65537 |
"seed" used to initialize the prescale counter More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter< edm::GlobalCache< trigger::Efficiency > > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | 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::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
This class is an EDFilter implementing an HLT Prescaler module with associated book keeping.
Definition at line 42 of file HLTPrescaler.h.
|
explicit |
Definition at line 30 of file HLTPrescaler.cc.
References LogDebug, Utilities::operator, and prescaleService_.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 63 of file HLTPrescaler.cc.
References newLumi_.
|
overridevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 132 of file HLTPrescaler.cc.
References acceptCount_, and eventCount_.
|
static |
Definition at line 55 of file HLTPrescaler.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_2022v11_cff::InputTag.
|
overridevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 68 of file HLTPrescaler.cc.
References acceptCount_, BXVector< T >::begin(), BXVector< T >::end(), eventCount_, edm::service::PrescaleService::getPrescale(), gtDigi1Token_, gtDigi2Token_, L1GlobalTriggerReadoutRecord::gtFdlWord(), L1GtFdlWord::gtPrescaleFactorIndexAlgo(), iEvent, edm::HandleBase::isValid(), newLumi_, offsetCount_, offsetPhase_, hltMonBTagIPClient_cfi::pathName, prescaleFactor_, prescaleSeed_, prescaleService_, prescaleSet_, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 141 of file HLTPrescaler.cc.
References accept(), L1TObjectsTimingClient_cff::efficiency, edmPickEvents::event, and SiStripPI::max.
|
inlinestatic |
Definition at line 50 of file HLTPrescaler.h.
|
private |
accept counter
Definition at line 78 of file HLTPrescaler.h.
Referenced by endStream(), and filter().
|
private |
event counter
Definition at line 75 of file HLTPrescaler.h.
Referenced by endStream(), and filter().
|
private |
Definition at line 92 of file HLTPrescaler.h.
Referenced by filter().
|
private |
Definition at line 93 of file HLTPrescaler.h.
Referenced by filter().
|
private |
GT payload, to extract the prescale column index.
Definition at line 91 of file HLTPrescaler.h.
|
private |
check for (re)initialization of the prescale
Definition at line 88 of file HLTPrescaler.h.
Referenced by beginLuminosityBlock(), and filter().
|
private |
|
private |
Definition at line 82 of file HLTPrescaler.h.
Referenced by filter().
|
private |
accept one in prescaleFactor_; 0 means never to accept an event
Definition at line 72 of file HLTPrescaler.h.
Referenced by filter().
|
staticprivate |
"seed" used to initialize the prescale counter
Definition at line 96 of file HLTPrescaler.h.
Referenced by filter().
|
private |
prescale service
Definition at line 85 of file HLTPrescaler.h.
Referenced by filter(), and HLTPrescaler().
|
private |