Package clickDetector.basicalgorithm
Class TriggerBackgroundHandler
java.lang.Object
clickDetector.basicalgorithm.TriggerBackgroundHandler
Class to stack up blocks of data about the trigger background level and store them
into sensible sized data units, i.e. about a minutes data in each data unit in order
to avoid too much overhead from the headers.
- Author:
- Doug Gillespie
-
Constructor Details
-
TriggerBackgroundHandler
-
-
Method Details
-
prepare
public void prepare() -
newValue
public void newValue(long timeMillis, int iChan, double backgroundValue) Add data to the background handler- Parameters:
timeMillis
- data time in millisiChan
- channel numberbackgroundValue
- background value (raw units, generally 0 invalid input: '<' value invalid input: '<' 1)
-
getClickControl
- Returns:
- the clickControl
-
getTriggerBackgroundDataBlock
- Returns:
- the triggerBackgroundDataBlock
-