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