Skip to content

Commit a322728

Browse files
committed
cleanup
1 parent 30d8952 commit a322728

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

common-tools/clas-reco/src/main/java/org/jlab/clas/reco/EngineProcessor.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,19 +292,14 @@ public void processFile(String file, String output){
292292
* @param nevents number of events to process
293293
*/
294294
public void processFile(String file, String output, int nskip, int nevents){
295-
if(file.endsWith(".hipo")==true||file.endsWith(".h5")==true
296-
||file.endsWith(".h4")==true){
295+
if(file.endsWith(".hipo") || file.endsWith(".h5") || file.endsWith(".h4")) {
297296
HipoDataSource reader = new HipoDataSource();
298297
reader.open(file);
299298

300299
int eventCounter = 0;
301300
HipoDataSync writer = new HipoDataSync();
302301
writer.setCompressionType(2);
303302

304-
// this doesn't work (before or after "open"):
305-
//if (this.banksToKeep != null)
306-
// writer.getWriter().getSchemaFactory().reduce(banksToKeep.getSchemaKeys());
307-
308303
writer.open(output);
309304

310305
if(updateDictionary==true)

0 commit comments

Comments
 (0)