Skip to content

Commit bacf0a7

Browse files
committed
debug
1 parent 0ca54a1 commit bacf0a7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • common-tools/clas-detector/src/main/java/org/jlab/detector/serial

‎common-tools/clas-detector/src/main/java/org/jlab/detector/serial/Occupancer.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import org.jlab.utils.groups.IndexedTable.IndexedEntry;
1010
import org.jlab.detector.banks.RawBank;
1111
import org.jlab.detector.banks.RawBank.OrderGroups;
12+
import org.jlab.detector.banks.RawDataBank;
1213
import org.jlab.jnp.hipo4.data.Bank;
1314
import org.jlab.jnp.hipo4.data.Event;
1415
import org.jlab.jnp.hipo4.data.Schema;
@@ -134,9 +135,9 @@ public synchronized final void fill(float weight, int... index) {
134135
* @param weighted
135136
*/
136137
public void fill(Event event, boolean weighted) {
137-
RawBank bank = new RawBank(hitSchema, 1000, OrderGroups.NODENOISE);
138+
RawDataBank bank = new RawDataBank(hitSchema.getName(), 1000, OrderGroups.NODENOISE);
138139
bank.read(event);
139-
System.err.println(bank.rows());
140+
System.err.println(hitSchema.getName() + bank.rows());
140141
final int rows = bank.rows();
141142
int[] idx = new int[table.getList().getIndexSize()];
142143
for (int i=0; i<rows; i++) {

0 commit comments

Comments
 (0)