#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 getAfebCh(), getAfebPos(), getLayer(), getMaxAfeb(), getMaxWire(), getWireGroup(), mps_fire::i, print(), relativeConstraints::ring, and relativeConstraints::station.
int CSCToAFEB::getAfebCh | ( | int | layer, |
int | wiregroup | ||
) | const |
return AFEB channel number
Definition at line 14 of file CSCToAFEB.cc.
References mixOne_premix_on_sim_cfi::wire.
Referenced by CSCAFEBThrAnalysis::analyze(), CSCToAFEB(), 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, and mixOne_premix_on_sim_cfi::wire.
Referenced by CSCAFEBThrAnalysis::analyze(), CSCToAFEB(), 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.
Referenced by CSCToAFEB().
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(), CSCAFEBThrAnalysis::analyze(), and CSCToAFEB().
int CSCToAFEB::getWireGroup | ( | int | afeb, |
int | channel | ||
) | const |
return wiregroup number
Definition at line 35 of file CSCToAFEB.cc.
References cuy::col, and mixOne_premix_on_sim_cfi::wire.
Referenced by CSCToAFEB().
void CSCToAFEB::print | ( | ) | const |
Print content.
Referenced by CSCToAFEB().
|
private |
Definition at line 15 of file CSCToAFEB.h.
|
private |
Definition at line 14 of file CSCToAFEB.h.
|
private |
Definition at line 16 of file CSCToAFEB.h.
|
private |
Definition at line 17 of file CSCToAFEB.h.