Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TkrLayer Class Reference

Stores all hit Silicon Strip detectors for a layer in the TKR, where a layer may cross tower boundaries. Layer is defined as in the UCSC BFEM User's Guide - where a layer is a single X or Y. More...

#include <TkrLayer.h>

Inheritance diagram for TkrLayer:

TObject List of all members.

Public Types

enum  TKRAxes { X = 0, Y }

Public Methods

 TkrLayer ()
 TkrLayer (TObjArray *strips)
virtual ~TkrLayer ()
void Clean (Option_t *option="")
TObjArray* getStrips ()
void setToT (UInt_t right, UInt_t left)
void setErrf (UInt_t right, UInt_t left)
void setPlaneNum (UChar_t planeVal)
void setXY (TKRAxes xyVal)
Int_t getToT (UChar_t ctrlNum)
 Retrieve the ToT for this layer for a specific controller. More...

Int_t getErrf (UChar_t ctrlNum)
UShort_t getPlaneNum () const
 Plane is used as defined in the UCSC BFEM User's Guide - refers to an XY Pair. More...

UShort_t getLayerNum () const
 Layer is used as defined in the UCSC BFEM User's Guide - referring to a single X OR Y. More...

TKRAxes getXY () const
 Returns the orientation of the layer. More...

UInt_t getNumHits ()
 Returns the number of hits in the list of strips for this layer. More...

StripIdgetHit (int i)
 Retrieve a specific hit strip from the list. More...

Int_t Compare (const TObject *obj) const
 Root >= 3.0 is now const correct for the Compare function. More...

Bool_t IsSortable () const

Private Attributes

UChar_t m_plane
 Tracker plane number. More...

UChar_t m_xy
 does this layer measure x or y? More...

UInt_t m_ToT [2]
 ToT values for each of the 2 readout boards. More...

UInt_t m_errf [2]
 ERRF values for each of the 2 readout boards. More...

TObjArray* m_strips
Int_t m_numStrips

Detailed Description

Stores all hit Silicon Strip detectors for a layer in the TKR, where a layer may cross tower boundaries. Layer is defined as in the UCSC BFEM User's Guide - where a layer is a single X or Y.

Definition at line 21 of file TkrLayer.h.


Member Enumeration Documentation

enum TkrLayer::TKRAxes
 

Enumeration values:
X  
Y  

Definition at line 39 of file TkrLayer.h.


Constructor & Destructor Documentation

TkrLayer::TkrLayer ( )
 

TkrLayer::TkrLayer ( TObjArray * strips = 0 )
 

Definition at line 26 of file TkrLayer.cxx.

TkrLayer::~TkrLayer ( ) [virtual]
 

Definition at line 39 of file TkrLayer.cxx.


Member Function Documentation

void TkrLayer::Clean ( Option_t * option = "" )
 

Definition at line 107 of file TkrLayer.cxx.

Int_t TkrLayer::Compare ( const TObject * obj ) const
 

Root >= 3.0 is now const correct for the Compare function.

Definition at line 48 of file TkrLayer.cxx.

Bool_t TkrLayer::IsSortable ( ) const
 

Definition at line 67 of file TkrLayer.cxx.

Int_t TkrLayer::getErrf ( UChar_t ctrlNum )
 

Definition at line 88 of file TkrLayer.cxx.

StripId * TkrLayer::getHit ( int i ) [inline]
 

Retrieve a specific hit strip from the list.

Definition at line 67 of file TkrLayer.h.

UShort_t TkrLayer::getLayerNum ( ) const
 

Layer is used as defined in the UCSC BFEM User's Guide - referring to a single X OR Y.

Definition at line 95 of file TkrLayer.cxx.

Referenced by Compare().

UInt_t TkrLayer::getNumHits ( ) [inline]
 

Returns the number of hits in the list of strips for this layer.

Definition at line 65 of file TkrLayer.h.

UShort_t TkrLayer::getPlaneNum ( ) const [inline]
 

Plane is used as defined in the UCSC BFEM User's Guide - refers to an XY Pair.

Definition at line 59 of file TkrLayer.h.

Referenced by getLayerNum().

TObjArray * TkrLayer::getStrips ( ) [inline]
 

Definition at line 49 of file TkrLayer.h.

Int_t TkrLayer::getToT ( UChar_t ctrlNum )
 

Retrieve the ToT for this layer for a specific controller.

Definition at line 81 of file TkrLayer.cxx.

TKRAxes TkrLayer::getXY ( ) const [inline]
 

Returns the orientation of the layer.

Definition at line 63 of file TkrLayer.h.

Referenced by getLayerNum().

void TkrLayer::setErrf ( UInt_t right,
UInt_t left )
 

Definition at line 76 of file TkrLayer.cxx.

void TkrLayer::setPlaneNum ( UChar_t planeVal ) [inline]
 

Definition at line 52 of file TkrLayer.h.

Referenced by DigiEvent::getTkrLayer().

void TkrLayer::setToT ( UInt_t right,
UInt_t left )
 

Definition at line 71 of file TkrLayer.cxx.

void TkrLayer::setXY ( TKRAxes xyVal ) [inline]
 

Definition at line 53 of file TkrLayer.h.

Referenced by DigiEvent::getTkrLayer().


Member Data Documentation

UInt_t TkrLayer::m_ToT[2] [private]
 

ToT values for each of the 2 readout boards.

Definition at line 29 of file TkrLayer.h.

UInt_t TkrLayer::m_errf[2] [private]
 

ERRF values for each of the 2 readout boards.

Definition at line 31 of file TkrLayer.h.

Int_t TkrLayer::m_numStrips [private]
 

Definition at line 34 of file TkrLayer.h.

UChar_t TkrLayer::m_plane [private]
 

Tracker plane number.

Definition at line 25 of file TkrLayer.h.

TObjArray * TkrLayer::m_strips [private]
 

Definition at line 32 of file TkrLayer.h.

UChar_t TkrLayer::m_xy [private]
 

does this layer measure x or y?

Definition at line 27 of file TkrLayer.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:46 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000