#include <L1TGlobalProducer.h>
Public Member Functions | |
L1TGlobalProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
~L1TGlobalProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::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) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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 38 of file L1TGlobalProducer.h.
|
explicit |
Definition at line 76 of file L1TGlobalProducer.cc.
References LogTrace, m_activeBoardsGtDaq, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_alternativeNrBxBoardDaq, m_bstLengthBytes, m_egInputTag, m_egInputToken, m_emulateBxInEvent, m_extInputTag, m_extInputToken, m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_initialPrescaleFactorsAlgoTrig, m_jetInputTag, m_jetInputToken, m_L1DataBxInEvent, m_l1GtBMCacheID, m_l1GtMenuCacheID, m_l1GtParCacheID, m_l1GtPfAlgoCacheID, m_l1GtTmAlgoCacheID, m_l1GtTmVetoAlgoCacheID, m_muInputTag, m_muInputToken, m_nrL1EG, m_nrL1Jet, m_nrL1Mu, m_nrL1Tau, m_numberDaqPartitions, m_numberPhysTriggers, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_sumInputTag, m_sumInputToken, m_tauInputTag, m_tauInputToken, m_totalBxInEvent, m_uGtBrd, and m_verbosity.
L1TGlobalProducer::~L1TGlobalProducer | ( | ) |
Definition at line 234 of file L1TGlobalProducer.cc.
|
static |
Definition at line 45 of file L1TGlobalProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Needs error checking that something exists at this bx.
Definition at line 241 of file L1TGlobalProducer.cc.
References edm::EventBase::bunchCrossing(), l1t::TriggerMenuParser::corCaloTemplate(), l1t::TriggerMenuParser::corEnergySumTemplate(), l1t::TriggerMenuParser::corMuonTemplate(), gather_cfg::cout, data, TauDecayModes::dec, DEFINE_FWK_MODULE, edm::EventSetup::get(), l1t::TriggerMenuParser::gtAlgorithmAliasMap(), l1t::TriggerMenuParser::gtAlgorithmMap(), l1t::TriggerMenuParser::gtScaleDbKey(), l1t::TriggerMenuParser::gtScales(), l1t::TriggerMenuParser::gtTriggerMenuImplementation(), l1t::TriggerMenuParser::gtTriggerMenuInterface(), l1t::TriggerMenuParser::gtTriggerMenuName(), l1t::TriggerMenuParser::gtTriggerMenuUUID(), LogDebug, LogTrace, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_egInputToken, m_emulateBxInEvent, m_extInputToken, m_initialPrescaleFactorsAlgoTrig, m_initialTriggerMaskAlgoTrig, m_initialTriggerMaskVetoAlgoTrig, m_isDebugEnabled, m_jetInputToken, m_L1DataBxInEvent, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtParCacheID, m_l1GtPfAlgoCacheID, m_l1GtPrescalesVetoes, m_l1GtStablePar, m_muInputToken, m_nrL1EG, m_nrL1Jet, m_nrL1Mu, m_nrL1Tau, m_numberPhysTriggers, m_prescaleFactorsAlgoTrig, m_prescaleSet, m_printL1Menu, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_sumInputToken, m_tauInputToken, m_totalBxInEvent, m_triggerMaskAlgoTrig, m_triggerMaskVetoAlgoTrig, m_uGtBrd, m_verbosity, hpstanc_transforms::max, eostools::move(), l1t::GlobalParamsHelper::numberChips(), l1t::GlobalParamsHelper::numberL1EG(), l1t::GlobalParamsHelper::numberL1Jet(), l1t::GlobalParamsHelper::numberL1Mu(), l1t::GlobalParamsHelper::numberL1Tau(), l1t::GlobalParamsHelper::numberPhysTriggers(), l1t::GlobalParamsHelper::orderOfChip(), l1t::TriggerMenuParser::parseCondFormats(), l1t::GlobalParamsHelper::pinsOnChip(), l1t::PrescalesVetosHelper::prescaleTable(), reco::print(), edm::ESHandle< T >::product(), edm::Event::put(), l1t::TriggerMenuParser::setGtNumberConditionChips(), l1t::TriggerMenuParser::setGtNumberPhysTriggers(), l1t::TriggerMenuParser::setGtOrderConditionChip(), l1t::TriggerMenuParser::setGtPinsOnConditionChip(), l1t::GlobalParamsHelper::totalBxInEvent(), l1t::PrescalesVetosHelper::triggerMaskVeto(), l1t::TriggerMenuParser::vecCaloTemplate(), l1t::TriggerMenuParser::vecCorrelationTemplate(), l1t::TriggerMenuParser::vecCorrelationWithOverlapRemovalTemplate(), l1t::TriggerMenuParser::vecEnergySumTemplate(), l1t::TriggerMenuParser::vecExternalTemplate(), and l1t::TriggerMenuParser::vecMuonTemplate().
|
private |
active boards in L1 GT DAQ record
Definition at line 83 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 170 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
run algorithm triggers if true, unprescaled (all prescale factors 1) will overwrite the event setup
Definition at line 166 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
alternative for number of BX per active board in GT DAQ record: 0 or 1 the position is identical with the active board bit
Definition at line 155 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
length of BST record (in bytes) from event setup
Definition at line 86 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
input tag for calorimeter collections from GCT
Definition at line 122 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 126 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
number of "bunch crossing in the event" (BxInEvent) to be emulated symmetric around L1Accept (BxInEvent = 0): 1 (BxInEvent = 0); 3 (F 0 1) (standard record); 5 (E F 0 1 2) (debug record) even numbers (except 0) "rounded" to the nearest lower odd number
Definition at line 148 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
input tag for external conditions
Definition at line 132 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 133 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 77 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 76 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 97 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 110 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 113 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 175 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 124 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 128 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Bx expected in Data coming to GT.
Definition at line 151 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
board maps - cache only the record
Definition at line 89 of file L1TGlobalProducer.h.
|
private |
Definition at line 90 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 59 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 60 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 56 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 94 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
|
private |
cached stuff
stable parameters
Definition at line 55 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
trigger masks & veto masks
Definition at line 103 of file L1TGlobalProducer.h.
|
private |
Definition at line 104 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 106 of file L1TGlobalProducer.h.
|
private |
Definition at line 107 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
input tag for muon collection from GMT
Definition at line 118 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 119 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 70 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 73 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 69 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 71 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 66 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 63 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 96 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
|
private |
CSV file for prescales.
Definition at line 100 of file L1TGlobalProducer.h.
|
private |
Definition at line 174 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 136 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
logical flag to produce the L1 GT object map record
Definition at line 139 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
length of BST record (in bytes) from parameter set
Definition at line 158 of file L1TGlobalProducer.h.
|
private |
Definition at line 125 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 129 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 123 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 127 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 80 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 109 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 112 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 115 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
verbosity level
Definition at line 173 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
logical flag to write the PSB content in the L1 GT DAQ record
Definition at line 142 of file L1TGlobalProducer.h.