public class HitZPlane1Generator extends HitGenerator
Modifier and Type | Field and Description |
---|---|
private double |
_daxy |
private SurfZPlane |
_szp |
private double |
_wx |
private double |
_wy |
Constructor and Description |
---|
HitZPlane1Generator(double zpos,
double wx,
double wy,
double daxy)
Construct an instance from the z plane position, mixing and measurement uncertainty as a gaussian sigma.
|
HitZPlane1Generator(double zpos,
double wx,
double wy,
double daxy,
long iseed)
Construct an instance from the z plane position, mixing,
measurement uncertainty as a gaussian sigma and random number seed.
|
HitZPlane1Generator(HitZPlane1Generator 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 HitZPlane1Generator.
|
String |
toString()
output stream
|
private SurfZPlane _szp
private double _wx
private double _wy
private double _daxy
public HitZPlane1Generator(double zpos, double wx, double wy, double daxy)
zpos
- The z position of the plane.wx
- The stereo angle in the x direction.wy
- The stereo angle in the y direction.daxy
- The gaussian sigma for the xy measurement uncertainty.public HitZPlane1Generator(double zpos, double wx, double wy, double daxy, long iseed)
zpos
- The z position of the plane.wx
- The stereo angle in the x direction.wy
- The stereo angle in the y direction.daxy
- The gaussian sigma for the xy measurement uncertainty.iseed
- The seed for the random number used by the HitGenerator.public HitZPlane1Generator(HitZPlane1Generator 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.