public class LayerSimGeneric extends LayerSimulator
Modifier and Type | Field and Description |
---|---|
private List |
_gens |
private Propagator |
_prop |
Constructor and Description |
---|
LayerSimGeneric(Layer lyr,
HitGenerator gen,
Propagator prop)
constructor for one surface
Requires that generator surface is same as layer surface.
|
LayerSimGeneric(Layer lyr,
List gens,
Propagator prop)
constructor for multiple surfaces
Requires that generator surfaces are the same as the layer surface.
|
Modifier and Type | Method and Description |
---|---|
void |
addClusters(VTrack trv0,
int mcid)
Generate clusters
|
private static boolean |
checkSurfaces(Layer lyr,
List gens) |
List |
generators()
return the list of generators
|
String |
toString()
output stream
|
dropClusters, layer
registerGenerators
private List _gens
private Propagator _prop
public LayerSimGeneric(Layer lyr, HitGenerator gen, Propagator prop)
lyr
- Layergen
- HitGeneratorprop
- Propagatorpublic LayerSimGeneric(Layer lyr, List gens, Propagator prop)
lyr
- Layergens
- List of HitGeneratorsprop
- Propagatorpublic List generators()
generators
in class RandomSimulator
public void addClusters(VTrack trv0, int mcid)
addClusters
in class LayerSimulator
trv0
- VTrack for which to generate clustersmcid
- MC track ID to associate with trackpublic String toString()
toString
in class RandomSimulator
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.