public class HitXYPlane1Generator extends HitGenerator
Modifier and Type | Field and Description |
---|---|
private double |
_davz |
private SurfXYPlane |
_sxyp |
private double |
_wv |
private double |
_wz |
Constructor and Description |
---|
HitXYPlane1Generator(double dist,
double phi,
double wv,
double wz,
double davz)
Construct an instance from the xy plane disance and angle, mixing and measurement uncertainty as a gaussian sigma.
|
HitXYPlane1Generator(double dist,
double phi,
double wv,
double wz,
double davz,
long iseed)
Construct an instance from the xy plane disance and angle, mixing, measurement
uncertainty as a gaussian sigma and random number seed.
|
HitXYPlane1Generator(HitXYPlane1Generator gen)
Construct an instance replicating the HitZPlane1Generator ( 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 HitXYPlane1Generator.
|
String |
toString()
output stream
|
private SurfXYPlane _sxyp
private double _wv
private double _wz
private double _davz
public HitXYPlane1Generator(double dist, double phi, double wv, double wz, double davz)
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.wv
- The stereo angle in the v direction.wz
- The stereo angle in the z direction.davz
- The gaussian sigma for the vz measurement uncertainty.public HitXYPlane1Generator(double dist, double phi, double wv, double wz, double davz, 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.wv
- The stereo angle in the v direction.wz
- The stereo angle in the z direction.davz
- The gaussian sigma for the vz measurement uncertainty.iseed
- The seed for the random number used by the HitGenerator.public HitXYPlane1Generator(HitXYPlane1Generator gen)
gen
- The HitZPlane1Generator 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.