1 #ifndef CondFormats_L1TObjects_L1TriggerKey_h 2 #define CondFormats_L1TObjects_L1TriggerKey_h 43 m_recordToKey.insert(std::make_pair(record +
"@" + type, key.empty() ? kNullKey :
key));
47 for (RecordToKey::const_iterator itr = map.begin(); itr != map.end(); ++itr) {
48 m_recordToKey.insert(std::make_pair(itr->first, itr->second.empty() ? kNullKey : itr->second));
66 return it->second == kNullKey ? kEmptyKey : it->second;
static const std::string kEmptyKey
void add(const RecordToKey &map)
std::map< std::string, std::string > RecordToKey
static const std::string kNullKey
RecordToKey m_recordToKey
void setTSCKey(const std::string &tscKey)
void add(const std::string &record, const std::string &type, const std::string &key)
const RecordToKey & recordToKeyMap() const
std::string m_subsystemKeys[kNumberSubsystems]
#define COND_SERIALIZABLE
const std::string & tscKey() const
void setSubsystemKey(L1Subsystems subsystem, const std::string &key)
const std::string & subsystemKey(L1Subsystems subsystem) const