| Rev | Line | |
|---|
| [807] | 1 | #ifndef IG4SIMULATION_H
|
|---|
| 2 | #define IG4SIMULATION_H
|
|---|
| 3 |
|
|---|
| 4 | /* ==========================================
|
|---|
| 5 | DIANE - Distributed Analysis Environment
|
|---|
| 6 | Copyright (C) Jakub T. Moscicki, 2000-2003
|
|---|
| 7 | ------------------------------------------
|
|---|
| 8 | See $DIANE_TOP/LICENSE for details.
|
|---|
| 9 | ==========================================
|
|---|
| 10 | */
|
|---|
| 11 |
|
|---|
| 12 | #include "globals.hh"
|
|---|
| 13 | namespace DIANE
|
|---|
| 14 | {
|
|---|
| 15 |
|
|---|
| 16 | class IG4Simulation
|
|---|
| 17 | {
|
|---|
| 18 |
|
|---|
| 19 | public:
|
|---|
| 20 |
|
|---|
| 21 | virtual void setSeed(G4int seed) = 0;
|
|---|
| 22 | virtual G4bool initialize(int argc, char** argv) = 0;
|
|---|
| 23 | virtual void executeMacro(std::string macroFileName) = 0;
|
|---|
| 24 | virtual std::string getOutputFilename() = 0;
|
|---|
| 25 | virtual void finish() = 0;
|
|---|
| 26 | virtual ~IG4Simulation() {}
|
|---|
| 27 | };
|
|---|
| 28 | }
|
|---|
| 29 |
|
|---|
| 30 | extern "C"
|
|---|
| 31 | DIANE::IG4Simulation* createG4Simulation(int);
|
|---|
| 32 |
|
|---|
| 33 | #endif
|
|---|
| 34 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.