5#ifndef CALOTRIGGERTOOL_CALOTTONATTRIDMAP_H
6#define CALOTRIGGERTOOL_CALOTTONATTRIDMAP_H
11#include "Identifier/Identifier.h"
std::vector< CaloTTOnAttrId_t > CaloTTOnAttrId
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
unsigned int pos_neg(HWIdentifier channelId) const
return 0 for z<0 channels and 1 for z>0 channels
void convert_to_P(const CaloTTOnAttrId &t)
CaloTTOnAttrId_P * getP()
return the persistified map
std::map< HWIdentifier, AttrStruct > m_on2attrIdMap
void set(const PDATA &t)
initialize from Nova
unsigned int barrel_endcap_fcal(HWIdentifier channelId) const
To know if a channel belongs to the barrel, end cap or fcal parts.
unsigned int module_type(HWIdentifier channelId) const
To get the type of the module connected to the channel:
void convert_to_D(const CaloTTOnAttrId_P &t, CaloTTOnAttrId &d)
CaloTTOnAttrId_P m_persData
unsigned int em_had(HWIdentifier channelId) const
return the corresponding sampling of channelId:
This is a database object holding the TT online-attribute map.
This is a StoreGate object holding the TT online-attribute map.
unsigned int barrel_endcap_fcal