Class SegmentFinder

java.lang.Object
org.jlab.rec.dc.segment.SegmentFinder

public class SegmentFinder extends Object
A Segment is a fitted cluster that has been pruned of hits with bad residuals (see Constants)
Author:
ziegler
  • Constructor Details

    • SegmentFinder

      public SegmentFinder()
  • Method Details

    • get_LayerEfficiencies

      public void get_LayerEfficiencies(Segment seg, org.jlab.io.base.DataEvent event, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector)
      Parameters:
      seg - Segment
      event - HipoDataEvent
      DcDetector - DC detector utility
    • get_Segments

      public List<Segment> get_Segments(List<FittedCluster> allClusters, org.jlab.io.base.DataEvent event, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector, boolean runLayersEffs)
      Parameters:
      allClusters - the list of fitted clusters
      event -
      DcDetector -
      runLayersEffs -
      Returns:
      the list of segments obtained from the clusters
    • selectTimeBasedSegments

      public List<FittedCluster> selectTimeBasedSegments(List<FittedCluster> clusters)
      Parameters:
      clusters - list of fitted clusters
      Returns:
      list of time-based fitted clusters