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

HecEvent Class Reference

#include <HecEvent.h>

List of all members.

Public Methods

 HecEvent ()
 The default contructor. More...

bool addHecCell (HecCell cell)
 Add adcValue to hecCell with adcNumber. More...

HecCellhecCell (int adcNumber)
 Return a pointer to hec Cell with adcNumber. More...

void clearCells ()
 clear the content of the cells so that new info can be loaded. More...

int numCells ()
 return the number of cells. More...

const vector< HecCell > * hecCellsPointer ()
int eventNumber ()
 get event number. More...

void eventNumber (int eventNum)
 set event number. More...

void setHecTrigger (unsigned int hecTriggerArray[5])
 Set the hecTrigger. More...

vector< int > * getHecTriggerVector ()
 Return a pointer to the HecTriggerVector. More...

bool isMuon ()
 Returns true when particle has contancted both muon detectors. More...

bool isRandom ()
 Returns true when event is a Random Trigger. More...

int getTriggerBit (int bit)
 Get the trigger bit from 0 to 4 (physics,electron,pion,muon,random). More...


Detailed Description


Constructor & Destructor Documentation

HecEvent::HecEvent  
 

The default contructor.


Member Function Documentation

bool HecEvent::addHecCell HecCell    cell
 

Add adcValue to hecCell with adcNumber.

Parameters:
cell  a static HecCell Class

void HecEvent::clearCells  
 

clear the content of the cells so that new info can be loaded.

void HecEvent::eventNumber int    eventNum [inline]
 

set event number.

int HecEvent::eventNumber   [inline]
 

get event number.

vector<int>* HecEvent::getHecTriggerVector   [inline]
 

Return a pointer to the HecTriggerVector.

int HecEvent::getTriggerBit int    bit
 

Get the trigger bit from 0 to 4 (physics,electron,pion,muon,random).

Parameters:
bit  The trigger bit 0-4 will cause exit(1) if accessed outside

HecCell * HecEvent::hecCell int    adcNumber
 

Return a pointer to hec Cell with adcNumber.

Parameters:
acdNumber  The acd Number of the cell you wish to return

const vector< HecCell > * HecEvent::hecCellsPointer  
 

bool HecEvent::isMuon   [inline]
 

Returns true when particle has contancted both muon detectors.

bool HecEvent::isRandom   [inline]
 

Returns true when event is a Random Trigger.

int HecEvent::numCells  
 

return the number of cells.

void HecEvent::setHecTrigger unsigned int    hecTriggerArray[5]
 

Set the hecTrigger.

Note that the parameter MUST be an array of 5 integers.

Parameters:
hecTriggerArray  a pointer to the hecTriggerArray


The documentation for this class was generated from the following files:
Generated on Fri Aug 15 10:52:05 2003 for TBRootAna by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002