iceCube.uhe.geometry
Class ParticleTracker
java.lang.Object
  
iceCube.uhe.geometry.ParticleTracker
public class ParticleTracker
- extends java.lang.Object
 
This class contains static methods concerning the particle tracking.
 
| 
Method Summary | 
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)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ParticleTracker
public ParticleTracker()
setInitialPoint
public static void setInitialPoint(J3Line axis,
                                   IceCubeCoordinate iceCube)
 
isInsideEarth
public 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. 
        This 'earth' contains glacier of the the Antarctica.
        
        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.
        
 
 
isInsideEarth
public static boolean isInsideEarth(J3Vector r_center,
                                    J3Vector shift,
                                    IceCubeCoordinate iceCube,
                                    EarthCenterCoordinate center,
                                    Volume outVol,
                                    int flag)