#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) |
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::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 34 of file L1TGlobalProducer.h.
|
explicit |
Definition at line 72 of file L1TGlobalProducer.cc.
References cuy::col, validate-o2o-wbm::f1, plotBeamSpotDB::first, edm::ParameterSet::getParameter(), geometryCSVtoXML::line, 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_initialTriggerMaskAlgoTrig, m_initialTriggerMaskVetoAlgoTrig, 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_prescaleSet, m_prescalesFile, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_sumInputTag, m_sumInputToken, m_tauInputTag, m_tauInputToken, m_totalBxInEvent, m_uGtBrd, m_verbosity, cmsHarvester::sep, l1t::GlobalBoard::setVerbosity(), findQualityFiles::size, split, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
L1TGlobalProducer::~L1TGlobalProducer | ( | ) |
|
static |
Definition at line 42 of file L1TGlobalProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_25ns10e33_v2_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Needs error checking that something exists at this bx.
Implements edm::stream::EDProducerBase.
Definition at line 403 of file L1TGlobalProducer.cc.
References edm::EventBase::bunchCrossing(), l1t::TriggerMenuParser::corCaloTemplate(), l1t::TriggerMenuParser::corEnergySumTemplate(), l1t::TriggerMenuParser::corMuonTemplate(), AlCaHLTBitMon_QueryRunRegistry::data, TauDecayModes::dec, l1t::GlobalBoard::fillAlgRecord(), edm::EventSetup::get(), l1t::TriggerMenuParser::gtAlgorithmAliasMap(), l1t::TriggerMenuParser::gtAlgorithmMap(), l1t::TriggerMenuParser::gtScaleDbKey(), l1t::TriggerMenuParser::gtScales(), TriggerMenu::gtTriggerMenuImplementation(), l1t::TriggerMenuParser::gtTriggerMenuImplementation(), l1t::TriggerMenuParser::gtTriggerMenuInterface(), l1t::TriggerMenuParser::gtTriggerMenuName(), TriggerMenu::gtTriggerMenuUUID(), l1t::TriggerMenuParser::gtTriggerMenuUUID(), l1t::GlobalBoard::init(), 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_l1GtStablePar, m_muInputToken, m_nrL1EG, m_nrL1Jet, m_nrL1Mu, m_nrL1Tau, m_numberPhysTriggers, m_prescaleFactorsAlgoTrig, m_prescaleSet, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_sumInputToken, m_tauInputToken, m_totalBxInEvent, m_triggerMaskAlgoTrig, m_triggerMaskVetoAlgoTrig, m_uGtBrd, m_verbosity, 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(), reco::print(), edm::ESHandle< class >::product(), edm::Event::put(), l1t::GlobalBoard::receiveCaloObjectData(), l1t::GlobalBoard::receiveExternalData(), l1t::GlobalBoard::receiveMuonObjectData(), l1t::GlobalBoard::reset(), l1t::GlobalBoard::runFDL(), l1t::GlobalBoard::runGTL(), l1t::TriggerMenuParser::setGtNumberConditionChips(), l1t::TriggerMenuParser::setGtNumberPhysTriggers(), l1t::TriggerMenuParser::setGtOrderConditionChip(), l1t::TriggerMenuParser::setGtPinsOnConditionChip(), l1t::GlobalParamsHelper::totalBxInEvent(), TriggerMenu_cff::TriggerMenu, l1t::TriggerMenuParser::vecCaloTemplate(), l1t::TriggerMenuParser::vecCorrelationTemplate(), l1t::TriggerMenuParser::vecEnergySumTemplate(), l1t::TriggerMenuParser::vecExternalTemplate(), and l1t::TriggerMenuParser::vecMuonTemplate().
|
private |
active boards in L1 GT DAQ record
Definition at line 79 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 166 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 162 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 151 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
length of BST record (in bytes) from event setup
Definition at line 82 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
input tag for calorimeter collections from GCT
Definition at line 118 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 122 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 144 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
input tag for external conditions
Definition at line 128 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 73 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 72 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 93 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 106 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 109 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 170 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 120 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 124 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Bx expected in Data coming to GT.
Definition at line 147 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
board maps - cache only the record
Definition at line 85 of file L1TGlobalProducer.h.
|
private |
Definition at line 86 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 55 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 56 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 52 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
prescale factors
Definition at line 89 of file L1TGlobalProducer.h.
|
private |
Definition at line 90 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
cached stuff
stable parameters
Definition at line 51 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
trigger masks & veto masks
Definition at line 99 of file L1TGlobalProducer.h.
|
private |
Definition at line 100 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 102 of file L1TGlobalProducer.h.
|
private |
Definition at line 103 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
input tag for muon collection from GMT
Definition at line 114 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 115 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 66 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 65 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 67 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 62 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 59 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 92 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
prescale set used
Definition at line 157 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
CSV file for prescales.
Definition at line 96 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 132 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
logical flag to produce the L1 GT object map record
Definition at line 135 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
length of BST record (in bytes) from parameter set
Definition at line 154 of file L1TGlobalProducer.h.
|
private |
Definition at line 121 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 125 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 119 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 123 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 76 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 105 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 108 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 111 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), produce(), and ~L1TGlobalProducer().
|
private |
verbosity level
Definition at line 169 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 138 of file L1TGlobalProducer.h.