#include <CSCToAFEB.h>
Public Member Functions | |
CSCToAFEB () | |
Constructor. More... | |
int | getAfebCh (int layer, int wiregroup) const |
return AFEB channel number More... | |
int | getAfebPos (int layer, int wiregroup) const |
return AFEB position number More... | |
int | getLayer (int afeb, int channel) const |
return layer number More... | |
int | getMaxAfeb (int station, int ring) const |
return max. number of AFEBs More... | |
int | getMaxWire (int station, int ring) const |
return max. number of wiregroups per layer More... | |
int | getWireGroup (int afeb, int channel) const |
return wiregroup number More... | |
void | print () const |
Print content. More... | |
Private Attributes | |
int | layer_wire_to_board_ [6][8] |
int | layer_wire_to_channel_ [6][8] |
int | station_ring_to_nmxafeb_ [4][3] |
int | station_ring_to_nmxwire_ [4][3] |
CSC layer, wire vs AFEB channel map.
Definition at line 11 of file CSCToAFEB.h.
|
inline |
Constructor.
Definition at line 22 of file CSCToAFEB.h.
References i, j, layer_wire_to_board_, layer_wire_to_channel_, station_ring_to_nmxafeb_, and station_ring_to_nmxwire_.
int CSCToAFEB::getAfebCh | ( | int | layer, |
int | wiregroup | ||
) | const |
return AFEB channel number
Definition at line 14 of file CSCToAFEB.cc.
Referenced by CSCAFEBThrAnalysis::analyze(), and CSCAFEBThrAnalysis::done().
int CSCToAFEB::getAfebPos | ( | int | layer, |
int | wiregroup | ||
) | const |
return AFEB position number
Definition at line 20 of file CSCToAFEB.cc.
References cuy::col.
Referenced by CSCAFEBThrAnalysis::analyze(), and CSCAFEBThrAnalysis::done().
int CSCToAFEB::getLayer | ( | int | afeb, |
int | channel | ||
) | const |
int CSCToAFEB::getMaxAfeb | ( | int | station, |
int | ring | ||
) | const |
int CSCToAFEB::getMaxWire | ( | int | station, |
int | ring | ||
) | const |
return max. number of wiregroups per layer
return max. number of wiregroups per plane
Definition at line 50 of file CSCToAFEB.cc.
Referenced by CSCAFEBConnectAnalysis::analyze(), and CSCAFEBThrAnalysis::analyze().
int CSCToAFEB::getWireGroup | ( | int | afeb, |
int | channel | ||
) | const |
void CSCToAFEB::print | ( | ) | const |
Print content.
|
private |
Definition at line 15 of file CSCToAFEB.h.
Referenced by CSCToAFEB().
|
private |
Definition at line 14 of file CSCToAFEB.h.
Referenced by CSCToAFEB().
|
private |
Definition at line 16 of file CSCToAFEB.h.
Referenced by CSCToAFEB().
|
private |
Definition at line 17 of file CSCToAFEB.h.
Referenced by CSCToAFEB().