public final class AxialTrackReconDriver
extends org.lcsim.util.Driver
Modifier and Type | Field and Description |
---|---|
private double |
bfield |
private boolean |
debug |
(package private) org.lcsim.geometry.Detector |
detector |
private String |
helicalTrackHitRelationsCollectionName |
private String |
helicalTrackMCRelationsCollectionName |
private String |
hthOutputCollectionName |
(package private) int |
nevents |
(package private) int |
ntracks |
private List<org.lcsim.recon.tracking.seedtracker.SeedStrategy> |
sFinallist |
private String |
simTrackerHitCollectionName |
private String |
stInputCollectionName |
private String |
strategyResource |
private String |
stripHitsCollectionName |
private double |
stripMaxSeparation |
private double |
stripTolerance |
private String |
subdetectorName |
private String |
trackCollectionName |
Constructor and Description |
---|
AxialTrackReconDriver() |
Modifier and Type | Method and Description |
---|---|
private void |
addTracksToEvent(org.lcsim.event.EventHeader event,
List<org.lcsim.recon.tracking.seedtracker.SeedCandidate> seedlist,
double bfield) |
void |
detectorChanged(org.lcsim.geometry.Detector detector)
This is used to setup the Drivers after XML config.
|
void |
endOfData() |
org.lcsim.fit.helicaltrack.HelicalTrackFit |
fit(org.lcsim.recon.tracking.seedtracker.SeedCandidate seed) |
private List<org.lcsim.fit.helicaltrack.HelicalTrackHit> |
getLayerHits(List<org.lcsim.fit.helicaltrack.HelicalTrackHit> hth,
int layer) |
private Map<org.lcsim.fit.helicaltrack.HelicalTrackHit,Double> |
getPathLengths(List<org.lcsim.fit.helicaltrack.HelicalTrackHit> hits) |
private void |
initialize()
Setup all the child Drivers necessary for track reconstruction.
|
void |
process(org.lcsim.event.EventHeader event)
This method is used to run the reconstruction and print debug information.
|
void |
setDebug(boolean debug) |
void |
setHelicalTrackHitRelationsCollectionName(String helicalTrackHitRelationsCollectionName) |
void |
setHelicalTrackMCRelationsCollectionName(String helicalTrackMCRelationsCollectionName) |
void |
setInputHitCollectionName(String inputHitCollectionName) |
void |
setOutputHitCollectionName(String outputHitCollectionName) |
void |
setSimTrackerHitCollectionName(String simTrackerHitCollectionName)
Set the SimTrackerHit collection to be used for tracking.
|
void |
setStrategyResource(String strategyResource)
Set the tracking strategy resource.
|
void |
setStripHitsCollectionName(String stripHitsCollectionName) |
void |
setStripMaxSeparation(double stripMaxSeparation) |
void |
setStripTolerance(double stripTolerance) |
void |
setSubdetectorName(String subdetectorName) |
void |
setTrackCollectionName(String trackCollectionName) |
void |
startOfData()
Call super for child processing at start of data.
|
private boolean debug
int ntracks
int nevents
org.lcsim.geometry.Detector detector
private double bfield
private String subdetectorName
private String simTrackerHitCollectionName
private String strategyResource
private String trackCollectionName
private String stInputCollectionName
private String hthOutputCollectionName
private String stripHitsCollectionName
private String helicalTrackHitRelationsCollectionName
private String helicalTrackMCRelationsCollectionName
private double stripMaxSeparation
private double stripTolerance
private List<org.lcsim.recon.tracking.seedtracker.SeedStrategy> sFinallist
public void setDebug(boolean debug)
public void setSubdetectorName(String subdetectorName)
public void setStrategyResource(String strategyResource)
strategyResource
- The absolute path to the strategy resource in the hps-java jar.public void setHelicalTrackHitRelationsCollectionName(String helicalTrackHitRelationsCollectionName)
public void setHelicalTrackMCRelationsCollectionName(String helicalTrackMCRelationsCollectionName)
public void setInputHitCollectionName(String inputHitCollectionName)
public void setOutputHitCollectionName(String outputHitCollectionName)
public void setStripHitsCollectionName(String stripHitsCollectionName)
public void setTrackCollectionName(String trackCollectionName)
public void setStripMaxSeparation(double stripMaxSeparation)
public void setStripTolerance(double stripTolerance)
public void setSimTrackerHitCollectionName(String simTrackerHitCollectionName)
simTrackerHitCollectionName
- The name of the SimTrackerHit collection in the event.public void detectorChanged(org.lcsim.geometry.Detector detector)
detectorChanged
in class org.lcsim.util.Driver
private void initialize()
public void startOfData()
startOfData
in class org.lcsim.util.Driver
public void process(org.lcsim.event.EventHeader event)
process
in class org.lcsim.util.Driver
public org.lcsim.fit.helicaltrack.HelicalTrackFit fit(org.lcsim.recon.tracking.seedtracker.SeedCandidate seed)
private Map<org.lcsim.fit.helicaltrack.HelicalTrackHit,Double> getPathLengths(List<org.lcsim.fit.helicaltrack.HelicalTrackHit> hits)
private List<org.lcsim.fit.helicaltrack.HelicalTrackHit> getLayerHits(List<org.lcsim.fit.helicaltrack.HelicalTrackHit> hth, int layer)
public void endOfData()
endOfData
in class org.lcsim.util.Driver
private void addTracksToEvent(org.lcsim.event.EventHeader event, List<org.lcsim.recon.tracking.seedtracker.SeedCandidate> seedlist, double bfield)
Copyright © 2019. All rights reserved.