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

TkrDigi Class Reference

TDS version of the TKR digi. More...

#include <TkrDigi.h>

Inheritance diagram for TkrDigi:

ContainedObject List of all members.

Public Types

typedef std::vector<int> HitList
 typedefs. More...

typedef HitList::const_iterator const_iterator

Public Methods

 TkrDigi ()
 Constructors Null constructor. More...

 TkrDigi (int l, int v, int t, int* tot)
 constructor with layer, tower and ToT, but with an empty list of strips. More...

virtual ~TkrDigi ()
 Destructor. More...

virtual const CLID& clID () const
 Retrieve pointer to class defininition structure. More...

int layer () const
 Retrieve methods Retrieve layer info. More...

int view () const
 Retrieve view info. More...

int tower () const
 Retrieve tower info. More...

int ToT ( int i) const
 Retrieve ToT info. More...

int num () const
 number of hits. More...

int hit ( int i ) const
 Get the pointer to the ith hit strip. More...

void setLayer ( int layer)
 Set Methods Set layer. More...

void setView ( int view)
 set view. More...

void setTower ( int tower )
 Set tower. More...

void setToT ( int i, int tot)
 Set the ToT array. More...

void addHit ( int strip )
 Add a hit to the hit list. More...

virtual StreamBuffer& serialize ( StreamBuffer& s )
 Serialize the object for reading. More...

virtual StreamBuffer& serialize ( StreamBuffer& s ) const
 Serialize the object for writing. More...

virtual std::ostream& fillStream ( std::ostream& s ) const
 Fill the ASCII output stream. More...

const_iterator begin () const
 begin iterator. More...

const_iterator end () const
 end iterator. More...


Static Public Methods

const CLID& classID ()

Private Attributes

int m_layer
int m_view
int m_tower
int m_tot [2]
HitList m_hits

Detailed Description

TDS version of the TKR digi.

Author(s):
Leon Rochester

Contains layer and tower identification, ToT and a list of hit strips The digis are produced either from MC hit output or from the actual data

Definition at line 28 of file TkrDigi.h.


Member Typedef Documentation

typedef std::vector<int> TkrDigi::HitList
 

typedefs.

Definition at line 32 of file TkrDigi.h.

typedef HitList::const_iterator TkrDigi::const_iterator
 

Definition at line 33 of file TkrDigi.h.


Constructor & Destructor Documentation

TkrDigi::TkrDigi ( ) [inline]
 

Constructors Null constructor.

Definition at line 37 of file TkrDigi.h.

TkrDigi::TkrDigi ( int l,
int v,
int t,
int * tot ) [inline]
 

constructor with layer, tower and ToT, but with an empty list of strips.

Definition at line 40 of file TkrDigi.h.

TkrDigi::~TkrDigi ( ) [inline, virtual]
 

Destructor.

Definition at line 46 of file TkrDigi.h.


Member Function Documentation

int TkrDigi::ToT ( int i ) const [inline]
 

Retrieve ToT info.

Definition at line 61 of file TkrDigi.h.

void TkrDigi::addHit ( int strip ) [inline]
 

Add a hit to the hit list.

Definition at line 77 of file TkrDigi.h.

const_iterator TkrDigi::begin ( ) const [inline]
 

begin iterator.

Definition at line 87 of file TkrDigi.h.

const CLID & TkrDigi::clID ( ) const [inline, virtual]
 

Retrieve pointer to class defininition structure.

Definition at line 50 of file TkrDigi.h.

const CLID & TkrDigi::classID ( ) [inline, static]
 

Definition at line 51 of file TkrDigi.h.

Referenced by clID().

const_iterator TkrDigi::end ( ) const [inline]
 

end iterator.

Definition at line 89 of file TkrDigi.h.

std::ostream & TkrDigi::fillStream ( std::ostream & s ) const [inline, virtual]
 

Fill the ASCII output stream.

Definition at line 140 of file TkrDigi.h.

int TkrDigi::hit ( int i ) const [inline]
 

Get the pointer to the ith hit strip.

Definition at line 65 of file TkrDigi.h.

int TkrDigi::layer ( ) const [inline]
 

Retrieve methods Retrieve layer info.

Definition at line 55 of file TkrDigi.h.

int TkrDigi::num ( ) const [inline]
 

number of hits.

Definition at line 63 of file TkrDigi.h.

StreamBuffer & TkrDigi::serialize ( StreamBuffer & s ) const [inline, virtual]
 

Serialize the object for writing.

Definition at line 102 of file TkrDigi.h.

StreamBuffer & TkrDigi::serialize ( StreamBuffer & s ) [inline, virtual]
 

Serialize the object for reading.

Definition at line 119 of file TkrDigi.h.

void TkrDigi::setLayer ( int layer ) [inline]
 

Set Methods Set layer.

Definition at line 69 of file TkrDigi.h.

void TkrDigi::setToT ( int i,
int tot ) [inline]
 

Set the ToT array.

Definition at line 75 of file TkrDigi.h.

void TkrDigi::setTower ( int tower ) [inline]
 

Set tower.

Definition at line 73 of file TkrDigi.h.

void TkrDigi::setView ( int view ) [inline]
 

set view.

Definition at line 71 of file TkrDigi.h.

int TkrDigi::tower ( ) const [inline]
 

Retrieve tower info.

Definition at line 59 of file TkrDigi.h.

int TkrDigi::view ( ) const [inline]
 

Retrieve view info.

Definition at line 57 of file TkrDigi.h.


Member Data Documentation

HitList TkrDigi::m_hits [private]
 

Definition at line 97 of file TkrDigi.h.

int TkrDigi::m_layer [private]
 

Definition at line 93 of file TkrDigi.h.

int TkrDigi::m_tot[2] [private]
 

Definition at line 96 of file TkrDigi.h.

int TkrDigi::m_tower [private]
 

Definition at line 95 of file TkrDigi.h.

int TkrDigi::m_view [private]
 

Definition at line 94 of file TkrDigi.h.


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