Contents
Class RawDataBank
java.lang.Object
org.jlab.detector.banks.FilteredBank
org.jlab.detector.banks.RawBank
org.jlab.detector.banks.RawDataBank
An extension to support original bank interface.
- Author:
- baltzell
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jlab.detector.banks.RawBank
RawBank.OrderGroups, RawBank.OrderType
-
Field Summary
Fields inherited from class org.jlab.detector.banks.RawBank
FILTER_VAR_NAME
Fields inherited from class org.jlab.detector.banks.FilteredBank
bank, DEFAULT_ALLOC, filterList, filterVar, indexList
-
Constructor Summary
ConstructorsConstructorDescriptionRawDataBank
(String bankName) RawDataBank
(String bankName, int allocate) RawDataBank
(String bankName, int allocate, RawBank.OrderType... types) RawDataBank
(String bankName, RawBank.OrderType... types) -
Method Summary
Modifier and TypeMethodDescriptionint
float
int
long
int
static void
void
read
(org.jlab.io.base.DataEvent event) Read the bank and prepare filteringMethods inherited from class org.jlab.detector.banks.RawBank
adc, component, createFilterGroup, getFilterGroup, layer, sector, setFilter, tdc, trueOrder
Methods inherited from class org.jlab.detector.banks.FilteredBank
getRows, notifyRead, read, rows, setFilter, trueIndex
-
Constructor Details
-
Method Details
-
read
public void read(org.jlab.io.base.DataEvent event) Read the bank and prepare filtering- Parameters:
event
-
-
getByte
- Overrides:
getByte
in classFilteredBank
- Parameters:
varName
- name of the bank variableindex
- filtered index to retrieve- Returns:
- value for the filtered index
-
getShort
- Overrides:
getShort
in classFilteredBank
- Parameters:
varName
- name of the bank variableindex
- filtered index to retrieve- Returns:
- value for the filtered index
-
getInt
- Overrides:
getInt
in classFilteredBank
- Parameters:
varName
- name of the bank variableindex
- filtered index to retrieve- Returns:
- value for the filtered index
-
getLong
- Overrides:
getLong
in classFilteredBank
- Parameters:
varName
- name of the bank variableindex
- filtered index to retrieve- Returns:
- value for the filtered index
-
getFloat
- Overrides:
getFloat
in classFilteredBank
- Parameters:
varName
- name of the bank variableindex
- filtered index to retrieve- Returns:
- value for the filtered index
-
main
-