1 #ifndef CondFormats_L1TObjects_L1TriggerKey_h 2 #define CondFormats_L1TObjects_L1TriggerKey_h 57 {
m_recordToKey.insert (std::make_pair (record +
"@" + type, key.empty() ? kNullKey :
key)); }
61 for( RecordToKey::const_iterator itr = map.begin() ;
65 m_recordToKey.insert( std::make_pair( itr->first, itr->second.empty() ? kNullKey : itr->second ) ) ;
84 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