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. |
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.
|
AcdHWMultiplexer constructor.
|
|
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. |
|
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.
|
|
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. |
|
Method for shutting down the Multiplexer. Shut down the thread the multiplexer is running in. Should be called during endRun. |
|
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). |
|
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.
|
|
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 |
|
Method to set which tiles are integrated. Defines the list of tiles which are being integrated. Ex: range(108); [0,2,4,6]
|