iceCube.uhe.geometry
public class ParticleTracker extends java.lang.Object
| Constructor and Description |
|---|
ParticleTracker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isInsideEarth(J3Vector r_center,
IceCubeCoordinate iceCube,
EarthCenterCoordinate center,
Volume outVol,
int flag)
Check if the particle location represented by EarthCenter coordinate
is inside the earth.
|
static boolean |
isInsideEarth(J3Vector r_center,
J3Vector shift,
IceCubeCoordinate iceCube,
EarthCenterCoordinate center,
Volume outVol,
int flag) |
static void |
setInitialPoint(J3Line axis,
IceCubeCoordinate iceCube) |
public static void setInitialPoint(J3Line axis, IceCubeCoordinate iceCube)
public static boolean isInsideEarth(J3Vector r_center, IceCubeCoordinate iceCube, EarthCenterCoordinate center, Volume outVol, int flag)
J3Vector r_center : Prarticle location defined by EarthCenterCoordinate
iceCubeCoordinate iceCube : The IceCube local coordinate
EarthCenterCoordinate center : The Earth center coordinate
Volume outVol : The outside volume - If the partile is outside this volume
AND the flag is 1, the particle is considered to be "outside"
the earth and may stop its tracking.
int flag : control flag - when 1, then the volume outVol is involved.
public static boolean isInsideEarth(J3Vector r_center, J3Vector shift, IceCubeCoordinate iceCube, EarthCenterCoordinate center, Volume outVol, int flag)