test_class.file: reconstruction/cvt/src/test/java/org/jlab/rec/cvt/services/CVTReconstructionTest.java
test_class.identifier: CVTReconstructionTest
test_case.body: @Test
      public void testCVTReconstruction() {
          
          System.setProperty("CLAS12DIR", "../../");
         
          String mapDir = CLASResources.getResourcePath("etc")+"/data/magfield";
          try {
              MagneticFields.getInstance().initializeMagneticFields(mapDir,
                      "Symm_torus_r2501_phi16_z251_24Apr2018.dat","Symm_solenoid_r601_phi1_z1201_13June2018.dat");
          }
          catch (Exception e) {
              e.printStackTrace();
          }
          
          String dir = ClasUtilsFile.getResourceDir("CLAS12DIR", "etc/bankdefs/hipo4");
          SchemaFactory schemaFactory = new SchemaFactory();
          schemaFactory.initFromDirectory(dir);
      
          DataEvent testEvent = TestEvent.getCVTTestEvent(schemaFactory);
  
          MagFieldsEngine enf = new MagFieldsEngine();
          enf.init();
          enf.processDataEvent(testEvent);
          
          CVTReconstruction CVTengine = new CVTReconstruction();
          CVTengine.init();
          
          testEvent.show();
          CVTengine.processDataEvent(testEvent);
          testEvent.show();
          EBHBEngine EBHBengine = new EBHBEngine();
          EBHBengine.init();
          EBHBengine.processDataEvent(testEvent);
  
          EBTBEngine EBTBengine = new EBTBEngine();
          EBTBengine.init();
          EBTBengine.processDataEvent(testEvent);
  
          assertEquals(testEvent.hasBank("REC::Particle"), true);
          assertEquals(testEvent.getBank("REC::Particle").rows(), 1);
          assertEquals(testEvent.getBank("REC::Particle").getByte("charge", 0), 1);
          assertEquals(ClasMath.isWithinXPercent(10.0, testEvent.getBank("REC::Particle").getFloat("px", 0), 1.9504), true);
          assertEquals(ClasMath.isWithinXPercent(10.0, testEvent.getBank("REC::Particle").getFloat("py", 0), 0.2741), true);
          assertEquals(ClasMath.isWithinXPercent(10.0, testEvent.getBank("REC::Particle").getFloat("pz", 0), 0.3473), true);
          assertEquals(ClasMath.isWithinXPercent(30.0, testEvent.getBank("REC::Particle").getFloat("vz", 0), -1.95444), true); 
  
      }
test_case.class_method_signature: CVTReconstructionTest.testCVTReconstruction()
test_case.full_signature: @Test public void testCVTReconstruction()
test_case.identifier: testCVTReconstruction
test_case.invocations: setProperty getResourcePath initializeMagneticFields getInstance printStackTrace getResourceDir initFromDirectory getCVTTestEvent init processDataEvent init show processDataEvent show init processDataEvent init processDataEvent assertEquals hasBank assertEquals rows getBank assertEquals getByte getBank assertEquals isWithinXPercent getFloat getBank assertEquals isWithinXPercent getFloat getBank assertEquals isWithinXPercent getFloat getBank assertEquals isWithinXPercent getFloat getBank
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCVTReconstruction()
focal_class.declarator: SVTGeom
focal_class.original_string: org.jlab.rec.cvt.svt.Geometry SVTGeom;
focal_class.type: org.jlab.rec.cvt.svt.Geometry
focal_class.var_name: SVTGeom
focal_class.declarator: BMTGeom
focal_class.original_string: org.jlab.rec.cvt.bmt.Geometry BMTGeom;
focal_class.type: org.jlab.rec.cvt.bmt.Geometry
focal_class.var_name: BMTGeom
focal_class.declarator: CTOFGeom
focal_class.original_string: CTOFGeant4Factory CTOFGeom;
focal_class.type: CTOFGeant4Factory
focal_class.var_name: CTOFGeom
focal_class.declarator: CNDGeom
focal_class.original_string: Detector          CNDGeom ;
focal_class.type: Detector
focal_class.var_name: CNDGeom
focal_class.declarator: svtIdealStripFactory
focal_class.original_string: SVTStripFactory svtIdealStripFactory;
focal_class.type: SVTStripFactory
focal_class.var_name: svtIdealStripFactory
focal_class.declarator: FieldsConfig = ""
focal_class.original_string: String FieldsConfig = "";
focal_class.type: String
focal_class.var_name: FieldsConfig
focal_class.declarator: Run = -1
focal_class.original_string: int Run = -1;
focal_class.type: int
focal_class.var_name: Run
focal_class.declarator: variationName
focal_class.modifier: private
focal_class.original_string: private String variationName;
focal_class.type: String
focal_class.var_name: variationName
focal_class.file: reconstruction/cvt/src/main/java/org/jlab/rec/cvt/services/CVTReconstruction.java
focal_class.identifier: CVTReconstruction
focal_class.class_method_signature: CVTReconstruction.CVTReconstruction()
focal_class.full_signature: public  CVTReconstruction()
focal_class.identifier: CVTReconstruction
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CVTReconstruction()
focal_class.class_method_signature: CVTReconstruction.setRunConditionsParameters(DataEvent event, String FieldsConfig, int iRun, boolean addMisAlignmts, String misAlgnFile)
focal_class.full_signature: public void setRunConditionsParameters(DataEvent event, String FieldsConfig, int iRun, boolean addMisAlignmts, String misAlgnFile)
focal_class.identifier: setRunConditionsParameters
focal_class.modifiers: public
focal_class.parameters: (DataEvent event, String FieldsConfig, int iRun, boolean addMisAlignmts, String misAlgnFile)
focal_class.return: void
focal_class.signature: void setRunConditionsParameters(DataEvent event, String FieldsConfig, int iRun, boolean addMisAlignmts, String misAlgnFile)
focal_class.class_method_signature: CVTReconstruction.getRun()
focal_class.full_signature: public int getRun()
focal_class.identifier: getRun
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getRun()
focal_class.class_method_signature: CVTReconstruction.setRun(int run)
focal_class.full_signature: public void setRun(int run)
focal_class.identifier: setRun
focal_class.modifiers: public
focal_class.parameters: (int run)
focal_class.return: void
focal_class.signature: void setRun(int run)
focal_class.class_method_signature: CVTReconstruction.getFieldsConfig()
focal_class.full_signature: public String getFieldsConfig()
focal_class.identifier: getFieldsConfig
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFieldsConfig()
focal_class.class_method_signature: CVTReconstruction.setFieldsConfig(String fieldsConfig)
focal_class.full_signature: public void setFieldsConfig(String fieldsConfig)
focal_class.identifier: setFieldsConfig
focal_class.modifiers: public
focal_class.parameters: (String fieldsConfig)
focal_class.return: void
focal_class.signature: void setFieldsConfig(String fieldsConfig)
focal_class.class_method_signature: CVTReconstruction.processDataEvent(DataEvent event)
focal_class.full_signature: @Override public boolean processDataEvent(DataEvent event)
focal_class.identifier: processDataEvent
focal_class.modifiers: @Override public
focal_class.parameters: (DataEvent event)
focal_class.return: boolean
focal_class.signature: boolean processDataEvent(DataEvent event)
focal_class.class_method_signature: CVTReconstruction.CleanupSpuriousCrosses(List<ArrayList<Cross>> crosses, List<Track> trks)
focal_class.full_signature: private void CleanupSpuriousCrosses(List<ArrayList<Cross>> crosses, List<Track> trks)
focal_class.identifier: CleanupSpuriousCrosses
focal_class.modifiers: private
focal_class.parameters: (List<ArrayList<Cross>> crosses, List<Track> trks)
focal_class.return: void
focal_class.signature: void CleanupSpuriousCrosses(List<ArrayList<Cross>> crosses, List<Track> trks)
focal_class.class_method_signature: CVTReconstruction.init()
focal_class.full_signature: public boolean init()
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean init()
focal_class.superclass: extends ReconstructionEngine
focal_method.body: public CVTReconstruction() {
          super("CVTTracks", "ziegler", "4.0");
          
          SVTGeom = new org.jlab.rec.cvt.svt.Geometry();
          BMTGeom = new org.jlab.rec.cvt.bmt.Geometry();
          
      }
focal_method.class_method_signature: CVTReconstruction.CVTReconstruction()
focal_method.full_signature: public  CVTReconstruction()
focal_method.identifier: CVTReconstruction
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.signature:  CVTReconstruction()