NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Files Functions Variables Macros Pages
Public Member Functions | List of all members
CMyEventSegment Class Reference

Public Member Functions

 CMyEventSegment (CMyTrigger *trig)
virtual void initialize ()
virtual size_t read (void *rBuffer, size_t maxwords)
virtual void disable ()
virtual void clear ()
virtual void onEnd (CExperiment *pExperiment)
int GetNumberOfModules ()
unsigned short GetCrateID ()
bool IsUniqueEvent (const channel *event)
void synchronize ()
 Clock synchronization.
 CMyEventSegment (CMyTrigger *trig)
virtual void initialize ()
virtual size_t read (void *rBuffer, size_t maxwords)
virtual void disable ()
virtual void clear ()
virtual void onEnd (CExperiment *pExperiment)
int GetNumberOfModules ()
unsigned short GetCrateID ()
bool IsUniqueEvent (const channel *event)
void synchronize ()
void setTimestampScaleFactor (double value)
double getTimestampScaleFactor () const

Member Function Documentation

void CMyEventSegment::synchronize ( )

Clock synchronization.

synchronize Perform clock synchronization. This is has been removed from initialize() so that it an be called from the constructor (infinity clock mode), conditionally from initialize() (classic mode) via a command (resynchronized infinity clock mode).

Exceptions
std::runtime_error- if we fail to talk properly to the module(s).

The documentation for this class was generated from the following files: