@@ -9,7 +9,7 @@ public class RICHEBEngine extends ReconstructionEngine {
99
1010 private int Ncalls = 0 ;
1111 private RICHGeoFactory richgeo ;
12- boolean ebRich = false ;
12+ boolean disableDsts = false ;
1313
1414 public RICHEBEngine () {
1515 super ("RICHEB" , "mcontalb" , "3.0" );
@@ -64,10 +64,12 @@ public boolean init() {
6464 String v = Optional .ofNullable (getEngineConfigString ("variation" )).orElse ("default" );
6565 getConstantsManager ().setVariation (v );
6666
67- ebRich = getEngineConfigString ("eb-rich" ) != null ;
68-
6967 return true ;
7068 }
69+
70+ public void disableDsts (boolean value ) {
71+ disableDsts = value ;
72+ }
7173
7274 @ Override
7375 public void detectorChanged (int runNumber ) {
@@ -83,7 +85,7 @@ public boolean processDataEventUser(DataEvent event) {
8385 RICHCalibration richcal = new RICHCalibration ();
8486 RICHParameters richpar = new RICHParameters ();
8587 RICHPMTReconstruction rpmt = new RICHPMTReconstruction (richevent , richgeo , richio );
86- RICHEventBuilder reb = new RICHEventBuilder (event , richevent , richgeo , ebRich ?null :richio );
88+ RICHEventBuilder reb = new RICHEventBuilder (event , richevent , richgeo , disableDsts ?null :richio );
8789 RICHRayTrace richtrace = new RICHRayTrace (richgeo , richpar );
8890
8991 // Initialize the CCDB information
0 commit comments