Last change
on this file since 285 was
233,
checked in by barrand, 18 years ago
|
|
-
Property svn:eol-style set to
native
|
File size:
881 bytes
|
Rev | Line | |
---|
[233] | 1 | // Dummy file to help building the g4lab-config system. |
---|
| 2 | |
---|
| 3 | #include <Slash/Core/IWriter.h> |
---|
| 4 | |
---|
| 5 | #include <Lib/Printer.h> |
---|
| 6 | #include <Lib/Manager.h> |
---|
| 7 | |
---|
| 8 | #include <OnX/Helpers/OnX.h> |
---|
| 9 | |
---|
| 10 | // G4Lab : |
---|
| 11 | #include <G4Lab/Interfaces/IGeant4Manager.h> |
---|
| 12 | |
---|
| 13 | // CLHEP : |
---|
| 14 | #include <CLHEP/Units/SystemOfUnits.h> |
---|
| 15 | |
---|
| 16 | // Geant4 : |
---|
| 17 | #include <G4RunManager.hh> |
---|
| 18 | |
---|
| 19 | extern "C" { |
---|
| 20 | |
---|
| 21 | ////////////////////////////////////////////////////////////////////////////// |
---|
| 22 | void G4Lab_config( |
---|
| 23 | Slash::UI::IUI& aUI |
---|
| 24 | ) |
---|
| 25 | ////////////////////////////////////////////////////////////////////////////// |
---|
| 26 | //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// |
---|
| 27 | { |
---|
| 28 | // Put some code in order to be sure to build correctly. |
---|
| 29 | |
---|
| 30 | Lib::Printer printer; |
---|
| 31 | session_setColor(aUI.session(),"0 0 0"); |
---|
| 32 | |
---|
| 33 | IGeant4Manager* g4Manager = |
---|
| 34 | Lib_findManager(aUI.session(),"Geant4Manager",IGeant4Manager); |
---|
| 35 | |
---|
| 36 | G4RunManager::GetRunManager(); |
---|
| 37 | |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.