Package org.jlab.detector.swaps
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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
VAR_NAMES
 
- 
- 
Constructor Details- 
SwapTable- Parameters:
- fromTrans- previous translation table
- toTrans- new translation table
 
 
- 
- 
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
 
- 
getpublic 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
 
-