#include <TKRmap.h>
Inheritance diagram for TKRmap:
Public Member Functions | |
virtual unsigned | layer (LATtypeId ebfId, unsigned cc, unsigned rc) const |
Map cable controller and readout control number to layer number. | |
virtual unsigned | layerEnd (LATtypeId ebfId, unsigned cc, unsigned rc) const |
Map cable controller and readout control number to layer-end. |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Map cable controller and readout control number to layer number. This method maps electronics space to detector space. This is used by the strip iterator to provide the layer number to the user's strip() virtual function. Layer runs from 0 to 35 and so doesn't indicate which side (which cable) a strip hit was read from.
|
|
Map cable controller and readout control number to layer-end. This method provides an opportunity to remap layerEnd number. This could be done based on the protocol version number, for example. LayerEnd runs from 0 to 71 and is used to provide addressing information to the TOT() virtual function. This value contains information indicating which side (which cable) a TOT value was read from. Divide layerEnd by 9 to retrieve the cable number. LayerEnd 9 gives the GTRC number on the cable that read out the TOT. LayerEnd / 2 is the layer (uniplane) number in the sense of LAT-TD-00376. The lowest bit of layerEnd addresses the low/high end.
|