#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 | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair < DataKey, edm::propagate_const < std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector < EventSetupRecordKey > | Keys |
typedef std::map < EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu > | |
bool | getObjectKey (const L1GtTriggerMenuRcd &record, boost::shared_ptr< L1GtTriggerMenu > data, std::string &objectKey) |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Protected Attributes inherited from L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu > | |
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 48 of file L1GtTriggerMenuConfigOnlineProd.h.
L1GtTriggerMenuConfigOnlineProd::L1GtTriggerMenuConfigOnlineProd | ( | const edm::ParameterSet & | parSet | ) |
constructor
Definition at line 41 of file L1GtTriggerMenuConfigOnlineProd.cc.
L1GtTriggerMenuConfigOnlineProd::~L1GtTriggerMenuConfigOnlineProd | ( | ) |
destructor
Definition at line 50 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1554 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1221 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1511 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
add the conditions from a menu to the corresponding list
Definition at line 1926 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1644 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1323 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1599 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1417 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1464 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1369 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1126 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
build the algorithm map in the menu
Definition at line 858 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
build the technical trigger map in the menu
Definition at line 891 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
return the chip number for an algorithm with index bitNumberSh
Definition at line 836 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
return for an algorithm with bitNr the mapping between the integer index in logical expression and the condition name (FK)
Definition at line 788 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
convert a logical expression with indices to a logical expression with names
Definition at line 822 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1202 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1292 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 1100 of file L1GtTriggerMenuConfigOnlineProd.cc.
void L1GtTriggerMenuConfigOnlineProd::init | ( | const int | numberConditionChips | ) |
initialize the class (mainly reserve/resize)
Definition at line 59 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
Definition at line 276 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
get a list of chip numbers from the m_tableMenuAlgoCond table for a condition
Definition at line 1082 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
virtual |
public methods
Implements L1ConfigOnlineProdBase< L1GtTriggerMenuRcd, L1GtTriggerMenu >.
Definition at line 82 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
split a hex string in two 64-bit words returned as hex strings
Definition at line 1051 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
string to enum L1GtConditionCategory conversion
Definition at line 918 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
string to enum L1GtConditionType conversion
Definition at line 955 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
string to enum L1GtObject conversion
Definition at line 1002 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
retrieve table with conditions associated to physics algorithms from DB
Definition at line 358 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
retrieve table with physics algorithms from DB
Definition at line 275 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
retrieve table with list of conditions in the menu
Definition at line 441 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
methods to retrieve the tables from DB
retrieve table with general menu parameters from DB
Definition at line 201 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
retrieve table with object parameters from DB
Definition at line 578 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
retrieve table with technical triggers from DB
Definition at line 706 of file L1GtTriggerMenuConfigOnlineProd.cc.
|
private |
map containing the physics algorithms (by alias)
Definition at line 261 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
map containing the physics algorithms (by name)
Definition at line 258 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 254 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 255 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 253 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 268 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
menu associated scale key
Definition at line 238 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 222 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 223 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 224 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
member to keep various tables retrieved from DB
Definition at line 221 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 225 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 226 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
map containing the technical triggers
Definition at line 264 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 235 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
|
private |
Definition at line 234 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 249 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 243 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 246 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 252 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 244 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 250 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 247 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 248 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
Definition at line 245 of file L1GtTriggerMenuConfigOnlineProd.h.
|
private |
vectors containing the conditions explicit, due to persistency...
Definition at line 242 of file L1GtTriggerMenuConfigOnlineProd.h.