public class HitXYPlane2Generator extends HitGenerator
Modifier and Type | Field and Description |
---|---|
private HitError |
_dhm |
private SurfXYPlane |
_sxyp |
private static int |
IV |
private static int |
IZ |
Constructor and Description |
---|
HitXYPlane2Generator(double dist,
double phi,
HitError dhm)
Construct an instance from the xy plane disance and angle and
hit error covariance matrix.
|
HitXYPlane2Generator(double dist,
double phi,
HitError dhm,
long iseed)
Construct an instance from the xy plane disance and angle,
hit error covariance matrix and random number seed.
|
HitXYPlane2Generator(HitXYPlane2Generator gen)
Construct an instance replicating the HitXYPlane2Generator ( 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 HitXYPlane2Generator.
|
String |
toString()
output stream
|
private static final int IV
private static final int IZ
private SurfXYPlane _sxyp
private HitError _dhm
public HitXYPlane2Generator(double dist, double phi, HitError dhm)
dist
- The shortest distance to the plane from the z axis.phi
- The angle of the normal to the plane with respect to the x axis.dhm
- The hit error covariance matrix.public HitXYPlane2Generator(double dist, double phi, HitError dhm, long iseed)
dist
- The shortest distance to the plane from the z axis.phi
- The angle of the normal to the plane with respect to the x axis.dhm
- The hit error covariance matrix.iseed
- The seed for the random number used by the HitGenerator.public HitXYPlane2Generator(HitXYPlane2Generator gen)
gen
- The HitXYPlane2Generator 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.