#include <PTGuiApplication.h>
Public Member Functions | |
| PTGuiApplication (const char *name, const char *title) | |
| PTGuiApplication () | |
| virtual | ~PTGuiApplication () |
| virtual void | ConstructGeometry () |
| virtual void | InitGeometry () |
| virtual void | GeneratePrimaries () |
| virtual void | BeginEvent () |
| virtual void | BeginPrimary () |
| virtual void | PreTrack () |
| virtual void | Stepping () |
| virtual void | PostTrack () |
| virtual void | FinishPrimary () |
| virtual void | FinishEvent () |
| virtual void | Field (const Double_t *x, Double_t *b) const |
Static Public Member Functions | |
| PTGuiApplication * | Instance () |
|
||||||||||||
|
Definition at line 22 of file PTGuiApplication.cxx. 00023 : TVirtualMCApplication(name,title) {
00024 // Normal constructor
00025
00026 }
|
|
|
Definition at line 29 of file PTGuiApplication.cxx. 00030 : TVirtualMCApplication() {
00031 // Default constructor
00032
00033 }
|
|
|
Definition at line 36 of file PTGuiApplication.cxx. 00036 {
00037 // delete all the owned sub-objects
00038
00039 }
|
|
|
Definition at line 79 of file PTGuiApplication.cxx. 00079 {
00080 //
00081 // User actions at beginning of event
00082
00083 }
|
|
|
Definition at line 86 of file PTGuiApplication.cxx. 00086 {
00087 //
00088 // User actions at beginning of a primary track
00089
00090 }
|
|
|
Definition at line 42 of file PTGuiApplication.cxx. 00042 {
00043 // Construct geometry
00044 // Called by TGeant3::Init()
00045
00046
00047 if ( !gMC ) {
00048 cerr << "null ptr to MC implementation" << endl;
00049 abort();
00050 }
00051
00052 if ( !(gMC -> IsRootGeometrySupported()) ) {
00053 cerr << "MC implementation does not support"
00054 << "\nuse of TGeo to define geometry" << endl;
00055 abort(); // could instead offer alternative geometry implementation
00056 }
00057
00058 // Notify VMC about about ROOT geometry
00059 gMC -> SetRootGeometry();
00060
00061 return;
00062
00063 }
|
|
||||||||||||
|
Definition at line 129 of file PTGuiApplication.cxx. 00129 {
00130 //
00131 // Magnetic field at global position x[3]
00132
00133 b[0] = 0; b[1] = 0; b[2] = 0;
00134
00135 }
|
|
|
Definition at line 122 of file PTGuiApplication.cxx. 00122 {
00123 //
00124 // User actions after finishing of an event
00125
00126 }
|
|
|
Definition at line 115 of file PTGuiApplication.cxx. 00115 {
00116 //
00117 // User actions after finishing of a primary track
00118
00119 }
|
|
|
Definition at line 72 of file PTGuiApplication.cxx. 00072 {
00073 //
00074 // Fill the user stack with primary particles
00075
00076 }
|
|
|
Definition at line 66 of file PTGuiApplication.cxx. 00066 {
00067 // Initialize geometry.
00068
00069 }
|
|
|
Definition at line 51 of file PTGuiApplication.h. 00052 { return dynamic_cast<PTGuiApplication*>
00053 (TVirtualMCApplication::Instance()); }
|
|
|
Definition at line 108 of file PTGuiApplication.cxx. 00108 {
00109 //
00110 // User actions after finishing of each track
00111
00112 }
|
|
|
Definition at line 93 of file PTGuiApplication.cxx. 00093 {
00094 //
00095 // User actions at beginning of each track
00096
00097 }
|
|
|
Definition at line 100 of file PTGuiApplication.cxx. 00100 {
00101 //
00102 // User actions at each step
00103
00104 }
|
1.3.9.1