public class CylElossSim extends SimInteractor
Modifier and Type | Field and Description |
---|---|
private DeDx |
_dedx |
private double |
_thickness |
Constructor and Description |
---|
CylElossSim(CylEloss inter)
Construct an instance from a CylEloss Interactor.
|
CylElossSim(double thickness,
DeDx dedx)
Construct in instance with the
appropriate thickness and DeDx class to model
|
Modifier and Type | Method and Description |
---|---|
DeDx |
dEdX()
Return the energy loss model used in this Interactor.
|
void |
interact(VTrack vtrk)
Interact the given track in this cylindrical shell,
using the DeDx model for energy loss.
|
SimInteractor |
newCopy()
Make a clone of this object.
|
double |
thickness()
Return the thickness of material in the cylindrical shell.
|
String |
toString()
output stream
|
private double _thickness
private DeDx _dedx
public CylElossSim(double thickness, DeDx dedx)
thickness
- Thickness of the cylindrical shell.dedx
- The DeDx class representing energy loss.public CylElossSim(CylEloss inter)
inter
- The CylEloss Interactor to use for simulation.public void interact(VTrack vtrk)
interact
in class SimInteractor
vtrk
- The VTrack to scatter.public double thickness()
public DeDx dEdX()
public SimInteractor newCopy()
newCopy
in class SimInteractor
public String toString()
toString
in class RandomGenerator
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.