public abstract class Layer extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
ADD_CLUSTER_HAS_NO_CLUSTERS |
(package private) static boolean |
ADD_CLUSTER_SURFACE_HAS_NO_CLUSTERS |
(package private) static boolean |
DROP_CLUSTERS_HAS_NO_CLUSTERS |
(package private) static boolean |
GET_CLUSTERS_HAS_NO_CLUSTERS |
(package private) static boolean |
GET_CLUSTERS_SURFACE_HAS_NO_CLUSTERS |
Constructor and Description |
---|
Layer()
constructor
|
Modifier and Type | Method and Description |
---|---|
protected abstract List |
_propagate(LTrack trl,
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.
|
String |
genericType()
Return the generic type of this class.
|
boolean |
hasClusters()
Return whether this layer or its descendants contains clusters.
|
List |
propagate(ETrack tre,
Propagator prop)
Propagate a track to the first surface in this layer.
|
List |
propagate(LTrack trl,
Propagator prop)
Propagate a track to the next surface in this layer.
|
protected void |
reportInvalidSurface(Surface srf) |
static String |
staticType()
Return the type.
|
static String |
typeName()
Return the type name.
|
static boolean GET_CLUSTERS_HAS_NO_CLUSTERS
static boolean GET_CLUSTERS_SURFACE_HAS_NO_CLUSTERS
static boolean ADD_CLUSTER_HAS_NO_CLUSTERS
static boolean ADD_CLUSTER_SURFACE_HAS_NO_CLUSTERS
static boolean DROP_CLUSTERS_HAS_NO_CLUSTERS
public static String typeName()
public static String staticType()
protected void reportInvalidSurface(Surface srf)
public String genericType()
public List propagate(ETrack tre, Propagator prop)
tre
- ETrackprop
- Propagatorpublic List propagate(LTrack trl, Propagator prop)
trl
- LTrackprop
- Propagatorpublic boolean hasClusters()
protected abstract List _propagate(LTrack trl, Propagator prop)
public List clusterSurfaces()
public List clusters()
public List clusters(Surface srf)
srf
- Surfacepublic int addCluster(Cluster clu)
clu
- Cluster to addpublic int addCluster(Cluster clu, Surface srf)
clu
- Cluster to addsrf
- Surface to which to addpublic void dropClusters()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.