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

GRBengine.h

00001 
00053 #include "GRBShock.h"
00054 #include "GRBConstants.h"
00055 #include <vector>
00056 
00057 #ifndef GRBENGINE_H
00058 #define GRBENGINE_H 1
00059 
00060 class GRBengine
00061 {
00062  public:
00063 
00064   GRBengine(GRBConstants *myParam);
00065   //GRBengine(){;}
00066   ~GRBengine(){;}
00074   double getDurationFromBATSE(char* burst_type="Both");
00075   inline double getDuration(){return m_duration;}
00076   inline double getDistance(){return m_distance;}
00077   inline std::pair<double,double> getDirection(){return m_direction;}
00078   std::vector<GRBShock> getShocksVector(){return theShocks;}
00079  private:
00080   double m_duration;
00081   double m_distance;
00082   std::pair<double,double> m_direction;
00083   std::vector<GRBShock> theShocks;
00084   
00085 };
00086 #endif

Generated on Mon Jan 27 11:43:32 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001