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

GRBmaker.h

00001 
00014 #ifndef GRB_MAKER_H
00015 #define GRB_MAKER_H
00016 
00017 #include <vector>
00018 #include <string>
00019 
00020 #include "GRBobsUtilities.h"
00021 
00022 class GRBurst;
00023 class HepRandomEngine;
00024 
00025 
00026 
00027 class GRBmaker
00028 {
00029 public:
00033     GRBmaker()   {}   
00034     
00038     GRBmaker(const double duration, const int npuls, const double flux, 
00039         const double fraction, const double alpha, const double beta,
00040         const bool flag);
00041     
00042     
00043     // No memory management function required
00044     // So - need for destructor, copy constructor and assignment operator to be defined
00045     
00046     
00050     GRBurst *create(const std::vector<std::string> &paramVector);
00051 
00055     GRBurst *create(const double duration, const int npuls, const double flux, 
00056         const double fraction, const double alpha, const double beta, 
00057         const double epeak, const double specnorm, const bool flag);
00058     
00062     GRBmaker *clone() const;
00063     
00064 private:
00065     // private accessor functions
00066     
00067     
00068     // data members
00069 };
00070 
00071 
00072 #endif // GRB_MAKER_H

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