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
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