public abstract class LayerSimulator extends RandomSimulator
This class is abstract. A typical implementation would include the layer, hit generators for each active surface in the layer and a propagator.
Modifier | Constructor and Description |
---|---|
protected |
LayerSimulator(Layer lyr) |
Modifier and Type | Method and Description |
---|---|
abstract void |
addClusters(VTrack trv,
int mcid)
Generate clusters from a track and add them to the layer.
|
void |
dropClusters()
drop the clusters from the layer
The default method here invokes the layer drop_clusters method().
|
Layer |
layer()
Return the layer associated with this simulator.
|
generators, registerGenerators, toString
private Layer _lyr
protected LayerSimulator(Layer lyr)
public Layer layer()
public abstract void addClusters(VTrack trv, int mcid)
trv
- VTrack to simulate interactionsmcid
- MC track ID to asociate with VTrackpublic void dropClusters()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.