gen
Class CteqPDF

java.lang.Object
  extended by mmc.PhysicsModel
      extended by gen.CteqPDF
All Implemented Interfaces:
FunctionInt, FunctionInt2, FunctionOfx

public class CteqPDF
extends PhysicsModel

Parton distribution functions necessary for neutrino interaction cross sections are calculated here. cteq library is called if the parameterization table ".cteqPDF_raw.data" is not found.


Field Summary
static CteqPDF Ctq
           
 Interpolate[] J
           
 boolean jt
           
 double Qm
           
 double Qn
           
static java.lang.String tdir
           
 
Fields inherited from class mmc.PhysicsModel
Alpha, bigEnergy, C, Cmon, computerPrecision, De2, Ds2, ebig, elow, Gf, Gw, Gz, halfPrecision, imaxs, iprec, iprec2, iromb, K, Lmu, Log10, Lstau, Ltau, Ma1, Me, Mmon, Mmu, Mn, Mp, Mpi, Mrh, Mrs, Mstau, Mtau, Mw, Mz, Na, nlow, num1, num2, num3, Pi, Re, Ry, sqrt2, sqrt3, sqrtE, St2, Tt2, xres, Xw
 
Constructor Summary
CteqPDF()
          Initialize class with the default PDF set.
CteqPDF(int i)
          Initialize class with PDF set specified with i.
 
Method Summary
 double functionInt(double x, double q)
          2d parametrization - interface to Interpolate
 void interpolate()
          Creates or reads the ".cteqPDF_raw.data" table.
static void main(java.lang.String[] args)
          Creates the cteq table by calling the cteq library.
 double PDF(int f, double x, double q)
          Calculates 3 linear combinations of PDFs.
 
Methods inherited from class mmc.PhysicsModel
function, functionInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tdir

public static java.lang.String tdir

Ctq

public static CteqPDF Ctq

Qn

public double Qn

Qm

public double Qm

J

public Interpolate[] J

jt

public boolean jt
Constructor Detail

CteqPDF

public CteqPDF()
Initialize class with the default PDF set.


CteqPDF

public CteqPDF(int i)
Initialize class with PDF set specified with i.

Method Detail

PDF

public double PDF(int f,
                  double x,
                  double q)
Calculates 3 linear combinations of PDFs. This is the function called by neutrino interaction classes.


interpolate

public void interpolate()
Creates or reads the ".cteqPDF_raw.data" table.


functionInt

public double functionInt(double x,
                          double q)
2d parametrization - interface to Interpolate

Specified by:
functionInt in interface FunctionInt2
Overrides:
functionInt in class PhysicsModel

main

public static void main(java.lang.String[] args)
Creates the cteq table by calling the cteq library.