#include <src/L1Trigger/GlobalCaloTrigger/src/L1GctEmulator.h>
Public Types | |
typedef L1GlobalCaloTrigger::lutPtr | lutPtr |
typedefs More... | |
typedef L1GlobalCaloTrigger::lutPtrVector | lutPtrVector |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
L1GctEmulator (const edm::ParameterSet &ps) | |
constructor More... | |
~L1GctEmulator () | |
destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 (const std::string &iProcessName, std::vector< const char * > &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 () |
Private Member Functions | |
void | beginJob () |
int | configureGct (const edm::EventSetup &c) |
void | endJob () |
void | produce (edm::Event &e, const edm::EventSetup &c) |
Private Attributes | |
std::string | m_conditionsLabel |
L1GlobalCaloTrigger * | m_gct |
std::string | m_inputLabel |
lutPtrVector | m_jetEtCalibLuts |
bool | m_verbose |
bool | m_writeInternalData |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Description: Framework module that runs the GCT bit-level emulator
Implementation: An EDProducer that contains an instance of L1GlobalCaloTrigger.
Definition at line 29 of file L1GctEmulator.h.
typedefs
Definition at line 33 of file L1GctEmulator.h.
Definition at line 34 of file L1GctEmulator.h.
|
explicit |
constructor
Definition at line 39 of file L1GctEmulator.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), L1GctJetLeafCard::hardwareJetFinder, beam_dqm_sourceclient-live_cfg::inputTag, m_gct, m_inputLabel, m_jetEtCalibLuts, m_verbose, L1GctJetFinderParams::NUMBER_ETA_VALUES, L1GlobalCaloTrigger::print(), L1GlobalCaloTrigger::setBxRange(), L1GlobalCaloTrigger::setupTauAlgo(), AlCaHLTBitMon_QueryRunRegistry::string, and L1GctJetLeafCard::tdrJetFinder.
L1GctEmulator::~L1GctEmulator | ( | ) |
|
privatevirtual |
|
private |
Definition at line 127 of file L1GctEmulator.cc.
References edm::EventSetup::get(), m_conditionsLabel, m_gct, m_jetEtCalibLuts, m_verbose, edm::ESHandle< class >::product(), L1GlobalCaloTrigger::setChannelMask(), L1GlobalCaloTrigger::setHtMissScale(), L1GlobalCaloTrigger::setJetEtCalibrationLuts(), L1GlobalCaloTrigger::setJetFinderParams(), L1GlobalCaloTrigger::setupHfSumLuts(), and summarizeEdmComparisonLogfiles::success.
Referenced by produce().
|
privatevirtual |
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 199 of file L1GctEmulator.cc.
References configureGct(), L1GlobalCaloTrigger::fillEmCands(), L1GlobalCaloTrigger::fillRegions(), edm::Event::getByLabel(), L1GlobalCaloTrigger::getCentralJets(), L1GlobalCaloTrigger::getEtHadCollection(), L1GlobalCaloTrigger::getEtMissCollection(), L1GlobalCaloTrigger::getEtSumCollection(), L1GlobalCaloTrigger::getForwardJets(), L1GlobalCaloTrigger::getHFBitCountsCollection(), L1GlobalCaloTrigger::getHFRingEtSumsCollection(), L1GlobalCaloTrigger::getHtMissCollection(), L1GlobalCaloTrigger::getInternalEtSums(), L1GlobalCaloTrigger::getInternalHtMiss(), L1GlobalCaloTrigger::getInternalJets(), L1GlobalCaloTrigger::getIsoElectrons(), L1GlobalCaloTrigger::getNonIsoElectrons(), L1GlobalCaloTrigger::getTauJets(), edm::HandleBase::isValid(), m_gct, m_inputLabel, m_verbose, m_writeInternalData, L1GlobalCaloTrigger::process(), edm::Event::put(), and L1GlobalCaloTrigger::reset().
|
private |
Definition at line 65 of file L1GctEmulator.h.
Referenced by configureGct().
|
private |
Definition at line 53 of file L1GctEmulator.h.
Referenced by configureGct(), L1GctEmulator(), produce(), and ~L1GctEmulator().
|
private |
Definition at line 50 of file L1GctEmulator.h.
Referenced by L1GctEmulator(), and produce().
|
private |
Definition at line 56 of file L1GctEmulator.h.
Referenced by configureGct(), and L1GctEmulator().
|
private |
Definition at line 62 of file L1GctEmulator.h.
Referenced by configureGct(), L1GctEmulator(), and produce().
|
private |
Definition at line 59 of file L1GctEmulator.h.
Referenced by produce().