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

Event Class Reference

#include <Event.h>

List of all members.

Public Methods

 Event ()
 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 clearHecCells ()
 clear the content of the cells so that new info can be loaded. More...

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

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

void hecEventNumber (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 isHecMuon ()
 Returns true when particle has contancted both muon detectors. More...

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

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

bool addEmecCell (EmecCell cell)
 Add adcValue to EmecCell with adcNumber. More...

EmecCellemecCell (int adcNumber)
 Return a pointer to EmecCell with adcNumber. More...

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

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

const vector< EmecCell > * emecCellsPointer ()
int emecEventNumber ()
 get event number. More...

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

void setEmecTrigger (unsigned int emecTriggerArray[5])
 Set the emecTrigger. More...

vector< int > * getEmecTriggerVector ()
 Return a pointer to the EmecTriggerVector. More...

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

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

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

float beamChamberSlopeX ()
 Get the beam chamber X Slope. More...

float beamChamberSlopeY ()
 Get the BeamChamber YSlope. More...

float beamChamberXatZ0 ()
 Get the beam chamber X position at z = 0. More...

float beamChamberYatZ0 ()
 Get the beam chamber y position at z = 0. More...

float beamChamberCovXatZ0 ()
float beamChamberCovXatSlopeX ()
float beamChamberCovXatZ0SlopeX ()
float beamChamberCovYatZ0 ()
float beamChamberCovYatSlopeY ()
float beamChamberCovYatZ0SlopeY ()
void setBeamChamberInfo (float slope[2], float pos0[2], float xcov[3], float ycov[3])
vector< float > beamChamberLine ()
 Return a STL vector of floats that are are the parameters for the beam chamber info. More...

float globalTDCTime ()
 tdc global time (ns). More...

float globalCubicTime ()
 Cubic fit global time (ns). More...

float globalCubicTimeSigma ()
 Cubic fit global time sigma (ns). More...

void setGlobalTimingInfo (float tdc_ns, float Globalcubictime, float Globalcubictimesigma)


Detailed Description


Constructor & Destructor Documentation

Event::Event  
 

The default contructor.


Member Function Documentation

bool Event::addEmecCell EmecCell    cell
 

Add adcValue to EmecCell with adcNumber.

Parameters:
cell  a static EmecCell Class

bool Event::addHecCell HecCell    cell
 

Add adcValue to hecCell with adcNumber.

Parameters:
cell  a static HecCell Class

float Event::beamChamberCovXatSlopeX   [inline]
 

float Event::beamChamberCovXatZ0   [inline]
 

float Event::beamChamberCovXatZ0SlopeX   [inline]
 

float Event::beamChamberCovYatSlopeY   [inline]
 

float Event::beamChamberCovYatZ0   [inline]
 

float Event::beamChamberCovYatZ0SlopeY   [inline]
 

vector< float > Event::beamChamberLine  
 

Return a STL vector of floats that are are the parameters for the beam chamber info.

The order of the parameters is a0, a1, b0, b1.

float Event::beamChamberSlopeX   [inline]
 

Get the beam chamber X Slope.

float Event::beamChamberSlopeY   [inline]
 

Get the BeamChamber YSlope.

float Event::beamChamberXatZ0   [inline]
 

Get the beam chamber X position at z = 0.

float Event::beamChamberYatZ0   [inline]
 

Get the beam chamber y position at z = 0.

void Event::clearEmecCells  
 

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

void Event::clearHecCells  
 

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

EmecCell * Event::emecCell int    adcNumber
 

Return a pointer to EmecCell with adcNumber.

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

const vector< EmecCell > * Event::emecCellsPointer  
 

void Event::emecEventNumber int    eventNum [inline]
 

set event number.

int Event::emecEventNumber   [inline]
 

get event number.

int Event::getEmecTriggerBit int    bit
 

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

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

vector<int>* Event::getEmecTriggerVector   [inline]
 

Return a pointer to the EmecTriggerVector.

int Event::getHecTriggerBit int    bit
 

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

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

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

Return a pointer to the HecTriggerVector.

float Event::globalCubicTime   [inline]
 

Cubic fit global time (ns).

float Event::globalCubicTimeSigma   [inline]
 

Cubic fit global time sigma (ns).

float Event::globalTDCTime   [inline]
 

tdc global time (ns).

HecCell * Event::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 > * Event::hecCellsPointer  
 

void Event::hecEventNumber int    eventNum [inline]
 

set event number.

int Event::hecEventNumber   [inline]
 

get event number.

bool Event::isEmecMuon   [inline]
 

Returns true when particle has contancted both muon detectors.

bool Event::isEmecRandom   [inline]
 

Returns true when event is a Random Trigger.

bool Event::isHecMuon   [inline]
 

Returns true when particle has contancted both muon detectors.

bool Event::isHecRandom   [inline]
 

Returns true when event is a Random Trigger.

int Event::numEmecCells  
 

return the number of cells.

int Event::numHecCells  
 

return the number of cells.

void Event::setBeamChamberInfo float    slope[2],
float    pos0[2],
float    xcov[3],
float    ycov[3]
 

void Event::setEmecTrigger unsigned int    emecTriggerArray[5]
 

Set the emecTrigger.

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

Parameters:
emecTriggerArray  a pointer to the emecTriggerArray

void Event::setGlobalTimingInfo float    tdc_ns,
float    Globalcubictime,
float    Globalcubictimesigma
 

void Event::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