Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

rcTrgMiniGLT Class Reference

rcTrgMiniGLT class definition This class implements a 'threaded' model for enabling/disabling the trigger More...

Inheritance diagram for rcTrgMiniGLT:

Inheritance graph
[legend]
Collaboration diagram for rcTrgMiniGLT:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __init__ ()
 rcTrgGem constructor
 commit ()
 public commit function This function commits the configuration defined by this TrgGem object to the hardware. It does *all* the registers. This function should never be called by anyone other than Run Control.
 waitForMaskEnable (tmo=None)
 getEnableTime ()
 getDisableTime ()
 getTimeStamp ()
 sweepOnShut ()
 enable (newMask=None)
 disable ()
 shut (sweepEvent, progress=None)

Detailed Description

rcTrgMiniGLT class definition This class implements a 'threaded' model for enabling/disabling the trigger

Definition at line 18 of file rcTrgMiniGLT.py.


Member Function Documentation

disable  ) 
 

Re-implementation of the disable() function to take advantage of threading and timestamps

Reimplemented from TrgMiniGLT.

enable newMask  = None  ) 
 

Re-implementation of the enable() function to take advantage of threading and timestamps

Adds an argument to deal with several weird masking problems Only rcTransitions should use the above argument

getDisableTime  ) 
 

Returns the VxWorks timestamp at the time the triggers are disabled

Returns:
Trigger disable time

getEnableTime  ) 
 

Returns the VxWorks timestamp at the time the triggers are enabled

Returns:
Trigger enable time

getTimeStamp  ) 
 

Returns the VxWorks timestamp for the last time a self-trigger was asserted.

Returns:
Trigger timestamp

shut sweepEvent  ,
progress  = None
 

Re-implementation of the shut function to take advantage of the fact that in rcTrgMiniGLT, trigger engine 0 is reserved for the marker.

Parameters:
sweepEvent,: A sweep Event() defined by runControl
progress,: An optional function that returns a non-zero value when when events are passing through the system. If omitted a fixed timeout is used.

Reimplemented in rcMiniGLTDefaultTrigger.

sweepOnShut  ) 
 

Returns whether or not shut() does a sweep event. Default true.

Returns:
a boolean

Reimplemented in rcMiniGLTDefaultTrigger.

waitForMaskEnable tmo  = None  ) 
 

Waits until the enableMask() method is called. This is usually needed by non-self-triggering scripts where the _commandSynch thread needs to wait until RunControl actually enables the mask before continuing.

Parameters:
tmo Optional parameter giving the wait timeout in seconds


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:27:57 2006 for LATTE R04-12-00 by doxygen 1.4.3