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

GRBengine Class Reference

This class permits to generate different kind of GRBs. More...

#include <GRBengine.h>

List of all members.

Public Methods

 GRBengine (GRBConstants *myParam)
 ~GRBengine ()
double getDurationFromBATSE (char *burst_type="Both")
double getDuration ()
double getDistance ()
std::pair< double, double > getDirection ()
std::vector< GRBShockgetShocksVector ()


Detailed Description

This class permits to generate different kind of GRBs.

There are different type of engine:

.

.

.

From this equations it is easy to estimate three parameters, living free the fourth ( ).

GRBengine does the following:
Author:
Nicola Omodei nicola.omodei@pi.infn.it , Johann Cohen-Tanugi johann.cohen@pi.infn.it


Member Function Documentation

double GRBengine::getDurationFromBATSE char *    burst_type = "Both"
 

The observed duration from CGRO/BATSE has been fitted with a double power law. This method returns a number chosen from this distribution.

Parameters:
burst_type  is the type of GRB: "Short" only short bursts are considered, if it is "Long", only long bursts. "Both" means that the two distribution are considered, selecting 30% short bursts and 70% long bursts.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 11:43:33 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001