Contents
Class SwapTable
java.lang.Object
org.jlab.detector.swaps.SwapTable
Interpret the sector/layer/component/order mapping between two CCDB "/daq/tt"
translation tables, based on their shared crate/slot/channel/order, and store
it in a new IndexedTable for access.
- Author:
- baltzell
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSwapTable
(org.jlab.utils.groups.IndexedTable fromTrans, org.jlab.utils.groups.IndexedTable toTrans) -
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
get
- Parameters:
varName
- name of new variable to retrieve (sector/layer/component/order)slco
- array of old variables (sector/layer/component/order)- Returns:
- new value of the requested variable
-
get
public int[] get(int... slco) - Parameters:
slco
- array of old variables (sector/layer/component/order)- Returns:
- new value of the requested variable
-
getVariableIndex
- Parameters:
varName
- name of variable's index in s/l/c/o to retrieve- Returns:
- index
-
toString
-