#include <TG3Application.h>
Public Member Functions | |
| TG3Application (const char *name, const char *title) | |
| TG3Application () | |
| virtual | ~TG3Application () |
| void | InitMC (const char *setup) |
| void | RunMC (Int_t nofEvents) |
| void | FinishRun () |
| 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 Double_t | TrackingRmax () const |
| virtual Double_t | TrackingZmax () const |
| virtual void | Field (const Double_t *x, Double_t *b) const |
Static Public Member Functions | |
| TG3Application * | Instance () |
Private Member Functions | |
| void | ConstructMaterials () |
| void | ConstructVolumes () |
Private Attributes | |
| TVirtualMCStack * | fStack |
|
||||||||||||
|
Definition at line 23 of file TG3Application.cxx. 00024 : TVirtualMCApplication(name,title), 00025 fStack(0) 00026 { 00027 // 00028 // Standard constructor 00029 // 00030 00031 new TGeant3f77("g",0); 00032 00033 // create a user stack 00034 //fStack = new TG3Stack(100); 00035 }
|
|
|
Definition at line 38 of file TG3Application.cxx. 00039 : TVirtualMCApplication(), 00040 fStack(0) 00041 { 00042 // 00043 // Default constructor 00044 // 00045 }
|
|
|
Definition at line 48 of file TG3Application.cxx. 00049 {
00050 //
00051 // Destructor
00052 //
00053
00054 //delete fStack;
00055 }
|
|
|
Definition at line 145 of file TG3Application.cxx. 00146 {
00147 //
00148 // User actions at beginning of event
00149 //
00150
00151 // nothing to be done this example
00152 }
|
|
|
Definition at line 155 of file TG3Application.cxx. 00156 {
00157 //
00158 // User actions at beginning of a primary track
00159 //
00160
00161 // nothing to be done this example
00162 }
|
|
|
Definition at line 115 of file TG3Application.cxx. 00116 {
00117 //
00118 // Construct geometry using TVirtualMC functions.
00119 //
00120
00121 //ConstructMaterials();
00122 //ConstructVolumes();
00123 }
|
|
|
Definition at line 62 of file TG3Application.cxx. 00063 {
00064 //
00065 // Materials
00066 //
00067
00068 }
|
|
|
Definition at line 72 of file TG3Application.cxx. 00073 {
00074
00075 }
|
|
||||||||||||
|
Definition at line 232 of file TG3Application.cxx. 00233 {
00234 //
00235 // No magnetic field.
00236 //
00237
00238 b[0] = 0.;
00239 b[1] = 0.;
00240 b[2] = 0.;
00241 }
|
|
|
Definition at line 202 of file TG3Application.cxx. 00203 {
00204 //
00205 // User actions after finishing of an event
00206 //
00207
00208 // nothing to be done this example
00209 }
|
|
|
Definition at line 192 of file TG3Application.cxx. 00193 {
00194 //
00195 // User actions after finishing of a primary track
00196 //
00197
00198 // nothing to be done this example
00199 }
|
|
|
Definition at line 105 of file TG3Application.cxx. 00106 {
00107 //
00108 // Finish MC run.
00109 //
00110
00111 // UGLAST
00112 }
|
|
|
Definition at line 136 of file TG3Application.cxx. 00137 {
00138 //
00139 // Fill the user stack (derived from TVirtualMCStack) with primary particles.
00140 //
00141
00142 }
|
|
|
Definition at line 126 of file TG3Application.cxx. 00127 {
00128 //
00129 // Initialize geometry
00130 //
00131
00132 // Nothing needed in this example
00133 }
|
|
|
Definition at line 82 of file TG3Application.cxx. 00083 {
00084 //
00085 // Initialize MC.
00086 //
00087
00088 gMC->Init();
00089 gMC->BuildPhysics();
00090 }
|
|
|
Definition at line 58 of file TG3Application.h. 00059 { return (TG3Application*)(TVirtualMCApplication::Instance()); }
|
|
|
Definition at line 182 of file TG3Application.cxx. 00183 {
00184 //
00185 // User actions after finishing of each track
00186 //
00187
00188 // nothing to be done this example
00189 }
|
|
|
Definition at line 165 of file TG3Application.cxx. 00166 {
00167 //
00168 // User actions at beginning of each track
00169 //
00170 }
|
|
|
Definition at line 93 of file TG3Application.cxx. 00094 {
00095 //
00096 // MC run.
00097 //
00098
00099
00100 //gMC->ProcessRun(nofEvents);
00101 //FinishRun();
00102 }
|
|
|
Definition at line 173 of file TG3Application.cxx. 00174 {
00175 //
00176 // User actions at each step
00177 //
00178
00179 }
|
|
|
Definition at line 212 of file TG3Application.cxx. 00213 {
00214 //
00215 // No limit
00216 //
00217
00218 return DBL_MAX;
00219 }
|
|
|
Definition at line 222 of file TG3Application.cxx. 00223 {
00224 //
00225 // No limit
00226 //
00227
00228 return DBL_MAX;
00229 }
|
|
|
Definition at line 51 of file TG3Application.h. |
1.3.9.1