Skip to content

Commit 4da7978

Browse files
zieglerc-dilks
authored andcommitted
Fix to get the status of the BMT raw hits for MC
1 parent c3555f3 commit 4da7978

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

reconstruction/cvt/src/main/java/org/jlab/rec/cvt/banks/HitReader.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ public void fetch_BMTHits(DataEvent event, Swim swim, IndexedTable status,
117117
int strip = bankDGTZ.getShort("component", i);
118118
double ADCtoEdep = bankDGTZ.getInt("ADC", i);
119119
double time = bankDGTZ.getFloat("time", i);
120-
int order = bankDGTZ.trueOrder(i);
120+
int order = bankDGTZ.getByte("order", i);;
121+
if(Constants.getInstance().timeCuts
122+
&& !Constants.getInstance().QDCDATSample) {
123+
order = bankDGTZ.trueOrder(i);
124+
}
121125
//if (order == 1) {
122126
// continue;
123127
//}

0 commit comments

Comments
 (0)