#include <HecEvent.h>
Public Methods | |
HecEvent () | |
The default contructor. More... | |
bool | addHecCell (HecCell cell) |
Add adcValue to hecCell with adcNumber. More... | |
HecCell * | hecCell (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... |
|
The default contructor.
|
|
Add adcValue to hecCell with adcNumber.
|
|
clear the content of the cells so that new info can be loaded.
|
|
set event number.
|
|
get event number.
|
|
Return a pointer to the HecTriggerVector.
|
|
Get the trigger bit from 0 to 4 (physics,electron,pion,muon,random).
|
|
Return a pointer to hec Cell with adcNumber.
|
|
|
|
Returns true when particle has contancted both muon detectors.
|
|
Returns true when event is a Random Trigger.
|
|
return the number of cells.
|
|
Set the hecTrigger. Note that the parameter MUST be an array of 5 integers.
|