public class HitZPlane2Generator extends HitGenerator
Modifier and Type | Field and Description |
---|---|
private HitError |
_dhm |
private SurfZPlane |
_szp |
private static int |
IX |
private static int |
IY |
Constructor and Description |
---|
HitZPlane2Generator(double zpos,
HitError dhm)
Construct an instance from the z plane position and measurement
position uncertainty.
|
HitZPlane2Generator(double zpos,
HitError dhm,
long iseed)
Construct an instance from the z plane position the measurement position uncertainty
and random number seed.
|
HitZPlane2Generator(HitZPlane2Generator gen)
Construct an instance replicating the HitZPlane2Generator ( copy constructor ).
|
Modifier and Type | Method and Description |
---|---|
Cluster |
newCluster(VTrack trv)
Generate a new cluster.
|
Cluster |
newCluster(VTrack trv,
int mcid)
Generate a new cluster with the specified Monte Carlo track ID.
|
Surface |
surface()
Return the surface associated with this HitZPlane2Generator.
|
String |
toString()
output stream
|
private static final int IX
private static final int IY
private SurfZPlane _szp
private HitError _dhm
public HitZPlane2Generator(double zpos, HitError dhm)
zpos
- The z position of the plane.dhm
- The hit error covariance matrix.public HitZPlane2Generator(double zpos, HitError dhm, long iseed)
zpos
- The z position of the plane.dhm
- The hit error covariance matrix.iseed
- The seed for the random number used by the HitGenerator.public HitZPlane2Generator(HitZPlane2Generator gen)
gen
- The HitZPlane2Generator to replicate.public Surface surface()
surface
in class HitGenerator
public Cluster newCluster(VTrack trv)
trv
- The VTrack for which to generate a cluster at this surface.public Cluster newCluster(VTrack trv, int mcid)
newCluster
in class HitGenerator
trv
- The VTrack for which to generate a cluster at this surface.mcid
- The MC ID to associate with this cluster.public String toString()
toString
in class RandomGenerator
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.