public class TrackMcHitInfo extends Object
Modifier and Type | Field and Description |
---|---|
private int |
_bestid |
private List |
_mcidlist |
private Map |
_mcidmap |
private int |
_numhits |
private double |
_purity |
Constructor and Description |
---|
TrackMcHitInfo()
Default Constructor leaves the object incomplete
|
TrackMcHitInfo(int nhits,
Map mcidmap)
Full Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
bestMcId()
Return the best MC ID for this track.
|
List |
mc_idlist()
Return the full list of MC IDs.
|
Map |
mcHitNumber()
Return a map of MC IDs with the number of hits for that ID.
|
int |
numHits()
Return the number of hits on this track.
|
double |
purity()
Return the purity of this track.
|
String |
toString()
Output stream
|
private Map _mcidmap
private int _numhits
private int _bestid
private double _purity
private List _mcidlist
public TrackMcHitInfo()
public TrackMcHitInfo(int nhits, Map mcidmap)
nhits
- The number of hits on this track.mcidmap
- The map of number of hits per MC ID keyed on id.public int bestMcId()
public double purity()
public int numHits()
public List mc_idlist()
public Map mcHitNumber()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.