#include <GRBmanager.h>
Public Methods | |
| GRBmanager (const std::string ¶ms) | |
| virtual | ~GRBmanager () |
| double | flux (double time) const |
| double | interval (double time) |
| Returns the time interval. More... | |
| double | solidAngle () const |
| return the default value 1. | |
| std::pair< double, double > | dir (double energy, HepRandomEngine *engine) |
| direction, taken from GRBSim. | |
| float | operator() (float u) const |
| calls GRBSpectrum::operator(). | |
| double | energySrc (HepRandomEngine *, double time) |
| calls GRBSpectrum::energySrc. | |
| std::string | title () const |
| const char * | particleName () const |
| const char * | nameOf () const |
| float | parseParamList (std::string input, int index) |
|
|
This initializes the simulation parsing the parameters.
<source name=" GRBmanager_Gal">
<spectrum escale="GeV"> <SpectrumClass name="GRBmanager" params="50 100"/>
<use_spectrum frame="galaxy"/>
</spectrum> </source>
|
|
|
If a burst is shining it returns the GRBSpectrum::flux method |
|
|
Returns the time interval. If a burst is shining it returns the GRBSpectrum::interval method. If not it returns the time to whait for the first photon of the next burst. |
|
||||||||||||
|
This method parses the parameter list
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001