public class LayerTest extends Layer
Modifier and Type | Field and Description |
---|---|
private List |
_clusters |
private int |
_count |
private ClusterFinderTest |
_finder |
private Surface |
_srf |
private boolean |
debug |
ADD_CLUSTER_HAS_NO_CLUSTERS, ADD_CLUSTER_SURFACE_HAS_NO_CLUSTERS, DROP_CLUSTERS_HAS_NO_CLUSTERS, GET_CLUSTERS_HAS_NO_CLUSTERS, GET_CLUSTERS_SURFACE_HAS_NO_CLUSTERS
Constructor and Description |
---|
LayerTest(double x) |
LayerTest(double x,
int count) |
Modifier and Type | Method and Description |
---|---|
List |
_propagate(LTrack trl0,
Propagator prop) |
int |
addCluster(Cluster clu)
Add a cluster to the layer.
|
int |
addCluster(Cluster clu,
Surface srf)
Add a cluster to a particular surface in the layer.
|
List |
clusters()
Return all the clusters associated with the current layer
or its descendants.
|
List |
clusters(Surface srf)
Return all the clusters associated with a particular surface
in this layer.
|
List |
clusterSurfaces()
Return the list of active surfaces -- i.e.
|
void |
dropClusters()
Drop all clusters from this layer.
|
boolean |
equals(LayerTest lt) |
int |
get_count() |
Surface |
get_surface() |
String |
get_type() |
static String |
staticType() |
String |
toString() |
static String |
typeName() |
genericType, hasClusters, propagate, propagate, reportInvalidSurface
private boolean debug
private Surface _srf
private ClusterFinderTest _finder
private int _count
private List _clusters
public LayerTest(double x)
public LayerTest(double x, int count)
public static String typeName()
public static String staticType()
public String get_type()
public int get_count()
public Surface get_surface()
public List _propagate(LTrack trl0, Propagator prop)
_propagate
in class Layer
public List clusterSurfaces()
Layer
clusterSurfaces
in class Layer
public List clusters()
Layer
public List clusters(Surface srf)
Layer
public void dropClusters()
Layer
dropClusters
in class Layer
public int addCluster(Cluster clu)
Layer
addCluster
in class Layer
clu
- Cluster to addpublic int addCluster(Cluster clu, Surface srf)
Layer
addCluster
in class Layer
clu
- Cluster to addsrf
- Surface to which to addpublic boolean equals(LayerTest lt)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.