public class HitCylPhiZGenerator extends HitGenerator
Modifier and Type | Field and Description |
---|---|
private double |
_dphiz |
private Surface |
_srf |
private double |
_stereo |
Constructor and Description |
---|
HitCylPhiZGenerator(HitCylPhiZGenerator hgen)
Construct an instance replicating the HitCylPhiZGenerator ( copy constructor ).
|
HitCylPhiZGenerator(SurfCylinder srf,
double stereo,
double dphiz)
Construct an instance from a cylinder surface, the stereo angle and the measurement uncertainty.
|
HitCylPhiZGenerator(SurfCylinder srf,
double stereo,
double dphiz,
long iseed)
Construct an instance from a cylinder surface, the stereo angle, the measurement uncertainty
and a random number seed.
|
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 HitCylPhiZGenerator.
|
String |
toString()
output stream
|
private Surface _srf
private double _stereo
private double _dphiz
public HitCylPhiZGenerator(SurfCylinder srf, double stereo, double dphiz)
srf
- The cylindrical surface.stereo
- The stereo angle.dphiz
- The gaussian sigma for the phi-z stereo measurement uncertainty.public HitCylPhiZGenerator(SurfCylinder srf, double stereo, double dphiz, long iseed)
srf
- The cylindrical surface.stereo
- The stereo angle.dphiz
- The gaussian sigma for the phi-z stereo measurement uncertainty.iseed
- The seed for the random number used by the HitGenerator.public HitCylPhiZGenerator(HitCylPhiZGenerator hgen)
hgen
- The HitCylPhiZGenerator 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.