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

DataOut Class Reference

Class containing all the information to be stored. More...

List of all members.

Public Methods

 DataOut ()
 ~DataOut ()
void setTime (double value)
 Stores the time.

void setEnergy (double value)
 Stores the energy.

void setPhi (double value)
 Stores Phi.

void setTheta (double value)
 Stores the Theta.

void setGal_l (double value)
 Stores the Galactic l direction.

void setGal_b (double value)
 Stores the Galactic b direction.

double Time ()
 Returns the time stored in DataOut.

double Energy ()
 Returns the energy stored in DataOut.

double Phi ()
 Returns phi stored in DataOut.

double Theta ()
 Returns theta stored in DataOut.

double Gal_l ()
 Returns the galactic l direction stored in DataOut.

double Gal_b ()
 Returns the galactic b direction stored in DataOut.

void setSourceType (int value)
 Type of the source. More...

int SourceType ()
 Returns the source type.


Detailed Description

Class containing all the information to be stored.

Time, energy direction and the source type (background or GRB) are stored in this class.

Author:
Nicola Omodei , Johann Cohen-Tanugi


Member Function Documentation

void DataOut::setSourceType int    value [inline]
 

Type of the source.

The type of a source is defined as:

  • SourceType = 1 means the source has been chosen as a primary source, like a GRB.
  • SourceType = 0 flags the source as a Background source.
Sometime is useful to have the possibility to distinguish between sources and background.


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