#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 21 of file CSCToAFEB.h.
References mps_fire::i, dqmiolumiharvest::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.
References nano_mu_digi_cff::layer, and nano_mu_digi_cff::wire.
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, nano_mu_digi_cff::layer, and nano_mu_digi_cff::wire.
Referenced by CSCAFEBThrAnalysis::analyze(), and CSCAFEBThrAnalysis::done().
int CSCToAFEB::getLayer | ( | int | afeb, |
int | channel | ||
) | const |
return layer number
Definition at line 27 of file CSCToAFEB.cc.
References cuy::col, and nano_mu_digi_cff::layer.
int CSCToAFEB::getMaxAfeb | ( | int | station, |
int | ring | ||
) | const |
return max. number of AFEBs
Definition at line 50 of file CSCToAFEB.cc.
References relativeConstraints::ring, and relativeConstraints::station.
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 53 of file CSCToAFEB.cc.
References relativeConstraints::ring, and relativeConstraints::station.
Referenced by CSCAFEBConnectAnalysis::analyze(), and CSCAFEBThrAnalysis::analyze().
int CSCToAFEB::getWireGroup | ( | int | afeb, |
int | channel | ||
) | const |
return wiregroup number
Definition at line 36 of file CSCToAFEB.cc.
References cuy::col, and nano_mu_digi_cff::wire.
void CSCToAFEB::print | ( | ) | const |
Print content.
|
private |
Definition at line 14 of file CSCToAFEB.h.
Referenced by CSCToAFEB().
|
private |
Definition at line 13 of file CSCToAFEB.h.
Referenced by CSCToAFEB().
|
private |
Definition at line 15 of file CSCToAFEB.h.
Referenced by CSCToAFEB().
|
private |
Definition at line 16 of file CSCToAFEB.h.
Referenced by CSCToAFEB().