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