#include <GRBConstants.h>
Public Methods | |
| GRBConstants () | |
| ~GRBConstants () | |
| int | ReadParam () |
| Parameters are read from a file using facilities::Util::expandEnvVar method. | |
| void | Print () |
| Printout Utility. | |
| void | Save (bool flag=false) |
| Save the parameters in a file. It could be usefull to mantain trace of the models runned. | |
| void | setEngineType (int value) |
| int | EngineType () |
| Retrn The engine type. | |
| int | Nshock () |
| void | setNshock (int value=10) |
| double | Duration () |
| void | setDuration (double value=0.4) |
| double | RiseTime () |
| void | setRiseTime (double value=0.4) |
| double | DecayTime () |
| void | setDecayTime (double value=0.4) |
| double | PeakEnergy () |
| void | setPeakEnergy (double value=0.4) |
| void | setShellType (int value) |
| int | ShellType () |
| Returns the shell`s type. | |
| double | ShellRadius () |
| void | setShellRadius (double value) |
| double | JetRadius () |
| void | setJetRadius (double value) |
| double | JetAngle () |
| void | setJetAngle (double value) |
| double | Thickness () |
| void | setThickness (double value) |
| double | Etot () |
| void | setEtot (double value) |
| double | GammaMin () |
| void | setGammaMin (double value=100.0) |
| double | GammaMax () |
| void | setGammaMax (double value=1000.0) |
| double | Redshift () |
| void | setRedshift (double value=1.0) |
| void | setEnergyPh (double value=25.0e+3) |
| double | EnergyPh () |
| double | Distance () |
| std::string | GetParamFile () |
Static Public Methods | |
| void | InitializeRandom (long seed=0) |
| Initialize the Random Number Generator. Every run is differrent. | |
| HepRandomEngine * | GetTheRandomEngine (long seed=0) |
The namespace cst contains all the constant needed to the simulation. All the constant relative to physical model are included in the GRBParam.txt
|
|
Set the minimum energy of the extracted photons All the photons drawn from the spectrum will be energy greater then m_enph |
|
|
Defines the engine`s type The type of engine defines the way GRBengine creates the shocks vector
|
|
|
Sets the type of shell GRBShell can have different geometries. This function set the appropriate geometry
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001