Package org.jlab.clas.fastmc
Class ParticleSwimmer
java.lang.Object
org.jlab.clas.fastmc.ParticleSwimmer
- Author:
- gavalian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParticlePath
(Particle part) Returns a Path3D object for particle swam through the magnetic field.
-
Constructor Details
-
ParticleSwimmer
public ParticleSwimmer() -
ParticleSwimmer
public ParticleSwimmer(double torusScale, double solenoidScale)
-
-
Method Details
-
getParticlePath
Returns a Path3D object for particle swam through the magnetic field. For neutral particles returns a simple path of a straight line that originates at the vertex.- Parameters:
part
- particle- Returns:
-