Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TKRmap Class Reference

Class for mapping a TKR contribution from electronics space to detector space. More...

#include <TKRmap.h>

Inheritance diagram for TKRmap:

Inheritance graph
[legend]
Collaboration diagram for TKRmap:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

Class for mapping a TKR contribution from electronics space to detector space.

Author:
R. Claus -- GLAST LAT I&T/Online - (claus@slac.stanford.edu)
Revision
1.2
Date:
February 24, 2004 -- Created
Id
TKRmap.h,v 1.2 2004/04/14 03:52:11 claus Exp

Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.


Member Function Documentation

unsigned TKRmap::layer LATtypeId  ebfId,
unsigned  cc,
unsigned  rc
const [inline, virtual]
 

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.

Parameters:
ebfId The EBF format typeId (version number)
cc A cable controller number
rc A readout controller number
Returns:
The layer number

unsigned TKRmap::layerEnd LATtypeId  ebfId,
unsigned  cc,
unsigned  rc
const [inline, virtual]
 

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.

Parameters:
ebfId The EBF format typeId (version number)
cc A cable controller number
rc A readout controller number
Returns:
The layer number


The documentation for this class was generated from the following file:
Generated on Thu Sep 29 12:13:47 2005 for LDF v05-07-00 by doxygen 1.3.9.1