#include <CSCReadoutMappingForSliceTest.h>
Public Member Functions | |
CSCReadoutMappingForSliceTest () | |
Constructor. More... | |
~CSCReadoutMappingForSliceTest () override | |
Destructor. More... | |
Public Member Functions inherited from CSCReadoutMapping | |
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 | chamber (int endcap, int station, int vmecrate, int dmb, int tmb) const |
int | crate (const CSCDetId &) const |
returns vmecrate given CSCDetId More... | |
CSCReadoutMapping () | |
Default constructor. More... | |
int | dccId (const CSCDetId &) const |
returns DCC# given CSCDetId More... | |
int | dduId (const CSCDetId &) const |
returns DDU# given CSCDetId More... | |
bool | debugV (void) const |
CSCDetId | detId (int endcap, int station, int vmecrate, int dmb, int tmb, int cfeb, int layer=0) const |
int | dmbId (const CSCDetId &) const |
returns dmbId given CSCDetId More... | |
CSCLabel | findHardwareId (const CSCDetId &) const |
returns hardware ids given chamber id More... | |
const std::string & | myName (void) const |
void | setDebugV (bool dbg) |
virtual | ~CSCReadoutMapping () |
Destructor. More... | |
Private Member Functions | |
int | hwId (int endcap, int station, int vme, int dmb, int tmb) const override |
Definition at line 13 of file CSCReadoutMappingForSliceTest.h.
CSCReadoutMappingForSliceTest::CSCReadoutMappingForSliceTest | ( | ) |
|
override |
|
overrideprivatevirtual |
Build a unique integer out of the readout electronics labels.
In general this must depend on endcap and station, as well as vme crate number and dmb slot number. In principle perhaps tmb slot number might not be neighbour of dmb? But for slice test (Nov-2005 on) only relevant labels are vme and dmb.
Implements CSCReadoutMapping.
Definition at line 10 of file CSCReadoutMappingForSliceTest.cc.
References l1ctLayer2EG_cff::id.