#include <L1GtTriggerMenuConfigOnlineProd.h>
Classes | |
struct | TableMenuAlgo |
struct | TableMenuAlgoCond |
struct | TableMenuCond |
struct | TableMenuGeneral |
define simple structures to get the tables from DB More... | |
struct | TableMenuObjectParameters |
struct | TableMenuTechTrig |
Private Member Functions | |
void | addBptxCondition (const TableMenuCond &) |
void | addCaloCondition (const TableMenuCond &) |
void | addCastorCondition (const TableMenuCond &) |
void | addConditions () |
add the conditions from a menu to the corresponding list More... | |
void | addCorrelationCondition (const TableMenuCond &) |
void | addEnergySumCondition (const TableMenuCond &) |
void | addExternalCondition (const TableMenuCond &) |
void | addHfBitCountsCondition (const TableMenuCond &) |
void | addHfRingEtSumsCondition (const TableMenuCond &) |
void | addJetCountsCondition (const TableMenuCond &) |
void | addMuonCondition (const TableMenuCond &) |
void | buildAlgorithmMap () |
build the algorithm map in the menu More... | |
void | buildTechnicalTriggerMap () |
build the technical trigger map in the menu More... | |
int | chipNumber (short) const |
return the chip number for an algorithm with index bitNumberSh More... | |
const std::map< int, std::string > | condIndexNameMap (const short bitNr) const |
std::string | convertLogicalExpression (const std::string &, const std::map< int, std::string > &) const |
convert a logical expression with indices to a logical expression with names More... | |
void | fillCaloObjectParameter (const std::string &opFK, L1GtCaloTemplate::ObjectParameter &) |
void | fillEnergySumObjectParameter (const std::string &opFK, L1GtEnergySumTemplate::ObjectParameter &, const L1GtObject &) |
void | fillMuonObjectParameter (const std::string &opFK, L1GtMuonTemplate::ObjectParameter &) |
template<typename Result , typename Source > | |
Result | lexical_cast_from_hex (Source &value) const |
std::list< int > | listChipNumber (const std::string &) |
get a list of chip numbers from the m_tableMenuAlgoCond table for a condition More... | |
void | splitHexStringInTwo64bitWords (const std::string &hexStr, std::string &hex0WordStr, std::string &hex1WordStr) |
split a hex string in two 64-bit words returned as hex strings More... | |
L1GtConditionCategory | strToEnumCondCategory (const std::string &strCategory) |
string to enum L1GtConditionCategory conversion More... | |
L1GtConditionType | strToEnumCondType (const std::string &strType) |
string to enum L1GtConditionType conversion More... | |
L1GtObject | strToEnumL1GtObject (const std::string &strObject) |
string to enum L1GtObject conversion More... | |
bool | tableMenuAlgoCondFromDB (const std::string >Schema, const std::string &objKey) |
retrieve table with conditions associated to physics algorithms from DB More... | |
bool | tableMenuAlgoFromDB (const std::string >Schema, const std::string &objKey) |
retrieve table with physics algorithms from DB More... | |
bool | tableMenuCondFromDB (const std::string >Schema, const std::string &objKey) |
retrieve table with list of conditions in the menu More... | |
bool | tableMenuGeneralFromDB (const std::string >Schema, const std::string &objKey) |
methods to retrieve the tables from DB More... | |
bool | tableMenuObjectParametersFromDB (const std::string >Schema, const std::string &objKey) |
retrieve table with object parameters from DB More... | |
bool | tableMenuTechTrigFromDB (const std::string >Schema, const std::string &objKey) |
retrieve table with technical triggers from DB More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu > | |
bool | getObjectKey (const L1GtTriggerMenuRcd &record, std::string &objectKey) |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Protected Attributes inherited from L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu > | |
std::optional< edm::ESConsumesCollectorT< L1GtTriggerMenuRcd > > | m_consumesCollector |
bool | m_copyFromCondDB |
cond::persistency::Session | m_dbSession |
bool | m_forceGeneration |
l1t::OMDSReader | m_omdsReader |
Description: online producer for L1GtTriggerMenu.
Implementation: <TODO: enter implementation details>
Definition at line 47 of file L1GtTriggerMenuConfigOnlineProd.h.
L1GtTriggerMenuConfigOnlineProd::L1GtTriggerMenuConfigOnlineProd | ( | const edm::ParameterSet & | parSet | ) |
constructor
Definition at line 38 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
override |
|
private |
Definition at line 1364 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecBptxTemplate, getGTfromDQMFile::obj, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
Definition at line 1054 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtCaloTemplate::CorrelationParameter::deltaEtaRange, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaEtaRange, L1GtCaloTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtCaloTemplate::CorrelationParameter::deltaPhiRange, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaPhiRange, fillCaloObjectParameter(), L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecCaloTemplate, L1GtCondition::nrObjects(), getGTfromDQMFile::obj, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter1FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter2FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter3FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter4FK, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCaloTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), strToEnumL1GtObject(), and L1GtCondition::wsc().
Referenced by addConditions().
|
private |
Definition at line 1324 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecCastorTemplate, getGTfromDQMFile::obj, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
add the conditions from a menu to the corresponding list
Definition at line 1693 of file L1GtTriggerMenuConfigOnlineProd.cc.
References addBptxCondition(), addCaloCondition(), addCastorCondition(), addCorrelationCondition(), addEnergySumCondition(), addExternalCondition(), addHfBitCountsCondition(), addHfRingEtSumsCondition(), addJetCountsCondition(), addMuonCondition(), CondBptx, CondCalo, CondCastor, CondCorrelation, CondEnergySum, CondExternal, CondHfBitCounts, CondHfRingEtSums, CondJetCounts, CondMuon, CondNull, m_tableMenuCond, and strToEnumCondCategory().
Referenced by newObject().
|
private |
Definition at line 1444 of file L1GtTriggerMenuConfigOnlineProd.cc.
References BPTX, Castor, CenJet, L1GtMuonTemplate::CorrelationParameter::chargeCorrelation, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, CondCalo, CondEnergySum, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, CondMuon, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtCorrelationTemplate::CorrelationParameter::deltaEtaRange, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaEtaRange, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiRange, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaPhiRange, ETM, ETT, fillCaloObjectParameter(), fillEnergySumObjectParameter(), fillMuonObjectParameter(), ForJet, GtExternal, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject2, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, JetCounts, listChipNumber(), LogTrace, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_isDebugEnabled, m_vecCorrelationTemplate, Mu, NoIsoEG, getGTfromDQMFile::obj, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter1FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter2FK, electrons_cff::objType, push_back(), L1GtCorrelationTemplate::setCond0Category(), L1GtCorrelationTemplate::setCond0Index(), L1GtCorrelationTemplate::setCond1Category(), L1GtCorrelationTemplate::setCond1Index(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtEnergySumTemplate::setConditionParameter(), L1GtCaloTemplate::setConditionParameter(), L1GtMuonTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCorrelationTemplate::setCorrelationParameter(), L1GtCondition::setObjectType(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, strToEnumCondType(), strToEnumL1GtObject(), TauJet, TechTrig, Type1s, TypeETM, and TypeHTM.
Referenced by addConditions().
|
private |
Definition at line 1149 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, fillEnergySumObjectParameter(), L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecEnergySumTemplate, getGTfromDQMFile::obj, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter1FK, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtEnergySumTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
Definition at line 1404 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecExternalTemplate, getGTfromDQMFile::obj, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
Definition at line 1236 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countIndex, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countThreshold, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecHfBitCountsTemplate, getGTfromDQMFile::obj, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtHfBitCountsTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
Definition at line 1280 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countIndex, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countThreshold, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecHfRingEtSumsTemplate, getGTfromDQMFile::obj, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtHfRingEtSumsTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
Definition at line 1191 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countIndex, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countThreshold, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, listChipNumber(), LogTrace, m_isDebugEnabled, m_vecJetCountsTemplate, getGTfromDQMFile::obj, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtJetCountsTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), strToEnumCondType(), and strToEnumL1GtObject().
Referenced by addConditions().
|
private |
Definition at line 966 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtMuonTemplate::CorrelationParameter::chargeCorrelation, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::chargeCorrelation, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtMuonTemplate::CorrelationParameter::deltaEtaRange, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaEtaRange, L1GtMuonTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaPhiRange, L1GtMuonTemplate::CorrelationParameter::deltaPhiRange0Word, L1GtMuonTemplate::CorrelationParameter::deltaPhiRange1Word, fillMuonObjectParameter(), listChipNumber(), LogTrace, m_isDebugEnabled, m_vecMuonTemplate, Mu, L1GtCondition::nrObjects(), L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter1FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter2FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter3FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter4FK, electrons_cff::objType, push_back(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtMuonTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), splitHexStringInTwo64bitWords(), AlCaHLTBitMon_QueryRunRegistry::string, strToEnumCondType(), and L1GtCondition::wsc().
Referenced by addConditions().
|
private |
build the algorithm map in the menu
Definition at line 719 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1TBPTX_cfi::bitNumber, chipNumber(), condIndexNameMap(), convertLogicalExpression(), hltDoubleTkMuon157L1TkMuonFilter_cfi::logicalExpression, m_algorithmAliasMap, m_algorithmMap, m_tableMenuAlgo, L1GtAlgorithm::setAlgoAlias(), L1GtAlgorithm::setAlgoChipNumber(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by newObject().
|
private |
build the technical trigger map in the menu
Definition at line 747 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1TBPTX_cfi::bitNumber, hltDoubleTkMuon157L1TkMuonFilter_cfi::logicalExpression, m_tableMenuTechTrig, m_technicalTriggerMap, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by newObject().
|
private |
return the chip number for an algorithm with index bitNumberSh
Definition at line 699 of file L1GtTriggerMenuConfigOnlineProd.cc.
Referenced by buildAlgorithmMap(), and listChipNumber().
|
private |
return for an algorithm with bitNr the mapping between the integer index in logical expression and the condition name (FK)
Definition at line 662 of file L1GtTriggerMenuConfigOnlineProd.cc.
References LogTrace, m_isDebugEnabled, and m_tableMenuAlgoCond.
Referenced by buildAlgorithmMap().
|
private |
convert a logical expression with indices to a logical expression with names
Definition at line 687 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtLogicParser::convertIntToNameLogicalExpression(), L1GtLogicParser::logicalExpression(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by buildAlgorithmMap().
|
private |
Definition at line 1037 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtCaloTemplate::ObjectParameter::etaRange, L1GtCaloTemplate::ObjectParameter::etThreshold, m_tableMenuObjectParameters, and L1GtCaloTemplate::ObjectParameter::phiRange.
Referenced by addCaloCondition(), and addCorrelationCondition().
|
private |
Definition at line 1120 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtEnergySumTemplate::ObjectParameter::energyOverflow, ETM, L1GtEnergySumTemplate::ObjectParameter::etThreshold, HTM, m_tableMenuObjectParameters, getGTfromDQMFile::obj, L1GtEnergySumTemplate::ObjectParameter::phiRange0Word, L1GtEnergySumTemplate::ObjectParameter::phiRange1Word, splitHexStringInTwo64bitWords(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addCorrelationCondition(), and addEnergySumCondition().
|
private |
Definition at line 942 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtMuonTemplate::ObjectParameter::enableIso, L1GtMuonTemplate::ObjectParameter::enableMip, L1GtMuonTemplate::ObjectParameter::etaRange, m_tableMenuObjectParameters, L1GtMuonTemplate::ObjectParameter::phiHigh, L1GtMuonTemplate::ObjectParameter::phiLow, L1GtMuonTemplate::ObjectParameter::ptHighThreshold, L1GtMuonTemplate::ObjectParameter::ptLowThreshold, L1GtMuonTemplate::ObjectParameter::qualityRange, and L1GtMuonTemplate::ObjectParameter::requestIso.
Referenced by addCorrelationCondition(), and addMuonCondition().
void L1GtTriggerMenuConfigOnlineProd::init | ( | const int | numberConditionChips | ) |
initialize the class (mainly reserve/resize)
Definition at line 51 of file L1GtTriggerMenuConfigOnlineProd.cc.
References m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_vecBptxTemplate, m_vecCaloTemplate, m_vecCastorTemplate, m_vecCorrelationTemplate, m_vecEnergySumTemplate, m_vecExternalTemplate, m_vecHfBitCountsTemplate, m_vecHfRingEtSumsTemplate, m_vecJetCountsTemplate, and m_vecMuonTemplate.
Referenced by newObject().
|
private |
Definition at line 258 of file L1GtTriggerMenuConfigOnlineProd.h.
References cppFunctionSkipper::exception, mps_fire::result, and relativeConstraints::value.
|
private |
get a list of chip numbers from the m_tableMenuAlgoCond table for a condition
Definition at line 926 of file L1GtTriggerMenuConfigOnlineProd.cc.
References chipNumber(), and m_tableMenuAlgoCond.
Referenced by addBptxCondition(), addCaloCondition(), addCastorCondition(), addCorrelationCondition(), addEnergySumCondition(), addExternalCondition(), addHfBitCountsCondition(), addHfRingEtSumsCondition(), addJetCountsCondition(), and addMuonCondition().
|
overridevirtual |
public methods
Implements L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >.
Definition at line 71 of file L1GtTriggerMenuConfigOnlineProd.cc.
References addConditions(), L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::algoImplTag, buildAlgorithmMap(), buildTechnicalTriggerMap(), init(), edm::isDebugEnabled(), LogTrace, m_algorithmAliasMap, m_algorithmMap, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_isDebugEnabled, m_tableMenuGeneral, m_technicalTriggerMap, m_vecBptxTemplate, m_vecCaloTemplate, m_vecCastorTemplate, m_vecCorrelationTemplate, m_vecEnergySumTemplate, m_vecExternalTemplate, m_vecHfBitCountsTemplate, m_vecHfRingEtSumsTemplate, m_vecJetCountsTemplate, m_vecMuonTemplate, L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::menuImplementation, L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::menuInterface, L1TriggerKeyDummy_cfi::objectKey, L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::scalesKey, AlCaHLTBitMon_QueryRunRegistry::string, tableMenuAlgoCondFromDB(), tableMenuAlgoFromDB(), tableMenuCondFromDB(), tableMenuGeneralFromDB(), tableMenuObjectParametersFromDB(), tableMenuTechTrigFromDB(), and verbosity.
|
private |
split a hex string in two 64-bit words returned as hex strings
Definition at line 895 of file L1GtTriggerMenuConfigOnlineProd.cc.
References LogTrace.
Referenced by addMuonCondition(), and fillEnergySumObjectParameter().
|
private |
string to enum L1GtConditionCategory conversion
Definition at line 771 of file L1GtTriggerMenuConfigOnlineProd.cc.
References CondBptx, CondCalo, CondCastor, CondCorrelation, CondEnergySum, CondExternal, CondHfBitCounts, CondHfRingEtSums, CondJetCounts, CondMuon, and CondNull.
Referenced by addConditions().
|
private |
string to enum L1GtConditionType conversion
Definition at line 805 of file L1GtTriggerMenuConfigOnlineProd.cc.
References Type1s, Type2cor, Type2s, Type2wsc, Type3s, Type4s, TypeBptx, TypeCastor, TypeETM, TypeETT, TypeExternal, TypeHfBitCounts, TypeHfRingEtSums, TypeHTM, TypeHTT, TypeJetCounts, and TypeNull.
Referenced by addBptxCondition(), addCaloCondition(), addCastorCondition(), addCorrelationCondition(), addEnergySumCondition(), addExternalCondition(), addHfBitCountsCondition(), addHfRingEtSumsCondition(), addJetCountsCondition(), and addMuonCondition().
|
private |
string to enum L1GtObject conversion
Definition at line 849 of file L1GtTriggerMenuConfigOnlineProd.cc.
References BPTX, Castor, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, JetCounts, Mu, NoIsoEG, TauJet, and TechTrig.
Referenced by addBptxCondition(), addCaloCondition(), addCastorCondition(), addCorrelationCondition(), addEnergySumCondition(), addExternalCondition(), addHfBitCountsCondition(), addHfRingEtSumsCondition(), and addJetCountsCondition().
|
private |
retrieve table with conditions associated to physics algorithms from DB
Definition at line 306 of file L1GtTriggerMenuConfigOnlineProd.cc.
References l1t::OMDSReader::basicQueryView(), L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond::bitNumberSh, l1t::OMDSReader::columnNamesView(), L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond::condFK, L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond::condIndexF, l1t::OMDSReader::QueryResults::fillVariableFromRow(), LogTrace, m_isDebugEnabled, L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >::m_omdsReader, m_tableMenuAlgoCond, l1t::OMDSReader::QueryResults::numberRows(), L1TriggerKeyDummy_cfi::objectKey, l1t::OMDSReader::QueryResults::queryFailed(), and l1t::OMDSReader::singleAttribute().
Referenced by newObject().
|
private |
retrieve table with physics algorithms from DB
Definition at line 238 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::algAlias, L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::algName, l1t::OMDSReader::basicQueryView(), L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::bitNumberSh, l1t::OMDSReader::columnNamesView(), l1t::OMDSReader::QueryResults::fillVariableFromRow(), L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::logExpression, LogTrace, m_isDebugEnabled, L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >::m_omdsReader, m_tableMenuAlgo, l1t::OMDSReader::QueryResults::numberRows(), L1TriggerKeyDummy_cfi::objectKey, l1t::OMDSReader::QueryResults::queryFailed(), and l1t::OMDSReader::singleAttribute().
Referenced by newObject().
|
private |
retrieve table with list of conditions in the menu
Definition at line 378 of file L1GtTriggerMenuConfigOnlineProd.cc.
References l1t::OMDSReader::basicQueryView(), L1GtTriggerMenuConfigOnlineProd::TableMenuCond::chargeCorrelation, l1t::OMDSReader::columnNamesView(), L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condCategory, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countIndex, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countThreshold, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaEtaRange, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaPhiRange, l1t::OMDSReader::QueryResults::fillVariableFromRow(), L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject2, LogTrace, m_isDebugEnabled, L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >::m_omdsReader, m_tableMenuCond, l1t::OMDSReader::QueryResults::numberRows(), L1TriggerKeyDummy_cfi::objectKey, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter1FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter2FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter3FK, L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter4FK, l1t::OMDSReader::QueryResults::queryFailed(), and l1t::OMDSReader::singleAttribute().
Referenced by newObject().
|
private |
methods to retrieve the tables from DB
retrieve table with general menu parameters from DB
Definition at line 175 of file L1GtTriggerMenuConfigOnlineProd.cc.
References L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::algoImplTag, l1t::OMDSReader::basicQueryView(), l1t::OMDSReader::columnNamesView(), mps_check::columns, LogTrace, m_isDebugEnabled, L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >::m_omdsReader, m_tableMenuGeneral, L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::menuImplementation, L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::menuInterface, L1TriggerKeyDummy_cfi::objectKey, mysort::results, L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::scalesKey, and l1t::OMDSReader::singleAttribute().
Referenced by newObject().
|
private |
retrieve table with object parameters from DB
Definition at line 490 of file L1GtTriggerMenuConfigOnlineProd.cc.
References l1t::OMDSReader::basicQueryView(), L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::charge, l1t::OMDSReader::columnNamesView(), L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::enableIso, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::enableMip, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::energyOverflow, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::etaRange, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::etThreshold, l1t::OMDSReader::QueryResults::fillVariableFromRow(), LogTrace, m_isDebugEnabled, L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >::m_omdsReader, m_tableMenuObjectParameters, l1t::OMDSReader::QueryResults::numberRows(), L1TriggerKeyDummy_cfi::objectKey, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::opId, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::phiHigh, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::phiLow, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::phiRange, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::ptHighThreshold, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::ptLowThreshold, L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::qualityRange, l1t::OMDSReader::QueryResults::queryFailed(), L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::requestIso, and l1t::OMDSReader::singleAttribute().
Referenced by newObject().
|
private |
retrieve table with technical triggers from DB
Definition at line 596 of file L1GtTriggerMenuConfigOnlineProd.cc.
References l1t::OMDSReader::basicQueryView(), L1GtTriggerMenuConfigOnlineProd::TableMenuTechTrig::bitNumberSh, l1t::OMDSReader::columnNamesView(), l1t::OMDSReader::QueryResults::fillVariableFromRow(), LogTrace, m_isDebugEnabled, L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >::m_omdsReader, m_tableMenuTechTrig, l1t::OMDSReader::QueryResults::numberRows(), L1TriggerKeyDummy_cfi::objectKey, l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), and L1GtTriggerMenuConfigOnlineProd::TableMenuTechTrig::techName.
Referenced by newObject().
|
private |
map containing the physics algorithms (by alias)
Definition at line 248 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by buildAlgorithmMap(), and newObject().
|
private |
map containing the physics algorithms (by name)
Definition at line 245 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by buildAlgorithmMap(), and newObject().
|
private |
Definition at line 241 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addCorrelationCondition(), init(), and newObject().
|
private |
Definition at line 242 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addCorrelationCondition(), init(), and newObject().
|
private |
Definition at line 240 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addCorrelationCondition(), init(), and newObject().
|
private |
Definition at line 254 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addBptxCondition(), addCaloCondition(), addCastorCondition(), addCorrelationCondition(), addEnergySumCondition(), addExternalCondition(), addHfBitCountsCondition(), addHfRingEtSumsCondition(), addJetCountsCondition(), addMuonCondition(), condIndexNameMap(), newObject(), tableMenuAlgoCondFromDB(), tableMenuAlgoFromDB(), tableMenuCondFromDB(), tableMenuGeneralFromDB(), tableMenuObjectParametersFromDB(), and tableMenuTechTrigFromDB().
|
private |
menu associated scale key
Definition at line 225 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 210 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by buildAlgorithmMap(), and tableMenuAlgoFromDB().
|
private |
Definition at line 211 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by condIndexNameMap(), listChipNumber(), and tableMenuAlgoCondFromDB().
|
private |
Definition at line 212 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addConditions(), and tableMenuCondFromDB().
|
private |
member to keep various tables retrieved from DB
Definition at line 209 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by newObject(), and tableMenuGeneralFromDB().
|
private |
Definition at line 213 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by fillCaloObjectParameter(), fillEnergySumObjectParameter(), fillMuonObjectParameter(), and tableMenuObjectParametersFromDB().
|
private |
Definition at line 214 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by buildTechnicalTriggerMap(), and tableMenuTechTrigFromDB().
|
private |
map containing the technical triggers
Definition at line 251 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by buildTechnicalTriggerMap(), and newObject().
|
private |
Definition at line 222 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
|
private |
Definition at line 221 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 236 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addBptxCondition(), init(), and newObject().
|
private |
Definition at line 230 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addCaloCondition(), init(), and newObject().
|
private |
Definition at line 233 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addCastorCondition(), init(), and newObject().
|
private |
Definition at line 239 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addCorrelationCondition(), init(), and newObject().
|
private |
Definition at line 231 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addEnergySumCondition(), init(), and newObject().
|
private |
Definition at line 237 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addExternalCondition(), init(), and newObject().
|
private |
Definition at line 234 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addHfBitCountsCondition(), init(), and newObject().
|
private |
Definition at line 235 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addHfRingEtSumsCondition(), init(), and newObject().
|
private |
Definition at line 232 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addJetCountsCondition(), init(), and newObject().
|
private |
vectors containing the conditions explicit, due to persistency...
Definition at line 229 of file L1GtTriggerMenuConfigOnlineProd.h.
Referenced by addMuonCondition(), init(), and newObject().