Skip to content

Commit 6030fd2

Browse files
baltzelltongtongcao
authored andcommitted
Add some TranslationTable javadoc (#1158)
* add documentation * fix
1 parent 1703423 commit 6030fd2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

common-tools/clas-detector/src/main/java/org/jlab/detector/decode/TranslationTable.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import org.jlab.detector.calib.utils.ConstantsManager;
77

88
/**
9+
* An IndexedTable assuming the standard, /daq/tt CCDB format (c/s/c/s/l/c/o),
10+
* appended by a DetectorType column. A global CCDB translation table.
911
*
1012
* @author baltzell
1113
*/
@@ -15,6 +17,10 @@ public TranslationTable() {
1517
super(3,new String[]{"sector/I","layer/I","component/I","order/I","type/I"});
1618
};
1719

20+
/**
21+
* Add a detector's entire translation table.
22+
*
23+
*/
1824
public void add(DetectorType dt, IndexedTable it) {
1925

2026
for (Object key : it.getList().getMap().keySet()) {

0 commit comments

Comments
 (0)