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