Class AbstractAnalyzer<T extends Measurement>
- java.lang.Object
-
- cern.accsoft.steering.aloha.analyzer.AbstractAnalyzer<T>
-
- All Implemented Interfaces:
Analyzer,GenericAnalyzer<T>,BeanAware,ChartFactoryAware
- Direct Known Subclasses:
DispersionAnalyzer,DispersionMuAnalyzer,NormalizedDispersionDiffAnalyzer,NormalizedResponseAnalyzer,NormalizedResponseDiffAnalyzer,ResponseTrajAnalyzer
public abstract class AbstractAnalyzer<T extends Measurement> extends java.lang.Object implements GenericAnalyzer<T>, ChartFactoryAware
This class implements the basic functionality for an analyzer in Aloha. It allows to set from which the data then is derived.
-
-
Constructor Summary
Constructors Constructor Description AbstractAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ChartFactorygetChartFactory()protected TgetMeasurement()voidsetChartFactory(ChartFactory chartFactory)set the chart factoryvoidsetMeasurement(T measurement)set the measurement to analyze.
-
-
-
Method Detail
-
setChartFactory
public void setChartFactory(ChartFactory chartFactory)
Description copied from interface:ChartFactoryAwareset the chart factory- Specified by:
setChartFactoryin interfaceChartFactoryAware- Parameters:
chartFactory- the chartFactory to set
-
getChartFactory
protected ChartFactory getChartFactory()
- Returns:
- the chartFactory
-
setMeasurement
public final void setMeasurement(T measurement)
Description copied from interface:GenericAnalyzerset the measurement to analyze.- Specified by:
setMeasurementin interfaceGenericAnalyzer<T extends Measurement>
-
getMeasurement
protected final T getMeasurement()
- Returns:
- the measurement
-
-