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