Skip to content

Commit fa5ffe4

Browse files
committed
cleanup
1 parent ee92772 commit fa5ffe4

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

common-tools/clas-detector/src/main/java/org/jlab/detector/calib/utils/OccupanceTable.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ public class OccupanceTable {
2121
Bank occBank;
2222

2323
/**
24-
* A 3-index table.
24+
* A 3-index table, e.g., sector/layer/component.
2525
* @param schema
26-
* @param hits name of the hits bank
26+
* @param hitsBank name of the hits bank
2727
*/
28-
public OccupanceTable(SchemaFactory schema, String hits) {
29-
hitBank = schema.getBank(hits);
30-
occBank = schema.getBank("OCC::"+hits);
28+
public OccupanceTable(SchemaFactory schema, String hitsBank) {
29+
hitBank = schema.getBank(hitsBank);
30+
occBank = schema.getBank("OCC::"+hitsBank);
3131
table = new IndexedTable(3, new String[]{"occ/F"});
3232
}
3333

3434
/**
35-
* A N-index table.
35+
* An N-index table.
3636
* @param schema
37-
* @param hits name of the hits bank
37+
* @param hitsBank name of the hits bank
3838
* @param indexCount number of inidices in the hits bank
3939
*/
40-
public OccupanceTable(SchemaFactory schema, String hits, int indexCount) {
41-
hitBank = schema.getBank(hits);
42-
occBank = schema.getBank("OCC::"+hits);
40+
public OccupanceTable(SchemaFactory schema, String hitsBank, int indexCount) {
41+
hitBank = schema.getBank(hitsBank);
42+
occBank = schema.getBank("OCC::"+hitsBank);
4343
table = new IndexedTable(indexCount, new String[]{"occ/F"});
4444
}
4545

0 commit comments

Comments
 (0)