#include <L1TGlobalProducer.h>
Public Member Functions | |
L1TGlobalProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~L1TGlobalProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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 41 of file L1TGlobalProducer.h.
|
explicit |
Definition at line 69 of file L1TGlobalProducer.cc.
References cuy::col, validate-o2o-wbm::f1, plotBeamSpotDB::first, edm::ParameterSet::getParameter(), geometryCSVtoXML::line, LogDebug, LogTrace, m_activeBoardsGtDaq, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_alternativeNrBxBoardDaq, m_bstLengthBytes, m_caloInputTag, m_egInputToken, m_emulateBxInEvent, m_extInputTag, m_extInputToken, m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_initialPrescaleFactorsAlgoTrig, m_initialTriggerMaskAlgoTrig, m_initialTriggerMaskVetoAlgoTrig, m_jetInputToken, m_L1DataBxInEvent, m_l1GtBMCacheID, m_l1GtMenuCacheID, m_l1GtParCacheID, m_l1GtPfAlgoCacheID, m_l1GtStableParCacheID, m_l1GtTmAlgoCacheID, m_l1GtTmVetoAlgoCacheID, m_muInputTag, m_muInputToken, m_nrL1EG, m_nrL1Jet, m_nrL1JetCounts, m_nrL1Mu, m_nrL1Tau, m_numberDaqPartitions, m_numberPhysTriggers, m_prescaleSet, m_prescalesFile, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_psBstLengthBytes, m_sumInputToken, m_tauInputToken, m_totalBxInEvent, m_uGtBrd, m_verbosity, m_writePsbL1GtDaqRecord, cmsHarvester::sep, l1t::GtBoard::setVerbosity(), findQualityFiles::size, split, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
L1TGlobalProducer::~L1TGlobalProducer | ( | ) |
|
static |
Definition at line 46 of file L1TGlobalProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
length of BST message (in bytes) for L1 GT EVM record
Needs error checking that something exists at this bx.
Implements edm::EDProducer.
Definition at line 400 of file L1TGlobalProducer.cc.
References edm::EventBase::bunchCrossing(), l1t::TriggerMenuParser::corCaloTemplate(), l1t::TriggerMenuParser::corEnergySumTemplate(), l1t::TriggerMenuParser::corMuonTemplate(), TauDecayModes::dec, l1t::GtBoard::fillAlgRecord(), l1t::GtBoard::fillExtRecord(), edm::EventSetup::get(), l1t::TriggerMenuParser::gtAlgorithmAliasMap(), l1t::TriggerMenuParser::gtAlgorithmMap(), L1GtParameters::gtBstLengthBytes(), L1GtParameters::gtDaqActiveBoards(), GlobalStableParameters::gtIfCaloEtaNumberBits(), GlobalStableParameters::gtIfMuEtaNumberBits(), GlobalStableParameters::gtNumberConditionChips(), GlobalStableParameters::gtNumberL1CenJet(), GlobalStableParameters::gtNumberL1JetCounts(), GlobalStableParameters::gtNumberL1Mu(), GlobalStableParameters::gtNumberL1NoIsoEG(), GlobalStableParameters::gtNumberL1TauJet(), GlobalStableParameters::gtNumberPhysTriggers(), GlobalStableParameters::gtOrderConditionChip(), GlobalStableParameters::gtPinsOnConditionChip(), l1t::TriggerMenuParser::gtScaleDbKey(), l1t::TriggerMenuParser::gtScales(), L1GtParameters::gtTotalBxInEvent(), l1t::TriggerMenuParser::gtTriggerMenuImplementation(), l1t::TriggerMenuParser::gtTriggerMenuInterface(), l1t::TriggerMenuParser::gtTriggerMenuName(), l1t::GtBoard::init(), LogDebug, LogTrace, m_activeBoardsGtDaq, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_bstLengthBytes, m_egInputToken, m_emulateBxInEvent, m_extInputToken, m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_initialPrescaleFactorsAlgoTrig, m_initialTriggerMaskAlgoTrig, m_initialTriggerMaskVetoAlgoTrig, m_isDebugEnabled, m_jetInputToken, m_L1DataBxInEvent, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtPar, m_l1GtParCacheID, m_l1GtStablePar, m_l1GtStableParCacheID, m_muInputToken, m_nrL1EG, m_nrL1Jet, m_nrL1JetCounts, m_nrL1Mu, m_nrL1Tau, m_numberDaqPartitions, m_numberPhysTriggers, m_prescaleFactorsAlgoTrig, m_prescaleSet, m_produceL1GtDaqRecord, m_produceL1GtObjectMapRecord, m_sumInputToken, m_tauInputToken, m_totalBxInEvent, m_triggerMaskAlgoTrig, m_triggerMaskVetoAlgoTrig, m_uGtBrd, m_verbosity, edm::EventBase::orbitNumber(), l1t::TriggerMenuParser::parseCondFormats(), reco::print(), edm::ESHandle< class >::product(), edm::Event::put(), l1t::GtBoard::receiveCaloObjectData(), l1t::GtBoard::receiveExternalData(), l1t::GtBoard::receiveMuonObjectData(), l1t::GtBoard::reset(), l1t::GtBoard::runFDL(), l1t::GtBoard::runGTL(), l1t::TriggerMenuParser::setGtNumberConditionChips(), l1t::TriggerMenuParser::setGtNumberPhysTriggers(), l1t::TriggerMenuParser::setGtOrderConditionChip(), l1t::TriggerMenuParser::setGtPinsOnConditionChip(), 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 100 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
if true, unmasked - all enabled (all trigger masks set to 0) will overwrite the event setup
Definition at line 197 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 193 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 181 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
length of BST record (in bytes) from event setup
Definition at line 103 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
input tag for calorimeter collections from GCT
Definition at line 151 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 152 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 174 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
input tag for external conditions
Definition at line 158 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 159 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 89 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 88 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 117 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 132 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 135 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 204 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 154 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Bx expected in Data coming to GT.
Definition at line 177 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
board maps - cache only the record
Definition at line 106 of file L1TGlobalProducer.h.
|
private |
Definition at line 107 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 66 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 67 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
|
private |
Definition at line 94 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
prescale factors
Definition at line 111 of file L1TGlobalProducer.h.
|
private |
Definition at line 112 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
cached stuff
stable parameters
Definition at line 62 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 63 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
trigger masks & veto masks
Definition at line 124 of file L1TGlobalProducer.h.
|
private |
Definition at line 125 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 127 of file L1TGlobalProducer.h.
|
private |
Definition at line 128 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
input tag for muon collection from GMT
Definition at line 147 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 148 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 78 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 81 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 84 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
number of objects of each type { Mu, NoIsoEG, IsoEG, Jet, Tau, ETM, ETT, HTT, JetCounts };
Definition at line 77 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 79 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
number of DAQ partitions
Definition at line 73 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
number of physics triggers
Definition at line 70 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 116 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
prescale set used
Definition at line 188 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
CSV file for prescales.
Definition at line 120 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
logical flag to produce the L1 GT DAQ readout record
Definition at line 162 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
logical flag to produce the L1 GT object map record
Definition at line 165 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
length of BST record (in bytes) from parameter set
Definition at line 184 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().
|
private |
Definition at line 155 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 153 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
total number of Bx's in the event coming from EventSetup
Definition at line 97 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), and produce().
|
private |
Definition at line 131 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 134 of file L1TGlobalProducer.h.
Referenced by produce().
|
private |
Definition at line 144 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer(), produce(), and ~L1TGlobalProducer().
|
private |
verbosity level
Definition at line 203 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 168 of file L1TGlobalProducer.h.
Referenced by L1TGlobalProducer().