RdCOREASSimulationCreator.h
Go to the documentation of this file.
1 #ifndef RdCOREASSimulationCreator_H
2 #define RdCOREASSimulationCreator_H
3 #include <fwk/VModule.h>
4 #include <string.h>
5 #include <vector>
6 
7 using namespace std;
8 
9 namespace RdCOREASSimulationCreator {
10 
11  class simparams {
12  public :
14  string CorsikaBinary;
16  string DataDirectory;
17  unsigned int Run;
18  unsigned int Seed1;
19  unsigned int Seed2;
20  unsigned int Seed3;
21  unsigned int REASSeed;
22  unsigned int PrimaryParticle;
23  double Energy;
24  double Zenith;
25  double Azimuth;
26  double CoreX;
27  double CoreY;
28  double CoreZ;
29  unsigned UTCDate;
30  };
31 
33 
34  public :
36  virtual ~RdCOREASSimulationCreator();
37 
40  fwk::VModule::ResultFlag Finish();
41  void CreateShower();
42  void WriteFiles();
43 
44  private:
45  enum InfoLevel {
46  eNone = 0,
47  eFinal = 1,
48  eIntermediate = 2,
49  eObscure = 3,
50  eMinuit = 4,
51  eDebug = 5
52  };
53 
56 
61  string fInputSource;
62  string fCorsikaUser;
63 
64  vector<simparams*> fShowers;
65  vector<simparams*>::iterator fShowerIterator;
66 
67  REGISTER_MODULE("RdCOREASSimulationCreator", RdCOREASSimulationCreator);
68 
69  };
70 
71 }
72 
73 #endif
void Init()
Initialise the registry.
int fInfoLevel
xml settings: info level (verbosity)
Module interface.
Definition: VModule.h:53
#define REGISTER_MODULE(_moduleName_, _ModuleType_)
Definition: VModule.h:145
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60

, generated on Tue Sep 26 2023.