Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

cst Namespace Reference

Namespace contaning all the constants. More...


Variables

const double mpc2 = 938.2
 Proton Rest Mass (MeV).

const double mec2 = 0.510999
 Electron Rest Mass (MeV).

const double erg2MeV = 624151.0
 Conversion fron erg to MeV.

const double mpc2cm = 3.0857e+24
 Conversion fron Mpc to cm.

const double st = 6.65225e-25
 Thompson cross section ( ).

const double mu0 = 4.0*M_PI*1.0e-7
 Magnetic permeability in .

const double BQ = 4.413e+13
 Reference value for the magnetic field Gauss.

const double c = 2.98e+10
 Speed of light in .

const double c2 = c*c
 Square of the speed of light.

const double hplanck = 4.13567e-15
 Planck constant in eV*sec.

const double pi = 3.1415926535897932385
  .

const double Hubble = 6.5e+1
 Hobble`s constant in .

const double wzel = 0.0
 w Zeldovich.

const double csi = 1.0
 Scale factor, indicates the ratio of accelerated electrons.

const double alphae = .5
 Part of the internal energies that goes in electrons.

const double alphab = .1
 Part of the internal energies that goes in magnetic fiels.

const double p = 2.5
 The shock accelerate electron with a power low energy disptribution: .

const double viscosity = 0.0
 Viscosity of the circum burst material.

const int nstep = 300
 Number of time steps.

const int enstep = 50
 Number of energy steps.

const double enmin = 1.0e+3
 Minimum energy at which the simulator will compute the flux.

const double enmax = 1.0e+12
 Maximum energy at which the simulator will compute the flux.

const float flagIC = 1
const bool flagQG = false
 Flag to compute the Quantum Gravity Effect. More...

const bool savef = false
const std::string paramFile = "GRBdata.txt"
 Name of the output file.

const std::string pulse_shape = "agauss"


Detailed Description

Namespace contaning all the constants.

In this namespace are stored all the constants needed by the GRB Physical simulator. The constants contained here usually should not be changed by a general user.


Variable Documentation

const float cst::flagIC = 1
 

Compton Scattering calculation

This constant give an estimation of how Compton scattering will partecipate to the spectrum. flagIC has to be in the interval [0,1], if ==0, no inverse compton will be calculated. If == 1 the IC effect is calculated tacking into account the optical depht of the shell.

See also:
GRBSynchrotron, GRBICompton, GRBSim

const bool cst::flagQG = false
 

Flag to compute the Quantum Gravity Effect.

Quantum gravity, if present, will calculate the dispersion low on the arrival time for the photons depending on thei energies.

See also:
RadiationProcess::timeShiftForDispersion()

const std::string cst::pulse_shape = "agauss"
 

Indicates the pulse shape

Different pulse shape are considered. The pulse shape depends on how the particle are accelerated in a shock as function of time.

  • sgauss = Simmetric pulse shape. It is a double exponential with the two characteristic time equal to the cooling time of the radiative process. No intrinsic delay (or 'lag' has been considered between different energies.
  • agauss = asimmetric exponential function, the rise time and the decay time are different. The peak time depend on the energy, and this give up a delay between high energies and low energies. -else . any other choiche set up a default function expressed by a FRED like function. A Fast Rise pulse followed by an Exponential Decay.
    See also:
    RadiationProcess::electronNumber

const bool cst::savef = false
 

Flag for saving in output file

If true it save into an output file. It is needed by GRBROOTtest.cxx


Generated on Mon Jan 27 11:43:33 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001