1 #ifndef CondFormats_RPCObjects_L1RPCHwConfig_h 2 #define CondFormats_RPCObjects_L1RPCHwConfig_h 71 return m_disabledDevices.find(
L1RPCDevCoords(tower, sector, segment)) == m_disabledDevices.end();
75 return m_disabledDevices.end() == m_disabledDevices.find(
L1RPCDevCoords(tower, PAC / 12, PAC % 12));
78 void enablePAC(
int tower,
int sector,
int segment,
bool enable);
80 void enableTower(
int tower,
bool enable);
82 void enableTowerInCrate(
int tower,
int crate,
bool enable);
84 void enableCrate(
int logSector,
bool enable);
86 void enableAll(
bool enable);
88 int size()
const {
return m_disabledDevices.size(); };
90 for (std::set<L1RPCDevCoords>::const_iterator it = m_disabledDevices.begin(); it != m_disabledDevices.end(); ++it) {
bool isActive(int tower, int PAC) const
L1RPCDevCoords(int tower, int sector, int segment)
bool isActive(int tower, int sector, int segment) const
bool operator<(const L1RPCDevCoords &l2) const
std::string toString() const
std::set< L1RPCDevCoords > m_disabledDevices
#define COND_SERIALIZABLE
bool operator==(const L1RPCDevCoords &l2) const