1 #ifndef CondFormats_CSCReadoutMapping_h
2 #define CondFormats_CSCReadoutMapping_h
41 int vmecrate,
int dmb,
int tmb,
int tsector,
int cscid,
int ddu,
int dcc )
98 int vmecrate,
int dmb,
int tmb,
int tsector,
int cscid,
int ddu,
int dcc );
108 bool debugV(
void )
const {
return debugV_; }
123 virtual int hwId(
int endcap,
int station,
int vme,
int dmb,
int tmb )
const = 0;
std::vector< CSCLabel > mapping_
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
bool debugV_ COND_TRANSIENT
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
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
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::string myName_ COND_TRANSIENT
CSCReadoutMapping()
Default constructor.
std::map< int, int > hw2sw_ COND_TRANSIENT
virtual void fill(const edm::ParameterSet &)=0
int dduId(const CSCDetId &) const
returns DDU# given CSCDetId
std::map< int, CSCLabel > sw2hw_
virtual ~CSCReadoutMapping()
Destructor.