public class ThinCylMsSim extends SimInteractor
Modifier and Type | Field and Description |
---|---|
private Random |
_r |
private double |
_radLength |
Constructor and Description |
---|
ThinCylMsSim(double radLength)
Construct an instance from the number of radiation
lengths of the thin cylindrical shell material.
|
ThinCylMsSim(ThinCylMs inter)
Construct an instance from a ThinCylMs Interactor.
|
Modifier and Type | Method and Description |
---|---|
void |
interact(VTrack vtrk)
Interact the given track in this cylindrical shell,
using the thin material approximation for multiple scattering.
|
SimInteractor |
newCopy()
Make a clone of this object.
|
double |
radLength()
Return the number of radiation lengths of material in this cylindrical shell.
|
String |
toString()
output stream
|
private double _radLength
private Random _r
public ThinCylMsSim(double radLength)
radLength
- The thickness of the material in radiation lengths.public ThinCylMsSim(ThinCylMs inter)
inter
- The ThinCylMs Interactor for this cylindrical shell.public void interact(VTrack vtrk)
interact
in class SimInteractor
vtrk
- The Vrack to scatter.public double radLength()
public SimInteractor newCopy()
newCopy
in class SimInteractor
public String toString()
toString
in class RandomGenerator
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.