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

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 ()
 
int GetCrateID () const
 
bool IsUniqueEvent (const channel *event)
 
void synchronize ()
 Clock synchronization. More...
 
void boot (DAQ::DDAS::SystemBooter::BootType=DAQ::DDAS::SystemBooter::FullBoot)
 load fimrware and start boards. More...
 
 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 ()
 
int GetCrateID () const
 
bool IsUniqueEvent (const channel *event)
 
void boot (DAQ::DDAS::SystemBooter::BootType type=DAQ::DDAS::SystemBooter::FullBoot)
 
void synchronize ()
 
void setTimestampScaleFactor (double value)
 
double getTimestampScaleFactor () const
 

Member Function Documentation

void CMyEventSegment::boot ( DAQ::DDAS::SystemBooter::BootType  type = DAQ::DDAS::SystemBooter::FullBoot)

load fimrware and start boards.

boot Load firmware and start the modules.

Parameters
bootmaskBoot mask passed to boot.
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: