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

AcdHWMultiplexer Class Reference

AcdHWMultiplexer class. More...

List of all members.

Public Member Functions

 __init__ (GEM)
 AcdHWMultiplexer constructor.
 start ()
 Method for starting the accumulation of ACD hardware scalers.
 stop ()
 Method for stopping the accumulation of ACD hardware scalers.
 resume ()
 Method for resuming the accumulation of ACD hardware scalers after a stop.
 abort ()
 Method for aborting the accumulation of ACD hardware scalers.
 shutdown ()
 Method for shutting down the Multiplexer.
 dwell (d=None)
 Method to set the dwell time for scaler integration.
 tileList (tList=None)
 Method to set which tiles are integrated.
 stats ()
 Method to access the counter statistics.


Detailed Description

AcdHWMultiplexer class.

A class to multiplex the two ACD hardware scalers defined in section 2.6.2 of the GEM document, LAT-TD-01545 into up to 108 separate counters.

Definition at line 23 of file AcdHWMultiplexer.py.


Member Function Documentation

__init__ GEM   ) 
 

AcdHWMultiplexer constructor.

Parameters:
GEM a GEM object

abort  ) 
 

Method for aborting the accumulation of ACD hardware scalers.

Abort the integration of the hardware counters. The cycle stops immediately, and the set of counts from the current cycle is discarded.

dwell = None  ) 
 

Method to set the dwell time for scaler integration.

Set the dwell time (in seconds) for integration. Total time in a cycle through the scalers will be dwell * nTiles. Minimum dwell time is 0.1 seconds. Default is 1 second.

Parameters:
dwell Dwell time in seconds, default = 1 second

resume  ) 
 

Method for resuming the accumulation of ACD hardware scalers after a stop.

Resume the integration of the hardware counters after a stop() call. At resume of integration, the internal counters are not reset, but continue from their previous values.

shutdown  ) 
 

Method for shutting down the Multiplexer.

Shut down the thread the multiplexer is running in. Should be called during endRun.

start  ) 
 

Method for starting the accumulation of ACD hardware scalers.

Start the integration of the hardware counters. At the start of integration, the counters are all reset to zero (0).

stats  ) 
 

Method to access the counter statistics.

Provides the user with the a list containing the counter statistics. This list corresponds to the tiles in tileList.

Returns:
The list of the tile statistics.

stop  ) 
 

Method for stopping the accumulation of ACD hardware scalers.

Stop the integration of the hardware counters. The stop occurs at the end of the current cycle, and the counts from the current cycle are integrated into the count statistics

tileList tList  = None  ) 
 

Method to set which tiles are integrated.

Defines the list of tiles which are being integrated. Ex: range(108); [0,2,4,6]

Parameters:
tList The list of tiles to be integrated.
Returns:
The list of tiles that are being integrated


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