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

TEpicsEvent.h

Go to the documentation of this file.
00001 // TEpicsEvent.h.
00002 // author  JEP.
00003 // brief   TEpicsEvent class for unpacked epics data.
00004 // version 1.0.
00005 // date    November 2004.
00006 //
00007 #ifndef TEPICSEVENT_H
00008 #define TEPICSEVENT_H
00009 
00010 #include <vector>
00011 
00012 #include "TDataItem.h"
00013 
00014 using std::vector;
00015 
00016 class TEpicsEvent {
00017 public:
00018   TEpicsEvent();
00019   virtual ~TEpicsEvent();
00020   void Clear(const Char_t * = "");
00021   void Print(const Char_t * = "") const;
00022   void AddEpics(const vector<TDataItem<Float_t> > &);
00023   const vector<TDataItem<Float_t> > & GetEpics() const;
00024 
00025 private:
00028   vector<TDataItem<Float_t> > fEpics;
00029 
00030   // Class definition tag for ROOT.
00031   //
00032   ClassDef(TEpicsEvent, 1)
00033 };
00034 
00035 inline void TEpicsEvent::AddEpics(const vector<TDataItem<Float_t> > &epics)
00036 {
00039   fEpics = epics;
00040 }
00041 
00042 inline const vector<TDataItem<Float_t> > & TEpicsEvent::GetEpics() const
00043 {
00054   return fEpics;
00055 }
00056 
00057 #endif // TEpicsEvent.h

Generated on Mon Jan 8 11:54:31 2007 for DragonRoot by  doxygen 1.3.9.1