Pan: The Parity Analyzer -- Class Index

Pan classes only
All classes


+
class TaEpics
-
#include "TaEpics.hh"
Display options:
Show inherited
Show non-public

class TaEpics


   TaEpics
   Hall A EPICS data.

   EPICS data come in two forms
     (tag, value)   e.g. (IPM1H04B.XPOS,  0.204)
   and
     (tag, value, units)  e.g. (HELG0TSETTLEs, 500, usec)

   All data are received as characters and are parsed.
'tags' remain characters, 'values' are either character
   or double, and 'units' are characters.
   Data are stored in an STL map and retrievable by
   'tag' (e.g. IPM1H04B.XPOS) and by proximity to
   a physics event number (closest one is picked).

   author  Robert Michaels (rom@jlab.org)


Function Members (Methods)

public:
TaEpics()
virtual~TaEpics()
voidAddToTree(TTree& tree)
static TClass*Class()
Double_tGetData(const char* tag, int event = 0) const
stringGetString(const char* tag, int event = 0) const
Double_tGetTimeStamp(const char* tag, int event = 0) const
Bool_tInit(const TaDataBase& db)
virtual TClass*IsA() const
Bool_tIsLoaded(const char* tag) const
intLoadData(const int* evbuffer, int event = 0)
voidPrint()
intProcess(const VaEvent& event)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TaEpics(const TaEpics& ep)
TaStringCleanEpicsName(TaString& input) const
Int_tFindEvent(const vector<EpicsChan> ep, int event = 0) const
vector<EpicsChan>GetChan(const char* tag) const
TaEpics&operator=(const TaEpics& ep)

Data Members

private:
map<std::string,std::vector<EpicsChan> >fEpicsData
vector<TaString>fTreeKey
Double_t*fTreeVal
static const UInt_tfgINSANE_MAX

Class Charts

Inheritance Chart:
TaEpics

Function documentation

TaEpics()
~TaEpics()
void Print()
Bool_t Init(const TaDataBase& db)
 Initialize the list of EPICS data to put
 into the output trees.  Returns kTRUE if
 there is a valid list.
Bool_t IsLoaded(const char* tag)
Double_t GetTimeStamp(const char* tag, int event)
vector<EpicsChan> GetChan(const char *tag)
 Return the vector of Epics data for 'tag'
 where 'tag' is the name of the Epics variable.
Int_t FindEvent(const vector<EpicsChan> ep, int event)
 Return the index in the vector of Epics data
 nearest in event number to event 'event'.
void AddToTree(TTree &tree)
Add data to TTree 'tree'.
 However, note this only happens if the
 Init(TaDatabase&) returned a nonzero length
 of EPICS keys.
int Process(const VaEvent& event)
 process an event.
int LoadData(const int* evbuffer, int evnum)
 for event nearest 'evnum'.
TaString CleanEpicsName(TaString& input)
 To clean up EPICS variable names that contain
 bad characters like ":" and arithmetic operations
 that confuse TTree::Draw().
 Replace all 'badchar' with 'goodchar'
Double_t GetData()
{ return dvalue; }
std::string GetString()
{ return svalue; }
TaEpics()
TaEpics& operator=(const TaEpics &ep)

Last update: Tue Jun 19 10:03:50 2007

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.