#include <CSCReadoutMappingForSliceTest.h>
|
| CSCReadoutMappingForSliceTest () |
| Constructor. More...
|
|
virtual | ~CSCReadoutMappingForSliceTest () |
| Destructor. More...
|
|
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...
|
|
virtual void | fill (const edm::ParameterSet &)=0 |
|
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...
|
|
|
int | hwId (int endcap, int station, int vme, int dmb, int tmb) const |
|
- Author
- Tim Cox A CSCReadoutMapping using encoding of hardware labels appropriate for CSC Slice Test from Winter 2005 to Summer 2006 (at least).
Definition at line 13 of file CSCReadoutMappingForSliceTest.h.
CSCReadoutMappingForSliceTest::CSCReadoutMappingForSliceTest |
( |
| ) |
|
CSCReadoutMappingForSliceTest::~CSCReadoutMappingForSliceTest |
( |
| ) |
|
|
virtual |
int CSCReadoutMappingForSliceTest::hwId |
( |
int |
endcap, |
|
|
int |
station, |
|
|
int |
vme, |
|
|
int |
dmb, |
|
|
int |
tmb |
|
) |
| const |
|
privatevirtual |
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.
16 id = vmecrate * 16 + dmb;