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

GRBTest Class Reference

Test class for GRB simulation studies. More...

List of all members.

Public Methods

 GRBTest ()
 ~GRBTest ()
void setService (IFluxSvc *ptr)
 Sets a pointer to flux service.

double CalculateFluence (double ee, double e1=cst::enmin *1e-6, double e2=cst::enmax *1e-6)
 Calculates the fluence in the energy band between e1 and e2.

int Start (std::vector< char *> argv)
 Generates a GRB. More...

void help ()
 Help printout utility. More...

void listSources (const std::list< std::string > &source_list)
 Lists all the sources available.

void listSpectra ()
 Lists of loaded spectrum objects.


Detailed Description

Test class for GRB simulation studies.

This class is called from GRB Gaudi Algorithm. It basically compute the spectrum and returns a photons for the montecarlo. It calls the GRBSim class as kernel of the simulation. Some quantities are also calculated to help people understanding GRB physics.


Member Function Documentation

void GRBTest::help  
 

Help printout utility.

It prints on the screen all the available options.

int GRBTest::Start std::vector< char *>    argv
 

Generates a GRB.

This method initializes the Simulation. It parses the parameters and generates events (calling IFlux::generate method).

Parameters:
argv  is the vector containing all the available options. It is parsed by this method.


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