Package org.jlab.detector.banks
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_NAMEFields 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
Methods inherited from class org.jlab.detector.banks.RawBank
adc, component, createFilterGroup, getFilterGroup, layer, sector, setFilter, tdc, trueOrderMethods inherited from class org.jlab.detector.banks.FilteredBank
getRows, notifyRead, read, rows, setFilter, trueIndex
-
Constructor Details
-
RawDataBank
-
RawDataBank
-
RawDataBank
-
RawDataBank
-
-
Method Details
-
read
Read the bank and prepare filtering- Parameters:
event-
-
getByte
- Overrides:
getBytein classFilteredBank- Parameters:
varName- name of the bank variableindex- filtered index to retrieve- Returns:
- value for the filtered index
-
getShort
- Overrides:
getShortin classFilteredBank- Parameters:
varName- name of the bank variableindex- filtered index to retrieve- Returns:
- value for the filtered index
-
getInt
- Overrides:
getIntin classFilteredBank- Parameters:
varName- name of the bank variableindex- filtered index to retrieve- Returns:
- value for the filtered index
-
getLong
- Overrides:
getLongin classFilteredBank- Parameters:
varName- name of the bank variableindex- filtered index to retrieve- Returns:
- value for the filtered index
-
getFloat
- Overrides:
getFloatin classFilteredBank- Parameters:
varName- name of the bank variableindex- filtered index to retrieve- Returns:
- value for the filtered index
-
getByte
public int getByte(int column, int index) - Overrides:
getBytein classFilteredBank- Parameters:
column-index- filtered index to retrieve- Returns:
- value for the filtered index
-
getShort
public int getShort(int column, int index) - Overrides:
getShortin classFilteredBank- Parameters:
column-index- filtered index to retrieve- Returns:
- value for the filtered index
-
getInt
public int getInt(int column, int index) - Overrides:
getIntin classFilteredBank- Parameters:
column-index- filtered index to retrieve- Returns:
- value for the filtered index
-
getLong
public long getLong(int column, int index) - Overrides:
getLongin classFilteredBank- Parameters:
column-index- filtered index to retrieve- Returns:
- value for the filtered index
-
getFloat
public float getFloat(int column, int index) - Overrides:
getFloatin classFilteredBank- Parameters:
column-index- filtered index to retrieve- Returns:
- value for the filtered index
-
main
-