tfa
Class Amanda

java.lang.Object
  extended by tfa.Amanda

public class Amanda
extends java.lang.Object

Implements muon/tau propagation through multiple media to/through the detector. Current possibilities for detector geometry are cylinder, cuboid, and sphere. The origin is at the center of the detector.


Field Summary
 double[] boxh
           
 double[] boxl
           
 double[] boxw
           
 double[] boxx
           
 double[] boxy
           
 double[] boxz
           
 double[] cyll
           
 double[] cylr
           
 double[] cylz
           
 boolean DEBUG
           
 java.lang.String dtct
           
 boolean dw
           
 double e1
          user-block variable: Energy at the entry point into the detector cylinder if positive (E_IN)
 double e2
          user-block variable: Energy at the exit point from the detector cylinder if positive (E_OUT)
 double ec
          user-block variable: Energy at the CPD point if positive (E_CPD)
 double elost
          Energy lost inside the detector cylinder
 long events
           
 double fw
           
 int gdet
           
 double h1
          user-block variable: distance to the point of entry into the detector cylinder (R_IN)
 double h2
          user-block variable: distance to the point of exit from the detector cylinder (R_OUT)
 double height
           
 double hw
           
 double length
           
 int medianum
           
 int[] medt
           
 long missed
           
 double nx
          user-block variable: x-coordinate of closest approach point (CPD_X) or -user=z point
 double ny
          user-block variable: y-coordinate of closest approach point (CPD_Y) or -user=z point
 double nz
          user-block variable: z-coordinate of closest approach point (CPD_Z) or -user=z point
 double radius
           
 double[] rho
           
 double rw
           
 double[] sphr
           
 double[] sphz
           
 double[] srho
           
 long tracks
           
 long vertices
           
 double width
           
 double z1
          user-block variable: z-coordinate of entry point into the detector cylinder (Z_IN)
 double z2
          user-block variable: z-coordinate of exit point from the detector cylinder (Z_OUT)
 
Constructor Summary
Amanda()
           
 
Method Summary
 void defUSER()
          Define user line block for the f2k file streams.
 void history()
          History lines for the f2k file streams.
 void initBufs()
          Initialize particle buffers for the f2k file streams.
 void iniUSER()
          Initialize user line block for the f2k file streams.
static void main(java.lang.String[] args)
          Front-end for AMANDA, reads from and outputs to standard input/output in F2000 format.
 void mmcf2k(java.lang.String[] args)
          Main parser for the f2k file streams.
 void outUSER()
          Output user line block for the f2k file streams.
 double prop(double x, double y, double z, double th, double phi, double l, double e, double t)
          Main propagator routine.
 double prop(int igen, int gens, double x, double y, double z, double th, double phi, double l, double e, double t)
          Main propagator routine.
 Particle[] propagate(Particle p)
          Propagates particles for the external applications.
 void recUSER()
          Record user line block for the f2k file streams.
 boolean setp(java.lang.String[] args)
          This is the command-line option parser.
 void setup(java.lang.String args)
          Initializes propagation for external applications, e.g. mmc-icetray (through jni).
 void setup(java.lang.String[] args)
          Initializes propagation for external applications, e.g. mmc-icetray (through jni).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dtct

public java.lang.String dtct

gdet

public int gdet

length

public double length

radius

public double radius

width

public double width

height

public double height

rho

public double[] rho

srho

public double[] srho

events

public long events

tracks

public long tracks

vertices

public long vertices

missed

public long missed

medt

public int[] medt

sphz

public double[] sphz

sphr

public double[] sphr

boxx

public double[] boxx

boxy

public double[] boxy

boxz

public double[] boxz

boxl

public double[] boxl

boxw

public double[] boxw

boxh

public double[] boxh

cylz

public double[] cylz

cylr

public double[] cylr

cyll

public double[] cyll

medianum

public int medianum

DEBUG

public boolean DEBUG

dw

public boolean dw

rw

public double rw

hw

public double hw

fw

public double fw

z1

public double z1
user-block variable: z-coordinate of entry point into the detector cylinder (Z_IN)


z2

public double z2
user-block variable: z-coordinate of exit point from the detector cylinder (Z_OUT)


h1

public double h1
user-block variable: distance to the point of entry into the detector cylinder (R_IN)


h2

public double h2
user-block variable: distance to the point of exit from the detector cylinder (R_OUT)


nx

public double nx
user-block variable: x-coordinate of closest approach point (CPD_X) or -user=z point


ny

public double ny
user-block variable: y-coordinate of closest approach point (CPD_Y) or -user=z point


nz

public double nz
user-block variable: z-coordinate of closest approach point (CPD_Z) or -user=z point


e1

public double e1
user-block variable: Energy at the entry point into the detector cylinder if positive (E_IN)


e2

public double e2
user-block variable: Energy at the exit point from the detector cylinder if positive (E_OUT)


ec

public double ec
user-block variable: Energy at the CPD point if positive (E_CPD)


elost

public double elost
Energy lost inside the detector cylinder

Constructor Detail

Amanda

public Amanda()
Method Detail

main

public static void main(java.lang.String[] args)
Front-end for AMANDA, reads from and outputs to standard input/output in F2000 format.


setup

public void setup(java.lang.String args)
Initializes propagation for external applications, e.g. mmc-icetray (through jni).


setup

public void setup(java.lang.String[] args)
Initializes propagation for external applications, e.g. mmc-icetray (through jni).


propagate

public Particle[] propagate(Particle p)
Propagates particles for the external applications. Returns an array of secondaries. If "-user" option is used, fills user-block variables.


setp

public boolean setp(java.lang.String[] args)
This is the command-line option parser. Call with "-help" to list all options.


history

public void history()
History lines for the f2k file streams.


defUSER

public void defUSER()
Define user line block for the f2k file streams.


iniUSER

public void iniUSER()
Initialize user line block for the f2k file streams.


recUSER

public void recUSER()
Record user line block for the f2k file streams.


outUSER

public void outUSER()
Output user line block for the f2k file streams.


initBufs

public void initBufs()
Initialize particle buffers for the f2k file streams.


mmcf2k

public void mmcf2k(java.lang.String[] args)
Main parser for the f2k file streams.


prop

public double prop(int igen,
                   int gens,
                   double x,
                   double y,
                   double z,
                   double th,
                   double phi,
                   double l,
                   double e,
                   double t)
Main propagator routine.


prop

public double prop(double x,
                   double y,
                   double z,
                   double th,
                   double phi,
                   double l,
                   double e,
                   double t)
Main propagator routine.