Skip to content

Commit 7c400cf

Browse files
baltzellraffaelladevita
authored andcommitted
fix variable name
1 parent e3bb1a0 commit 7c400cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common-tools/clas-detector/src/main/java/org/jlab/detector/pulse/HipoExtractor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ private static void copyIndices(Bank src, Bank dest, int isrc, int idest) {
9696
dest.putByte("layer", idest, src.getByte("layer",isrc));
9797
dest.putShort("component", idest, src.getShort("component",isrc));
9898
dest.putByte("order", idest, src.getByte("order",isrc));
99-
dest.putShort("id", idest, (short)isrc);
99+
dest.putShort("windex", idest, (short)isrc);
100100
}
101101

102102
private static void copyIndices(DataBank src, DataBank dest, int isrc, int idest) {
103103
dest.setByte("sector", idest, src.getByte("sector",isrc));
104104
dest.setByte("layer", idest, src.getByte("layer",isrc));
105105
dest.setShort("component", idest, src.getShort("component",isrc));
106106
dest.setByte("order", idest, src.getByte("order",isrc));
107-
dest.setShort("id", idest, (short)isrc);
107+
dest.setShort("windex", idest, (short)isrc);
108108
}
109109

110110
private static int[] getIndices(Bank bank, int row) {

etc/bankdefs/hipo4/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
{ "name":"ADC" , "type":"I", "info":"ADC maximum"},
154154
{ "name":"time" , "type":"F", "info":"time from pulse fit"},
155155
{ "name":"ped" , "type":"S", "info":"pedestal from pulse analysis"},
156-
{ "name":"id" , "type":"S", "info":"pointer to row in waveform bank"}
156+
{ "name":"windex" , "type":"S", "info":"row index in waveform bank"}
157157
]
158158
},
159159
{

0 commit comments

Comments
 (0)