public class SeedCandidate extends Object
Modifier and Type | Field and Description |
---|---|
private double |
_bfield |
private boolean |
_debug |
private HelicalTrackFit |
_helix |
private List<HelicalTrackHit> |
_hits |
private Set<MCParticle> |
_mcpset |
private Map<HelicalTrackHit,MultipleScatter> |
_msmap |
private Set<Integer> |
_pdgset |
private List<ScatterAngle> |
_scatters |
private SeedStrategy |
_strategy |
private LinkedList<SeedLayer> |
_unchecked |
Constructor and Description |
---|
SeedCandidate(List<HelicalTrackHit> hits,
SeedStrategy strategy) |
SeedCandidate(List<HelicalTrackHit> hits,
SeedStrategy strategy,
double bfield)
Create a new SeedCandidate from a list of hits.
|
SeedCandidate(List<HelicalTrackHit> hits,
SeedStrategy strategy,
HelicalTrackFit helix,
double bfield)
Create a new SeedCandidate from a list of hits and a helix.
|
SeedCandidate(SeedCandidate seed)
Creates a clone of an existing instance of SeedCandidate.
|
SeedCandidate(SeedStrategy strategy,
double bfield)
Create an empty SeedCandidate.
|
Modifier and Type | Method and Description |
---|---|
void |
addHit(HelicalTrackHit hit)
Add a hit to the SeedCandidate.
|
private void |
CheckHit(HelicalTrackHit hit) |
private boolean |
CheckMCParticle(MCParticle mcp) |
private void |
FindMCParticles() |
double |
getBField() |
HelicalTrackFit |
getHelix()
Return the HelicalTrackFit associated with this SeedCandidate.
|
List<HelicalTrackHit> |
getHits()
Return a list of hits associated with this SeedCandidate.
|
Set<MCParticle> |
getMCParticles() |
Map<HelicalTrackHit,MultipleScatter> |
getMSMap() |
SeedLayer |
getNextLayer() |
List<ScatterAngle> |
getScatterAngles() |
SeedStrategy |
getSeedStrategy()
Return the SeedStrategy used to construct this SeedCandidate.
|
Set<Integer> |
getTruePDG() |
LinkedList<SeedLayer> |
getUncheckedLayers() |
boolean |
isTrueSeed() |
void |
setHelix(HelicalTrackFit helix)
Associate a HelicalTrackFit with this SeedCandidate.
|
void |
setHits(List<HelicalTrackHit> hits)
Assign a list of TrackerHits to the SeedCandidate.
|
void |
setMSMap(Map<HelicalTrackHit,MultipleScatter> msmap) |
void |
setScatterAngles(List<ScatterAngle> scatters) |
void |
setStrategy(SeedStrategy strategy)
Set the SeedStrategy used to construct this SeedCandidate.
|
void |
setTruePDG(int pdgid) |
void |
setUncheckedLayers(List<SeedLayer> unchecked) |
String |
toString() |
private void |
UpdateMSMap(HelicalTrackHit hit) |
private List<HelicalTrackHit> _hits
private HelicalTrackFit _helix
private double _bfield
private SeedStrategy _strategy
private Map<HelicalTrackHit,MultipleScatter> _msmap
private List<ScatterAngle> _scatters
private LinkedList<SeedLayer> _unchecked
private Set<MCParticle> _mcpset
private boolean _debug
public SeedCandidate(SeedStrategy strategy, double bfield)
public SeedCandidate(List<HelicalTrackHit> hits, SeedStrategy strategy, double bfield)
hits
- list of hits for this SeedCandidatestrategy
- strategy used for this SeedCandidatepublic SeedCandidate(List<HelicalTrackHit> hits, SeedStrategy strategy, HelicalTrackFit helix, double bfield)
hits
- list of hits for this SeedCandidatestrategy
- strategy used for this SeedCandidatehelix
- HelicalTrackFit associated with the SeedCandidatepublic SeedCandidate(List<HelicalTrackHit> hits, SeedStrategy strategy)
public SeedCandidate(SeedCandidate seed)
seed
- existing SeedCandidate to be clonedpublic void setHits(List<HelicalTrackHit> hits)
hits
- list of hits for this SeedCandidatepublic void addHit(HelicalTrackHit hit)
hit
- TrackerHit to be added to the SeedCandidatepublic List<HelicalTrackHit> getHits()
public void setStrategy(SeedStrategy strategy)
strategy
- strategy used to construct this SeedCandidatepublic SeedStrategy getSeedStrategy()
public void setHelix(HelicalTrackFit helix)
helix
- helix for this SeedCandidatepublic HelicalTrackFit getHelix()
public void setMSMap(Map<HelicalTrackHit,MultipleScatter> msmap)
public Map<HelicalTrackHit,MultipleScatter> getMSMap()
public void setScatterAngles(List<ScatterAngle> scatters)
public List<ScatterAngle> getScatterAngles()
public LinkedList<SeedLayer> getUncheckedLayers()
public SeedLayer getNextLayer()
public Set<MCParticle> getMCParticles()
public void setTruePDG(int pdgid)
public boolean isTrueSeed()
public double getBField()
private void UpdateMSMap(HelicalTrackHit hit)
private void FindMCParticles()
private boolean CheckMCParticle(MCParticle mcp)
private void CheckHit(HelicalTrackHit hit)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.