THit Class Reference

#include <TBench.h>

Inheritance diagram for THit:

TObjHit List of all members.

Public Member Functions

 THit ()
 THit (const THit &)
 THit (int time)
virtual ~THit ()
void Set (int time)
int Get (int i)
bool operator== (const THit &c) const
bool operator< (const THit &c) const
THitoperator= (const THit &c)

Protected Attributes

float fX
float fY
float fZ
int fNpulses
int * fPulses
int fTime [10]

Friends

TBufferoperator<< (TBuffer &b, const THit *hit)

Detailed Description

Definition at line 44 of file TBench.h.


Constructor & Destructor Documentation

THit::THit (  ) 

THit::THit ( const THit  ) 

Definition at line 59 of file TBench.cxx.

References fNpulses, for(), fPulses, fTime, fX, fY, fZ, hit, hitCount(), i, if(), and j.

THit::THit ( int  time  ) 

Definition at line 88 of file TBench.cxx.

References fPulses, hitCount(), and Set().

THit::~THit (  )  [virtual]

Definition at line 94 of file TBench.cxx.

References fPulses, and hitCount().


Member Function Documentation

void THit::Set ( int  time  ) 

Definition at line 100 of file TBench.cxx.

References fNpulses, fPulses, fTime, fX, fY, fZ, TRandom::Gaus(), gRandom, i, and j.

Referenced by TSTLhitMap::MakeEvent(), TSTLhitMultiset::MakeEvent(), TSTLhitList::MakeEvent(), TSTLhitDeque::MakeEvent(), TSTLhit::MakeEvent(), TSTLhitMultiMap::MakeEvent(), TSTLhitSet::MakeEvent(), and THit().

int THit::Get ( int  i  )  [inline]

Definition at line 60 of file TBench.h.

References fTime.

bool THit::operator== ( const THit c  )  const [inline]

Definition at line 61 of file TBench.h.

References c.

bool THit::operator< ( const THit c  )  const [inline]

Definition at line 62 of file TBench.h.

References c.

THit & THit::operator= ( const THit c  ) 

Definition at line 73 of file TBench.cxx.

References fNpulses, fPulses, fTime, fX, fY, fZ, hit, i, if(), and j.


Friends And Related Function Documentation

TBuffer& operator<< ( TBuffer b,
const THit hit 
) [friend]

Definition at line 123 of file TBench.cxx.


Member Data Documentation

float THit::fX [protected]

Definition at line 46 of file TBench.h.

Referenced by JetEvent::Build(), operator=(), Set(), and THit().

float THit::fY [protected]

Definition at line 47 of file TBench.h.

Referenced by JetEvent::Build(), operator=(), Set(), and THit().

float THit::fZ [protected]

Definition at line 48 of file TBench.h.

Referenced by JetEvent::Build(), operator=(), Set(), and THit().

int THit::fNpulses [protected]

Definition at line 49 of file TBench.h.

Referenced by operator=(), Set(), and THit().

int* THit::fPulses [protected]

Definition at line 50 of file TBench.h.

Referenced by operator=(), Set(), THit(), and ~THit().

int THit::fTime[10] [protected]

Definition at line 51 of file TBench.h.

Referenced by Get(), operator=(), Set(), and THit().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:41:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1