#include <Gismo.h>
Public Methods | |
| Gismo (float size, Generator* gen , gui::DisplayControl* dcon) | |
| Gismo& | addMaterialPath (const char* path) |
| add a new path to find .mat files to that established by the PEGS4PATH environment variable. More... | |
| Gismo& | setKEcutoff (float) |
| set default minimum kinetic energy. More... | |
| Gismo& | setMaxStep (float) |
| can be overridden by a Medium, or an Interactor. More... | |
| Gismo& | addInteractor (Interactor*) |
| Default for charged particles is energy loss without fluctuations and naive multiple scattering. More... | |
| Gismo& | setGenerator (Generator* gen) |
| replace current generator with a new one. More... | |
| Gismo& | setField (Field* field) |
| set the field, which will be used by all contained media. Default: none. More... | |
| void | finishSetup () |
| setup tasks just before start of run. More... | |
| void | generate () |
| simply generate an event. More... | |
| Generator* | event () const |
| access to current generator. More... | |
| const char* | eventTitle () const |
| return a title for the generated event. More... | |
| ~Gismo () | |
| Destructor cleans up, if it is important. More... | |
Static Public Methods | |
| Gismo* | instance () |
Private Attributes | |
| World* | m_world |
| Generator* | m_generator |
Static Private Attributes | |
| Gismo* | s_instance = 0 |
Definition at line 16 of file Gismo.h.
|
|
|
|
|
Destructor cleans up, if it is important.
|
|
|
Default for charged particles is energy loss without fluctuations and naive multiple scattering.
|
|
|
add a new path to find .mat files to that established by the PEGS4PATH environment variable.
Definition at line 108 of file Gismo.cxx. Referenced by Gismo(). |
|
|
access to current generator.
Definition at line 182 of file Gismo.cxx. Referenced by Gismo::PrintPDT::execute(), and Gismo::PrintEvent::execute(). |
|
|
return a title for the generated event.
|
|
|
setup tasks just before start of run.
|
|
|
simply generate an event.
|
|
|
Definition at line 151 of file Gismo.cxx. Referenced by Gismo::PrintPDT::execute(), and Gismo::PrintEvent::execute(). |
|
|
set the field, which will be used by all contained media. Default: none.
|
|
|
replace current generator with a new one.
|
|
|
set default minimum kinetic energy.
Definition at line 118 of file Gismo.cxx. Referenced by Gismo(). |
|
|
can be overridden by a Medium, or an Interactor.
Definition at line 123 of file Gismo.cxx. Referenced by Gismo(). |
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000