1 #ifndef CondFormats_CSCReadoutMapping_h
2 #define CondFormats_CSCReadoutMapping_h
int chamber(int endcap, int station, int vmecrate, int dmb, int tmb) const
int swId(int endcap, int station, int ring, int chamber) const
int dmbId(const CSCDetId &) const
returns dmbId given CSCDetId
CSCLabel findHardwareId(const CSCDetId &) const
returns hardware ids given chamber id
virtual int hwId(int endcap, int station, int vme, int dmb, int tmb) const =0
CSCDetId detId(int endcap, int station, int vmecrate, int dmb, int tmb, int cfeb, int layer=0) const
constexpr std::array< uint8_t, layerIndexSize > layer
CSCLabel(int endcap, int station, int ring, int chamber, int vmecrate, int dmb, int tmb, int tsector, int cscid, int ddu, int dcc)
const std::string & myName(void) const
std::vector< CSCLabel > mapping_
int crate(const CSCDetId &) const
returns vmecrate given CSCDetId
void addRecord(int endcap, int station, int ring, int chamber, int vmecrate, int dmb, int tmb, int tsector, int cscid, int ddu, int dcc)
int dccId(const CSCDetId &) const
returns DCC# given CSCDetId
std::map< int, CSCLabel > sw2hw_
std::map< int, int > hw2sw_
CSCReadoutMapping()
Default constructor.
#define COND_SERIALIZABLE
int dduId(const CSCDetId &) const
returns DDU# given CSCDetId
virtual ~CSCReadoutMapping()
Destructor.