public class InteractingLayer extends Layer
Modifier and Type | Field and Description |
---|---|
private Interactor |
_inter |
private Layer |
_lyr |
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 |
---|
InteractingLayer(Layer lyr,
Interactor inter)
constructor from a Layer and an Interactor
|
Modifier and Type | Method and Description |
---|---|
private void |
_interact(ETrack tre) |
List |
_propagate(LTrack tr1,
Propagator prop)
Propagate a track to the next surface in this layer.
|
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()
call the containing class's get_cluster_surfaces()
|
void |
dropClusters()
Drop all clusters from this layer.
|
boolean |
hasClusters()
call the contained class's has_clusters:
|
Interactor |
interactor()
Return the interactor.
|
Layer |
layer()
Return the layer.
|
static String |
staticType()
Return the type.
|
String |
toString()
output stream
|
String |
type()
Return the type.
|
static String |
typeName()
Return the type name.
|
genericType, propagate, propagate, reportInvalidSurface
private Layer _lyr
private Interactor _inter
public InteractingLayer(Layer lyr, Interactor inter)
lyr
- Layerinter
- Interactorpublic static String typeName()
public static String staticType()
public List _propagate(LTrack tr1, Propagator prop)
_propagate
in class Layer
tr1
- LTrackprop
- Propagatorprivate void _interact(ETrack tre)
public String type()
public Layer layer()
public Interactor interactor()
public boolean hasClusters()
hasClusters
in class Layer
public List clusterSurfaces()
clusterSurfaces
in class Layer
public List clusters()
public List clusters(Surface srf)
public int addCluster(Cluster clu)
addCluster
in class Layer
clu
- Cluster to addpublic int addCluster(Cluster clu, Surface srf)
addCluster
in class Layer
clu
- Clustersrf
- Surfacepublic void dropClusters()
dropClusters
in class Layer
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.