Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TEpicsEvent Class Reference

#include <TEpicsEvent.h>

List of all members.


Detailed Description

Epics-event class.

This class contains unpacked epics data which is placed into a vector. The vector will usually contain a fixed number of values (depending upon the number of epics being used in an experiment). This class is also written to a ROOT tree if the correct TDragonRun methods are called.

Author:
JEP.
Version:
1.0.
Date:
November 2004.

Definition at line 16 of file TEpicsEvent.h.

Public Member Functions

 TEpicsEvent ()
virtual ~TEpicsEvent ()
void Clear (const Char_t *="")
void Print (const Char_t *="") const
void AddEpics (const vector< TDataItem< Float_t > > &)
const vector< TDataItem< Float_t > > & GetEpics () const

Private Attributes

vector< TDataItem< Float_t > > fEpics


Constructor & Destructor Documentation

TEpicsEvent  ) 
 

Default constructor.

Definition at line 24 of file TEpicsEvent.cxx.

~TEpicsEvent  )  [virtual]
 

Default destructor.

Definition at line 30 of file TEpicsEvent.cxx.


Member Function Documentation

void Clear const Char_t *  option = ""  ) 
 

Clear all the data held in this class.

Parameters:
[in] option The option is currently unimplemented.

Definition at line 36 of file TEpicsEvent.cxx.

References fEpics.

void Print const Char_t *  option = ""  )  const
 

Print data held in this class.

Parameters:
[in] option If option is 'a' (all) then the data in the EPICs array is also printed out.

Definition at line 44 of file TEpicsEvent.cxx.

References fEpics.

void AddEpics const vector< TDataItem< Float_t > > &  epics  )  [inline]
 

Add a data item to the fEpics vector.

Definition at line 35 of file TEpicsEvent.h.

References fEpics.

const vector< TDataItem< Float_t > > & GetEpics  )  const [inline]
 

Retrieve the epics event vector.

Returns:
A reference to the epics vector which contains simple epics data. Add something like this to your code to retrieve the vector and print the information in the epics event:
      const vector<TDataItem<Float_t> > &epcs = GetEpicsEvent();
      for (size_t i = 0; i < epcs.size(); i++)
        epcs[j].Print();

Definition at line 42 of file TEpicsEvent.h.


Member Data Documentation

vector<TDataItem<Float_t> > fEpics [private]
 

The vector containing scaler events.

Definition at line 28 of file TEpicsEvent.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 8 11:54:34 2007 for DragonRoot by  doxygen 1.3.9.1