Skip to content

Commit b0179f7

Browse files
committed
cleanup
1 parent 048fb0c commit b0179f7

1 file changed

Lines changed: 2 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import org.jlab.jnp.hipo4.data.Event;
1414
import org.jlab.jnp.hipo4.data.Schema;
1515
import org.jlab.jnp.hipo4.data.SchemaFactory;
16+
import org.jlab.utils.CLASResources;
1617
import org.jlab.utils.system.ClasUtilsFile;
1718

1819
/**
@@ -23,8 +24,7 @@
2324
public class Occupancer extends ArrayList<Occupancer.OccupanceTable> {
2425

2526
static final String OCC_BANK_DIR = ClasUtilsFile.getResourceDir("CLAS12DIR","etc/bankdefs/hipo4/singles/occupancy");
26-
static final SchemaFactory FULL_SCHEMA = new SchemaFactory();
27-
static { FULL_SCHEMA.initFromDirectory(ClasUtilsFile.getResourceDir("CLAS12DIR","etc/bankdefs/hipo4")); }
27+
static final SchemaFactory FULL_SCHEMA = CLASResources.getFullSchema();
2828

2929
long triggerMask;
3030
int prescale;

0 commit comments

Comments
 (0)