Class EmittanceScanApplication
java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.EmittanceScanApplication
- All Implemented Interfaces:
org.scictrl.csshell.epics.server.Application
,org.scictrl.csshell.epics.server.processor.OnDemandValueProcessor.ValueProvider
public class EmittanceScanApplication
extends org.scictrl.csshell.epics.server.application.AbstractApplication
Filters and averages the BPM values. Values with Q below treshold ar thrown away.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
database, DEFAULT_NAME_DELIMITER, dynamicRecordCreator, ERROR_SUM, LINK_ERROR, LINK_ERROR_STRING, links, log, name, NAME_DELIMITER, nameDelimiter, records
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
double[]
calculateEmittance
(List<org.scictrl.csshell.epics.server.application.EmittanceScanApplication.Measurement> data) calculateEmittance.void
void
initialize
(org.scictrl.csshell.epics.server.Database database) protected void
notifyRecordChange
(String name, boolean alarmOnly) protected void
notifyRecordWrite
(String name) Methods inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
addRecord, addRecordOfCommandProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfOnDemandProcessor, addRecordOfOnLinkValueProcessor, configure, connectLinks, createNewStore, fullRecordName, getLinks, getName, getNameDelimiter, getNotNull, getRecord, getRecordErrorSum, getRecordLinkError, getRecordNames, getRecords, getStore, getStore, getValue, isActivated, isDynamicRecordCreator, log4debug, log4error, log4error, log4info, notifyLinkChange, processLinkChange, pushDoneCommandProcessor, reconnectLinks, resetOnDemandProcessor, restore, store, toString, updateErrorSum, updateErrorSum, updateLinkError, updateLinkError
-
Constructor Details
-
EmittanceScanApplication
public EmittanceScanApplication()Constructor for EmittanceScanApplication.
-
-
Method Details
-
configure
public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config) - Specified by:
configure
in interfaceorg.scictrl.csshell.epics.server.Application
- Overrides:
configure
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
activate
public void activate()- Specified by:
activate
in interfaceorg.scictrl.csshell.epics.server.Application
- Overrides:
activate
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
initialize
public void initialize(org.scictrl.csshell.epics.server.Database database) - Specified by:
initialize
in interfaceorg.scictrl.csshell.epics.server.Application
- Overrides:
initialize
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyRecordChange
- Overrides:
notifyRecordChange
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
notifyRecordWrite
- Overrides:
notifyRecordWrite
in classorg.scictrl.csshell.epics.server.application.AbstractApplication
-
calculateEmittance
public double[] calculateEmittance(List<org.scictrl.csshell.epics.server.application.EmittanceScanApplication.Measurement> data) calculateEmittance.
- Parameters:
data
- aList
object- Returns:
- an array of
invalid reference
double
-