5#ifndef CALOTRIGGERTOOL_CALOTTONOFFIDMAP_H
6#define CALOTRIGGERTOOL_CALOTTONOFFIDMAP_H
11#include "Identifier/Identifier.h"
std::vector< CaloTTOnOffId_t > CaloTTOnOffId
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is a StoreGate object holding the TT offline-online map.
CaloTTOnOffId_P * getP()
return the persistified map
std::map< Identifier, HWIdentifier > m_off2onIdMap
CaloTTOnOffId_P m_persData
void convert_to_D(const CaloTTOnOffId_P &t, CaloTTOnOffId &d)
void set(const PDATA &t)
initialize from Nova
std::map< HWIdentifier, Identifier > m_on2offIdMap
Identifier cnvToIdentifier(const HWIdentifier &sid, bool bQuiet=false) const
return the corresponfing offline Id of an online one
HWIdentifier createSignalChannelID(const Identifier &id, bool bQuiet=false) const
return the corresponfing online Id of an offline one
void convert_to_P(const CaloTTOnOffId &t)
This is a database object holding the TT online-offline map.