Package org.jlab.rec.dc.segment
Class SegmentFinder
java.lang.Object
org.jlab.rec.dc.segment.SegmentFinder
A Segment is a fitted cluster that has been pruned of hits with bad residuals
(see Constants)
- Author:
- ziegler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
get_LayerEfficiencies
(Segment seg, org.jlab.io.base.DataEvent event, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector) get_Segments
(List<FittedCluster> allClusters, org.jlab.io.base.DataEvent event, org.jlab.detector.geant4.v2.DCGeant4Factory DcDetector, boolean runLayersEffs) selectTimeBasedSegments
(List<FittedCluster> clusters)
-
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
- Segmentevent
- HipoDataEventDcDetector
- 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 clustersevent
-DcDetector
-runLayersEffs
-- Returns:
- the list of segments obtained from the clusters
-
selectTimeBasedSegments
- Parameters:
clusters
- list of fitted clusters- Returns:
- list of time-based fitted clusters
-