#include "TGeant3f77.h"#include "TCallf77.h"Go to the source code of this file.
Defines | |
| #define | gzebra gzebra_ |
| #define | grfile grfile_ |
| #define | gpcxyz gpcxyz_ |
| #define | ggclos ggclos_ |
| #define | glast glast_ |
| #define | ginit ginit_ |
| #define | g3cinit g3cinit_ |
| #define | gzinit gzinit_ |
| #define | grun grun_ |
| #define | gtrig gtrig_ |
| #define | gtrigc gtrigc_ |
| #define | gtrigi gtrigi_ |
| #define | gfmate gfmate_ |
| #define | gfpart gfpart_ |
| #define | gftmed gftmed_ |
| #define | gftmat gftmat_ |
| #define | gpart gpart_ |
| #define | gmate gmate_ |
| #define | gsdk gsdk_ |
| #define | gsmate gsmate_ |
| #define | gsmixt gsmixt_ |
| #define | gspart gspart_ |
| #define | gstmed gstmed_ |
| #define | gsckov gsckov_ |
| #define | gstpar gstpar_ |
| #define | gfkine gfkine_ |
| #define | gfvert gfvert_ |
| #define | gskine gskine_ |
| #define | gsvert gsvert_ |
| #define | gpvolu gpvolu_ |
| #define | gprotm gprotm_ |
| #define | gptmed gptmed_ |
| #define | gpmate gpmate_ |
| #define | gppart gppart_ |
| #define | gpsets gpsets_ |
| #define | gpvert gpvert_ |
| #define | gpkine gpkine_ |
| #define | gpjxyz gpjxyz_ |
| #define | gphits gphits_ |
| #define | g3pvolu g3pvolu_ |
| #define | g3protm g3protm_ |
| #define | g3ptmed g3ptmed_ |
| #define | g3pmate g3pmate_ |
| #define | g3ppart g3ppart_ |
| #define | g3psets g3psets_ |
| #define | g3pvert g3pvert_ |
| #define | g3pkine g3pkine_ |
| #define | g3pjxyz g3pjxyz_ |
| #define | g3phits g3phits_ |
| #define | g3part g3part_ |
| #define | g3mate g3mate_ |
| #define | gscank gscank_ |
| #define | gscanu gscanu_ |
| #define | g3scank g3scank_ |
| #define | g3scanu g3scanu_ |
| #define | g3bhsta g3bhsta_ |
| #define | gbhsta gbhsta_ |
| #define | gphysi gphysi_ |
| #define | gdebug gdebug_ |
| #define | gekbin gekbin_ |
| #define | gfinds gfinds_ |
| #define | gsking gsking_ |
| #define | gskpho gskpho_ |
| #define | gsstak gsstak_ |
| #define | gsxyz gsxyz_ |
| #define | gtrack gtrack_ |
| #define | gtreve gtreve_ |
| #define | gtreveroot gtreveroot_ |
| #define | grndm grndm_ |
| #define | grndmq grndmq_ |
| #define | gdtom gdtom_ |
| #define | glmoth glmoth_ |
| #define | gmtod gmtod_ |
| #define | gsdvn gsdvn_ |
| #define | gsdvn2 gsdvn2_ |
| #define | gsdvs gsdvs_ |
| #define | gsdvs2 gsdvs2_ |
| #define | gsdvt gsdvt_ |
| #define | gsdvt2 gsdvt2_ |
| #define | gsord gsord_ |
| #define | gspos gspos_ |
| #define | gsposp gsposp_ |
| #define | gsrotm gsrotm_ |
| #define | gsvolu gsvolu_ |
| #define | gprint gprint_ |
| #define | gdinit gdinit_ |
| #define | gdopt gdopt_ |
| #define | gdraw gdraw_ |
| #define | gdrayt gdrayt_ |
| #define | gdrawc gdrawc_ |
| #define | gdrawx gdrawx_ |
| #define | gdhead gdhead_ |
| #define | gdwmn1 gdwmn1_ |
| #define | gdwmn2 gdwmn2_ |
| #define | gdwmn3 gdwmn3_ |
| #define | gdxyz gdxyz_ |
| #define | gdman gdman_ |
| #define | gdspec gdspec_ |
| #define | gdtree gdtree_ |
| #define | gdelet gdelet_ |
| #define | gdclos gdclos_ |
| #define | gdshow gdshow_ |
| #define | gdopen gdopen_ |
| #define | dzshow dzshow_ |
| #define | gsatt gsatt_ |
| #define | gfpara gfpara_ |
| #define | gckpar gckpar_ |
| #define | gckmat gckmat_ |
| #define | geditv geditv_ |
| #define | mzdrop mzdrop_ |
| #define | ertrak ertrak_ |
| #define | ertrgo ertrgo_ |
| #define | setbomb setbomb_ |
| #define | setclip setclip_ |
| #define | gcomad gcomad_ |
| #define | gbrelm gbrelm_ |
| #define | gprelm gprelm_ |
| #define | rxgtrak rxgtrak_ |
| #define | rxouth rxouth_ |
| #define | rxinh rxinh_ |
Functions | |
| void | g3pvolu (Int_t &) |
| void | g3protm (Int_t &) |
| void | g3ptmed (Int_t &) |
| void | g3pmate (Int_t &) |
| void | g3ppart (Int_t &) |
| void | g3psets (Int_t &) |
| void | g3pvert (Int_t &) |
| void | g3pkine (Int_t &) |
| void | g3pjxyz (Int_t &) |
| void | g3phits (Int_t &) |
| void | g3part (Int_t &) |
| void | g3mate () |
| void | g3bhsta () |
| void | g3scank () |
| void | g3scanu () |
| void | gfile (const char *filename, const char *option) |
| void | gpcxyz () |
| void | ggclos () |
| void | glast () |
| void | gprint (const char *name, Int_t val, const Int_t lname) |
| void | grun () |
| void | gtrig () |
| void | gtrigc () |
| void | gtrigi () |
| void | gfmate (Int_t &imat, char *name, Float_t &a, Float_t &z, Float_t &dens, Float_t &radl, Float_t &absl, Float_t *ubuf, Int_t &nbuf, const Int_t lname) |
| void | gfpart (Int_t &ipart, char *name, Int_t &itrtyp, Float_t &amass, Float_t &charge, Float_t &tlife, const Int_t lname) |
| void | gftmed (Int_t &numed, char *name, Int_t &nmat, Int_t &isvol, Int_t &ifield, Float_t &fieldm, Float_t &tmaxfd, Float_t &stemax, Float_t &deemax, Float_t &epsil, Float_t &stmin, Float_t *, Int_t *, const Int_t lname) |
| void | gftmat (Int_t &imate, Int_t &ipart, char *chmeca, Int_t &kdim, Float_t *tkin, Float_t *value, Float_t *pcut, Int_t &ixst) |
| void | gsdk (Int_t &ipart, Float_t *bratio, Int_t *mode) |
| void | gsmate (Int_t &imat, const char *name, Float_t &a, Float_t &z, Float_t &dens, Float_t &radl, Float_t &absl, Float_t *, Int_t &, const Int_t lname) |
| void | gsmixt (Int_t &imat, const char *name, Float_t *a, Float_t *z, Float_t &dens, Int_t &nlmat, Float_t *wmat, const Int_t lname) |
| void | gspart (Int_t &ipart, const char *name, Int_t &itrtyp, Float_t &amass, Float_t &charge, Float_t &tlife, Float_t *, Int_t &, const Int_t lname) |
| void | gstmed (Int_t &numed, const char *name, Int_t &nmat, Int_t &isvol, Int_t &ifield, Float_t &fieldm, Float_t &tmaxfd, Float_t &stemax, Float_t &deemax, Float_t &epsil, Float_t &stmin, Float_t *, Int_t &, const Int_t lname) |
| void | gsckov (Int_t &itmed, Int_t &npckov, Float_t *ppckov, Float_t *absco, Float_t *effic, Float_t *rindex) |
| void | gstpar (Int_t &itmed, const char *name, Float_t &parval, const Int_t lname) |
| void | gfkine (Int_t &itra, Float_t *vert, Float_t *pvert, Int_t &ipart, Int_t &nvert, Float_t *ubuf, Int_t &nbuf) |
| void | gfvert (Int_t &nvtx, Float_t *v, Int_t &ntbeam, Int_t &nttarg, Float_t &tofg, Float_t *ubuf, Int_t &nbuf) |
| void | gskine (Float_t *plab, Int_t &ipart, Int_t &nv, Float_t *buf, Int_t &nbuf, Int_t &nt) |
| void | gsvert (Float_t *v, Int_t &ntbeam, Int_t &nttarg, Float_t *ubuf, Int_t &nbuf, Int_t &nwtx) |
| void | gphysi () |
| void | gdebug () |
| void | gsking (Int_t &igk) |
| void | gskpho (Int_t &igk) |
| void | gsstak (Int_t &iflag) |
| void | gsxyz () |
| void | gtrack () |
| void | gtreve () |
| void | gdxyz (Int_t &) |
| void | gdtom (Float_t *xd, Float_t *xm, Int_t &iflag) |
| void | glmoth (const char *name, Int_t &iunum, Int_t &nlev, Int_t *lvols, Int_t *lindx, const Int_t lname) |
| void | gmtod (Float_t *xm, Float_t *xd, Int_t &iflag) |
| void | gsdvn (const char *name, const char *mother, Int_t &ndiv, Int_t &iaxis, const Int_t lname, const Int_t lmother) |
| void | gsdvn2 (const char *name, const char *mother, Int_t &ndiv, Int_t &iaxis, Float_t &c0i, Int_t &numed, const Int_t lname, const Int_t lmother) |
| void | gsdvs (const char *name, const char *mother, Float_t &step, Int_t &iaxis, Int_t &numed, const Int_t lname, const Int_t lmother) |
| void | gsdvs2 (const char *name, const char *mother, Float_t &step, Int_t &iaxis, Float_t &c0, Int_t &numed, const Int_t lname, const Int_t lmother) |
| void | gsdvt (const char *name, const char *mother, Float_t &step, Int_t &iaxis, Int_t &numed, Int_t &ndvmx, const Int_t lname, const Int_t lmother) |
| void | gsdvt2 (const char *name, const char *mother, Float_t &step, Int_t &iaxis, Float_t &c0, Int_t &numed, Int_t &ndvmx, const Int_t lname, const Int_t lmother) |
| void | gsord (const char *name, Int_t &iax, const Int_t lname) |
| void | gspos (const char *name, Int_t &nr, const char *mother, Float_t &x, Float_t &y, Float_t &z, Int_t &irot, const char *konly, const Int_t lname, const Int_t lmother, const Int_t lkonly) |
| void | gsposp (const char *name, Int_t &nr, const char *mother, Float_t &x, Float_t &y, Float_t &z, Int_t &irot, const char *konly, Float_t *upar, Int_t &np, const Int_t lname, const Int_t lmother) |
| void | gsrotm (Int_t &nmat, Float_t &theta1, Float_t &phi1, Float_t &theta2, Float_t &phi2, Float_t &theta3, Float_t &phi3) |
| void | gsvolu (const char *name, const char *shape, Int_t &nmed, Float_t *upar, Int_t &npar, Int_t &ivolu, const Int_t lname, const Int_t lshape) |
| void | gsatt (const char *name, const char *att, Int_t &val, const Int_t lname, const Int_t latt) |
| void | gfpara (const char *name, Int_t &number, Int_t &intext, Int_t &npar, Int_t &natt, Float_t *par, Float_t *att, const Int_t lname) |
| void | gckmat (Int_t &itmed, char *natmed) |
| void | gdelete (Int_t &) |
| void | gdopen (Int_t &iview) |
| void | gdclose () |
| void | gdshow (Int_t &) |
| void | gdopt (const char *name, const char *value, const Int_t lname, const Int_t lvalue) |
| void | gdraw (const char *name, Float_t &theta, Float_t &phi, Float_t &psi, Float_t &u0, Float_t &v0, Float_t &ul, Float_t &vl) |
| void | gdrawc (const char *name, Int_t &axis, Float_t &cut, Float_t &u0, Float_t &v0, Float_t &ul, Float_t &vl) |
| void | gdrawx (const char *name, Float_t &cutthe, Float_t &cutphi, Float_t &cutval, Float_t &theta, Float_t &phi, Float_t &u0, Float_t &v0, Float_t &ul, Float_t &vl) |
| void | gdhead (Int_t &isel, const char *name, Float_t &chrsiz) |
| void | gdman (Float_t &u, Float_t &v, const char *) |
| void | gdspec (const char *name) |
| void | gdtree (const char *name, Int_t &levmax, Int_t &isel) |
| void | gekbin () |
| void | ginit () |
| void | gdinit () |
| void | gpvolu (int &i) |
| void | gprotm (int &i) |
| void | gpmate (int &i) |
| void | gptmed (int &i) |
| void | gppart (int &i) |
| void | gpsets (int &i) |
| void | gpvert (int &i) |
| void | gpkine (int &i) |
| void | gpjxyz (int &i) |
| void | gphits (int &i) |
| void | gpart () |
| void | gmate () |
| void | gbhsta () |
| void | gscank () |
| void | gscanu () |
| void | gzinit () |
Variables | |
| TGeant3 * | geant3 |
|
|
Definition at line 134 of file TGeant3f77.cxx. |
|
|
Definition at line 142 of file TGeant3f77.cxx. |
|
|
Definition at line 143 of file TGeant3f77.cxx. |
|
|
Definition at line 86 of file TGeant3f77.cxx. Referenced by gbhsta(). |
|
|
Definition at line 37 of file TGeant3f77.cxx. |
|
|
Definition at line 81 of file TGeant3f77.cxx. |
|
|
Definition at line 80 of file TGeant3f77.cxx. |
|
|
Definition at line 79 of file TGeant3f77.cxx. Referenced by gphits(). |
|
|
Definition at line 78 of file TGeant3f77.cxx. Referenced by gpjxyz(). |
|
|
Definition at line 77 of file TGeant3f77.cxx. Referenced by gpkine(). |
|
|
Definition at line 73 of file TGeant3f77.cxx. Referenced by gpmate(). |
|
|
Definition at line 74 of file TGeant3f77.cxx. |
|
|
Definition at line 71 of file TGeant3f77.cxx. |
|
|
Definition at line 75 of file TGeant3f77.cxx. Referenced by gpsets(). |
|
|
Definition at line 72 of file TGeant3f77.cxx. |
|
|
Definition at line 76 of file TGeant3f77.cxx. Referenced by gpvert(). |
|
|
Definition at line 70 of file TGeant3f77.cxx. Referenced by gpvolu(). |
|
|
Definition at line 84 of file TGeant3f77.cxx. Referenced by gscank(). |
|
|
Definition at line 85 of file TGeant3f77.cxx. Referenced by gscanu(). |
|
|
Definition at line 87 of file TGeant3f77.cxx. |
|
|
Definition at line 149 of file TGeant3f77.cxx. |
|
|
Definition at line 138 of file TGeant3f77.cxx. |
|
|
Definition at line 137 of file TGeant3f77.cxx. |
|
|
Definition at line 147 of file TGeant3f77.cxx. |
|
|
Definition at line 131 of file TGeant3f77.cxx. |
|
|
Definition at line 89 of file TGeant3f77.cxx. |
|
|
Definition at line 130 of file TGeant3f77.cxx. |
|
|
Definition at line 122 of file TGeant3f77.cxx. |
|
|
Definition at line 116 of file TGeant3f77.cxx. |
|
|
Definition at line 127 of file TGeant3f77.cxx. |
|
|
Definition at line 133 of file TGeant3f77.cxx. |
|
|
Definition at line 117 of file TGeant3f77.cxx. |
|
|
Definition at line 118 of file TGeant3f77.cxx. |
|
|
Definition at line 120 of file TGeant3f77.cxx. |
|
|
Definition at line 121 of file TGeant3f77.cxx. |
|
|
Definition at line 119 of file TGeant3f77.cxx. |
|
|
Definition at line 132 of file TGeant3f77.cxx. |
|
|
Definition at line 128 of file TGeant3f77.cxx. |
|
|
Definition at line 101 of file TGeant3f77.cxx. |
|
|
Definition at line 129 of file TGeant3f77.cxx. |
|
|
Definition at line 123 of file TGeant3f77.cxx. |
|
|
Definition at line 124 of file TGeant3f77.cxx. |
|
|
Definition at line 125 of file TGeant3f77.cxx. |
|
|
Definition at line 126 of file TGeant3f77.cxx. |
|
|
Definition at line 139 of file TGeant3f77.cxx. |
|
|
Definition at line 90 of file TGeant3f77.cxx. |
|
|
Definition at line 91 of file TGeant3f77.cxx. |
|
|
Definition at line 56 of file TGeant3f77.cxx. |
|
|
Definition at line 43 of file TGeant3f77.cxx. |
|
|
Definition at line 136 of file TGeant3f77.cxx. |
|
|
Definition at line 44 of file TGeant3f77.cxx. |
|
|
Definition at line 46 of file TGeant3f77.cxx. |
|
|
Definition at line 45 of file TGeant3f77.cxx. |
|
|
Definition at line 57 of file TGeant3f77.cxx. |
|
|
Definition at line 34 of file TGeant3f77.cxx. |
|
|
Definition at line 36 of file TGeant3f77.cxx. |
|
|
Definition at line 35 of file TGeant3f77.cxx. |
|
|
Definition at line 102 of file TGeant3f77.cxx. |
|
|
Definition at line 48 of file TGeant3f77.cxx. |
|
|
Definition at line 103 of file TGeant3f77.cxx. |
|
|
Definition at line 47 of file TGeant3f77.cxx. |
|
|
Definition at line 33 of file TGeant3f77.cxx. |
|
|
Definition at line 69 of file TGeant3f77.cxx. |
|
|
Definition at line 88 of file TGeant3f77.cxx. |
|
|
Definition at line 68 of file TGeant3f77.cxx. |
|
|
Definition at line 67 of file TGeant3f77.cxx. |
|
|
Definition at line 63 of file TGeant3f77.cxx. |
|
|
Definition at line 64 of file TGeant3f77.cxx. |
|
|
Definition at line 150 of file TGeant3f77.cxx. |
|
|
Definition at line 115 of file TGeant3f77.cxx. |
|
|
Definition at line 61 of file TGeant3f77.cxx. |
|
|
Definition at line 65 of file TGeant3f77.cxx. |
|
|
Definition at line 62 of file TGeant3f77.cxx. |
|
|
Definition at line 66 of file TGeant3f77.cxx. |
|
|
Definition at line 60 of file TGeant3f77.cxx. |
|
|
Definition at line 32 of file TGeant3f77.cxx. |
|
|
Definition at line 99 of file TGeant3f77.cxx. |
|
|
Definition at line 100 of file TGeant3f77.cxx. |
|
|
Definition at line 39 of file TGeant3f77.cxx. |
|
|
Definition at line 135 of file TGeant3f77.cxx. |
|
|
Definition at line 82 of file TGeant3f77.cxx. |
|
|
Definition at line 83 of file TGeant3f77.cxx. |
|
|
Definition at line 54 of file TGeant3f77.cxx. |
|
|
Definition at line 49 of file TGeant3f77.cxx. |
|
|
Definition at line 104 of file TGeant3f77.cxx. |
|
|
Definition at line 105 of file TGeant3f77.cxx. |
|
|
Definition at line 106 of file TGeant3f77.cxx. |
|
|
Definition at line 107 of file TGeant3f77.cxx. |
|
|
Definition at line 108 of file TGeant3f77.cxx. |
|
|
Definition at line 109 of file TGeant3f77.cxx. |
|
|
Definition at line 58 of file TGeant3f77.cxx. |
|
|
Definition at line 92 of file TGeant3f77.cxx. |
|
|
Definition at line 93 of file TGeant3f77.cxx. |
|
|
Definition at line 50 of file TGeant3f77.cxx. |
|
|
Definition at line 51 of file TGeant3f77.cxx. |
|
|
Definition at line 110 of file TGeant3f77.cxx. |
|
|
Definition at line 52 of file TGeant3f77.cxx. |
|
|
Definition at line 111 of file TGeant3f77.cxx. |
|
|
Definition at line 112 of file TGeant3f77.cxx. |
|
|
Definition at line 113 of file TGeant3f77.cxx. |
|
|
Definition at line 94 of file TGeant3f77.cxx. |
|
|
Definition at line 53 of file TGeant3f77.cxx. |
|
|
Definition at line 55 of file TGeant3f77.cxx. |
|
|
Definition at line 59 of file TGeant3f77.cxx. |
|
|
Definition at line 114 of file TGeant3f77.cxx. |
|
|
Definition at line 95 of file TGeant3f77.cxx. |
|
|
Definition at line 96 of file TGeant3f77.cxx. |
|
|
Definition at line 97 of file TGeant3f77.cxx. |
|
|
Definition at line 98 of file TGeant3f77.cxx. |
|
|
Definition at line 40 of file TGeant3f77.cxx. |
|
|
Definition at line 41 of file TGeant3f77.cxx. |
|
|
Definition at line 42 of file TGeant3f77.cxx. |
|
|
Definition at line 31 of file TGeant3f77.cxx. |
|
|
Definition at line 38 of file TGeant3f77.cxx. |
|
|
Definition at line 140 of file TGeant3f77.cxx. |
|
|
Definition at line 152 of file TGeant3f77.cxx. |
|
|
Definition at line 154 of file TGeant3f77.cxx. |
|
|
Definition at line 153 of file TGeant3f77.cxx. |
|
|
Definition at line 145 of file TGeant3f77.cxx. |
|
|
Definition at line 146 of file TGeant3f77.cxx. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1580 of file TGeant3f77.cxx. References g3bhsta. 01581 {
01582 g3bhsta();
01583 }
|
|
||||||||||||
|
Definition at line 1228 of file TGeant3f77.cxx. References TGeant3::Gckmat(), and geant3. 01229 {
01230 //
01231 // Check the parameters of a tracking medium
01232 //
01233 geant3->Gckmat(itmed, natmed);
01234 }
|
|
|
Definition at line 1266 of file TGeant3f77.cxx. 01267 {
01268 //
01269 // It closes the currently open view bank; it must be called after the
01270 // end of the drawing to be stored.
01271 //
01272 //geant3->Gdclos();
01273 }
|
|
|
Definition at line 733 of file TGeant3f77.cxx. References TGeant3::Gdebug(), and geant3.
|
|
|
Definition at line 1237 of file TGeant3f77.cxx. 01238 {
01239 //
01240 // IVIEW View number
01241 //
01242 // It deletes a view bank from memory.
01243 //
01244 //geant3->Gdelet(iview);
01245 }
|
|
||||||||||||||||
|
Definition at line 1413 of file TGeant3f77.cxx. References TGeant3::Gdhead(), and geant3. 01414 {
01415 //
01416 // Parameters
01417 // +
01418 // ISEL Option flag D=111110
01419 // NAME Title
01420 // CHRSIZ Character size (cm) of title NAME D=0.6
01421 //
01422 // ISEL =
01423 // 0 to have only the header lines
01424 // xxxxx1 to add the text name centered on top of header
01425 // xxxx1x to add global detector name (first volume) on left
01426 // xxx1xx to add date on right
01427 // xx1xxx to select thick characters for text on top of header
01428 // x1xxxx to add the text 'EVENT NR x' on top of header
01429 // 1xxxxx to add the text 'RUN NR x' on top of header
01430 // NOTE that ISEL=x1xxx1 or ISEL=1xxxx1 are illegal choices,
01431 // i.e. they generate overwritten text.
01432 //
01433
01434 geant3->Gdhead(isel,name,chrsiz);
01435 }
|
|
|
Definition at line 1511 of file TGeant3f77.cxx. 01512 {
01513 //
01514 //=================Create Materials and geometry
01515 //
01516
01517 }
|
|
||||||||||||||||
|
Definition at line 1438 of file TGeant3f77.cxx. References TGeant3::Gdman(), and geant3. 01439 {
01440 //
01441 // Draw a 2D-man at position (U0,V0)
01442 // Parameters
01443 // U U-coord. (horizontal) of the centre of man' R
01444 // V V-coord. (vertical) of the centre of man' R
01445 // TYPE D='MAN' possible values: 'MAN,WM1,WM2,WM3'
01446 //
01447 // CALL GDMAN(u,v),CALL GDWMN1(u,v),CALL GDWMN2(u,v),CALL GDWMN2(u,v)
01448 // It superimposes the picure of a man or of a woman, chosen among
01449 // three different ones, with the same scale factors as the detector
01450 // in the current drawing.
01451 //
01452
01453 geant3->Gdman(u,v);
01454 }
|
|
|
Definition at line 1248 of file TGeant3f77.cxx. References TGeant3::Gdopen(), and geant3. 01249 {
01250 //
01251 // IVIEW View number
01252 //
01253 // When a drawing is very complex and requires a long time to be
01254 // executed, it can be useful to store it in a view bank: after a
01255 // call to DOPEN and the execution of the drawing (nothing will
01256 // appear on the screen), and after a necessary call to DCLOSE,
01257 // the contents of the bank can be displayed in a very fast way
01258 // through a call to DSHOW; therefore, the detector can be easily
01259 // zoomed many times in different ways. Please note that the pictures
01260 // with solid colours can now be stored in a view bank or in 'PICTURE FILES'
01261 //
01262 geant3->Gdopen(iview);
01263 }
|
|
||||||||||||||||||||
|
Definition at line 1288 of file TGeant3f77.cxx. References TGeant3::Gdopt(), and geant3. 01289 {
01290 //
01291 // NAME Option name
01292 // VALUE Option value
01293 //
01294 // To set/modify the drawing options.
01295 // IOPT IVAL Action
01296 //
01297 // THRZ ON Draw tracks in R vs Z
01298 // OFF (D) Draw tracks in X,Y,Z
01299 // 180
01300 // 360
01301 // PROJ PARA (D) Parallel projection
01302 // PERS Perspective
01303 // TRAK LINE (D) Trajectory drawn with lines
01304 // POIN " " with markers
01305 // HIDE ON Hidden line removal using the CG package
01306 // OFF (D) No hidden line removal
01307 // SHAD ON Fill area and shading of surfaces.
01308 // OFF (D) Normal hidden line removal.
01309 // RAYT ON Ray-tracing on.
01310 // OFF (D) Ray-tracing off.
01311 // EDGE OFF Does not draw contours when shad is on.
01312 // ON (D) Normal shading.
01313 // MAPP 1,2,3,4 Mapping before ray-tracing.
01314 // 0 (D) No mapping.
01315 // USER ON User graphics options in the raytracing.
01316 // OFF (D) Automatic graphics options.
01317 //
01318 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
01319 char vvalue[24]; strncpy(vvalue,value,lvalue); vvalue[lvalue] = 0;
01320 geant3->Gdopt(vname, vvalue);
01321 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1324 of file TGeant3f77.cxx. References TGeant3::Gdraw(), and geant3. 01326 {
01327 //
01328 // NAME Volume name
01329 // +
01330 // THETA Viewing angle theta (for 3D projection)
01331 // PHI Viewing angle phi (for 3D projection)
01332 // PSI Viewing angle psi (for 2D rotation)
01333 // U0 U-coord. (horizontal) of volume origin
01334 // V0 V-coord. (vertical) of volume origin
01335 // SU Scale factor for U-coord.
01336 // SV Scale factor for V-coord.
01337 //
01338 // This function will draw the volumes,
01339 // selected with their graphical attributes, set by the Gsatt
01340 // facility. The drawing may be performed with hidden line removal
01341 // and with shading effects according to the value of the options HIDE
01342 // and SHAD; if the option SHAD is ON, the contour's edges can be
01343 // drawn or not. If the option HIDE is ON, the detector can be
01344 // exploded (BOMB), clipped with different shapes (CVOL), and some
01345 // of its parts can be shifted from their original
01346 // position (SHIFT). When HIDE is ON, if
01347 // the drawing requires more than the available memory, the program
01348 // will evaluate and display the number of missing words
01349 // (so that the user can increase the
01350 // size of its ZEBRA store). Finally, at the end of each drawing (with HIDE on),
01351 // the program will print messages about the memory used and
01352 // statistics on the volumes' visibility.
01353 // The following commands will produce the drawing of a green
01354 // volume, specified by NAME, without using the hidden line removal
01355 // technique, using the hidden line removal technique,
01356 // with different linewidth and colour (red), with
01357 // solid colour, with shading of surfaces, and without edges.
01358 // Finally, some examples are given for the ray-tracing. (A possible
01359 // string for the NAME of the volume can be found using the command DTREE).
01360 //
01361 geant3->Gdraw(name, theta,phi,psi,u0,v0,ul,vl);
01362 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 1365 of file TGeant3f77.cxx. References TGeant3::Gdrawc(), and geant3. 01367 {
01368 //
01369 // NAME Volume name
01370 // CAXIS Axis value
01371 // CUTVAL Cut plane distance from the origin along the axis
01372 // +
01373 // U0 U-coord. (horizontal) of volume origin
01374 // V0 V-coord. (vertical) of volume origin
01375 // SU Scale factor for U-coord.
01376 // SV Scale factor for V-coord.
01377 //
01378 // The cut plane is normal to caxis (X,Y,Z), corresponding to iaxis (1,2,3),
01379 // and placed at the distance cutval from the origin.
01380 // The resulting picture is seen from the the same axis.
01381 // When HIDE Mode is ON, it is possible to get the same effect with
01382 // the CVOL/BOX function.
01383 //
01384 geant3->Gdrawc(name, axis,cut,u0,v0,ul,vl);
01385 }
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1388 of file TGeant3f77.cxx. References TGeant3::Gdrawx(), and geant3. 01391 {
01392 //
01393 // NAME Volume name
01394 // CUTTHE Theta angle of the line normal to cut plane
01395 // CUTPHI Phi angle of the line normal to cut plane
01396 // CUTVAL Cut plane distance from the origin along the axis
01397 // +
01398 // THETA Viewing angle theta (for 3D projection)
01399 // PHI Viewing angle phi (for 3D projection)
01400 // U0 U-coord. (horizontal) of volume origin
01401 // V0 V-coord. (vertical) of volume origin
01402 // SU Scale factor for U-coord.
01403 // SV Scale factor for V-coord.
01404 //
01405 // The cut plane is normal to the line given by the cut angles
01406 // cutthe and cutphi and placed at the distance cutval from the origin.
01407 // The resulting picture is seen from the viewing angles theta,phi.
01408 //
01409 geant3->Gdrawx(name, cutthe,cutphi,cutval,theta,phi,u0,v0,ul,vl);
01410 }
|
|
|
Definition at line 1276 of file TGeant3f77.cxx. 01277 {
01278 //
01279 // IVIEW View number
01280 //
01281 // It shows on the screen the contents of a view bank. It
01282 // can be called after a view bank has been closed.
01283 //
01284 //geant3->Gdshow(iview);
01285 }
|
|
|
Definition at line 1457 of file TGeant3f77.cxx. References TGeant3::Gdspec(), and geant3. 01458 {
01459 //
01460 // NAME Volume name
01461 //
01462 // Shows 3 views of the volume (two cut-views and a 3D view), together with
01463 // its geometrical specifications. The 3D drawing will
01464 // be performed according the current values of the options HIDE and
01465 // SHAD and according the current SetClipBox clipping parameters for that
01466 // volume.
01467 //
01468 geant3->Gdspec(name);
01469 }
|
|
||||||||||||||||
|
Definition at line 827 of file TGeant3f77.cxx. References TGeant3::Gdtom(), and geant3. 00828 {
00829 //
00830 // Computes coordinates XM (Master Reference System
00831 // knowing the coordinates XD (Detector Ref System)
00832 // The local reference system can be initialized by
00833 // - the tracking routines and GDTOM used in GUSTEP
00834 // - a call to GSCMED(NLEVEL,NAMES,NUMBER)
00835 // (inverse routine is GMTOD)
00836 //
00837 // If IFLAG=1 convert coordinates
00838 // IFLAG=2 convert direction cosinus
00839 //
00840 geant3->Gdtom(xd, xm, iflag);
00841 }
|
|
||||||||||||||||
|
Definition at line 1472 of file TGeant3f77.cxx. References TGeant3::Gdtree(), and geant3. 01473 {
01474 //
01475 // NAME Volume name
01476 // LEVMAX Depth level
01477 // ISELT Options
01478 //
01479 // This function draws the logical tree,
01480 // Each volume in the tree is represented by a TPaveTree object.
01481 // Double-clicking on a TPaveTree draws the specs of the corresponding volume.
01482 // Use TPaveTree pop-up menu to select:
01483 // - drawing specs
01484 // - drawing tree
01485 // - drawing tree of parent
01486 //
01487 geant3->Gdtree(name, levmax, isel);
01488 }
|
|
|
Definition at line 812 of file TGeant3f77.cxx. 00813 {
00814 //
00815 // Draw the points stored with Gsxyz relative to track it
00816 //
00817 //geant3->Ggdxyz(it);
00818 }
|
|
|
Definition at line 1491 of file TGeant3f77.cxx. References geant3, and TGeant3::Gekbin(). 01492 {
01493 //
01494 //=================Create Materials and geometry
01495 //
01496
01497 geant3->Gekbin();
01498 }
|
|
||||||||||||
|
Definition at line 306 of file TGeant3f77.cxx. References geant3, TGeant3::Gfile(), and option. 00307 {
00308 //
00309 // Routine to open a GEANT/RZ data base.
00310 //
00311 // LUN logical unit number associated to the file
00312 //
00313 // CHFILE RZ file name
00314 //
00315 // CHOPT is a character string which may be
00316 // N To create a new file
00317 // U to open an existing file for update
00318 // " " to open an existing file for read only
00319 // Q The initial allocation (default 1000 records)
00320 // is given in IQUEST(10)
00321 // X Open the file in exchange format
00322 // I Read all data structures from file to memory
00323 // O Write all data structures from memory to file
00324 //
00325 // Note:
00326 // If options "I" or "O" all data structures are read or
00327 // written from/to file and the file is closed.
00328 // See routine GRMDIR to create subdirectories
00329 // See routines GROUT,GRIN to write,read objects
00330 //
00331 geant3->Gfile(filename,option);
00332 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 633 of file TGeant3f77.cxx. References geant3, and TGeant3::Gfkine(). 00635 {
00636 // Storing/Retrieving Vertex and Track parameters
00637 // ----------------------------------------------
00638 //
00639 // Stores vertex parameters.
00640 // VERT array of (x,y,z) position of the vertex
00641 // NTBEAM beam track number origin of the vertex
00642 // =0 if none exists
00643 // NTTARG target track number origin of the vertex
00644 // UBUF user array of NUBUF floating point numbers
00645 // NUBUF
00646 // NVTX new vertex number (=0 in case of error).
00647 // Prints vertex parameters.
00648 // IVTX for vertex IVTX.
00649 // (For all vertices if IVTX=0)
00650 // Stores long life track parameters.
00651 // PLAB components of momentum
00652 // IPART type of particle (see GSPART)
00653 // NV vertex number origin of track
00654 // UBUF array of NUBUF floating point user parameters
00655 // NUBUF
00656 // NT track number (if=0 error).
00657 // Retrieves long life track parameters.
00658 // ITRA track number for which parameters are requested
00659 // VERT vector origin of the track
00660 // PVERT 4 momentum components at the track origin
00661 // IPART particle type (=0 if track ITRA does not exist)
00662 // NVERT vertex number origin of the track
00663 // UBUF user words stored in GSKINE.
00664 // Prints initial track parameters.
00665 // ITRA for track ITRA
00666 // (For all tracks if ITRA=0)
00667 //
00668 ubuf=0;
00669 nbuf=0;
00670 geant3->Gfkine(itra,vert,pvert,ipart,nvert);
00671 }
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 436 of file TGeant3f77.cxx. References geant3, and TGeant3::Gfmate(). 00439 {
00440 //
00441 // Return parameters for material IMAT
00442 //
00443 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00444 geant3->Gfmate(imat, vname,a,z,dens,radl,absl,ubuf,nbuf);
00445 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1217 of file TGeant3f77.cxx. References geant3, and TGeant3::Gfpara(). 01219 {
01220 //
01221 // Find the parameters of a volume
01222 //
01223 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
01224 geant3->Gfpara(vname, number, intext, npar, natt, par, att);
01225 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 448 of file TGeant3f77.cxx. References geant3, and TGeant3::Gfpart(). 00450 {
00451 //
00452 // Return parameters for particle of type IPART
00453 //
00454 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00455 geant3->Gfpart(ipart, vname, itrtyp, amass, charge, tlife);
00456 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 474 of file TGeant3f77.cxx. References geant3, and TGeant3::Gftmat(). 00477 {
00478 //
00479 // Return parameters for tracking medium NUMED
00480 //
00481 geant3->Gftmat(imate, ipart, chmeca, kdim, tkin, value, pcut, ixst);
00482 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 459 of file TGeant3f77.cxx. References geant3, and TGeant3::Gftmed(). 00463 {
00464 //
00465 // Return parameters for tracking medium NUMED
00466 //
00467 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00468 geant3->Gftmed(numed, vname, nmat, isvol, ifield, fieldm, tmaxfd, stemax,
00469 deemax, epsil, stmin);
00470 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 674 of file TGeant3f77.cxx. References geant3, and TGeant3::Gfvert(). 00676 {
00677 //
00678 // Retrieves the parameter of a vertex bank
00679 // Vertex is generated from tracks NTBEAM NTTARG
00680 // NVTX is the new vertex number
00681 //
00682 ubuf=0;
00683 nbuf=0;
00684 geant3->Gfvert(nvtx,v,ntbeam,nttarg,tofg);
00685 }
|
|
|
Definition at line 344 of file TGeant3f77.cxx. References TGeant3::FinishGeometry(), and geant3. 00345 {
00346 //
00347 // Closes off the geometry setting.
00348 // Initializes the search list for the contents of each
00349 // volume following the order they have been positioned, and
00350 // inserting the content '0' when a call to GSNEXT (-1) has
00351 // been required by the user.
00352 // Performs the development of the JVOLUM structure for all
00353 // volumes with variable parameters, by calling GGDVLP.
00354 // Interprets the user calls to GSORD, through GGORD.
00355 // Computes and stores in a bank (next to JVOLUM mother bank)
00356 // the number of levels in the geometrical tree and the
00357 // maximum number of contents per level, by calling GGNLEV.
00358 // Sets status bit for CONCAVE volumes, through GGCAVE.
00359 // Completes the JSET structure with the list of volume names
00360 // which identify uniquely a given physical detector, the
00361 // list of bit numbers to pack the corresponding volume copy
00362 // numbers, and the generic path(s) in the JVOLUM tree,
00363 // through the routine GHCLOS.
00364 //
00365 geant3->FinishGeometry();
00366 }
|
|
|
Definition at line 1501 of file TGeant3f77.cxx. 01502 {
01503 //
01504 //=================Create Materials and geometry
01505 //
01506
01507 //geant3->Init();
01508 }
|
|
|
Definition at line 369 of file TGeant3f77.cxx. References geant3, and TGeant3::Glast().
|
|
||||||||||||||||||||||||||||
|
Definition at line 844 of file TGeant3f77.cxx. References geant3, and TGeant3::Glmoth(). 00846 {
00847 //
00848 // Loads the top part of the Volume tree in LVOLS (IVO's),
00849 // LINDX (IN indices) for a given volume defined through
00850 // its name IUDET and number IUNUM.
00851 //
00852 // The routine stores only upto the last level where JVOLUM
00853 // data structure is developed. If there is no development
00854 // above the current level, it returns NLEV zero.
00855 //Int_t *idum=0;
00856 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00857 geant3->Glmoth(vname, iunum, nlev, lvols, lindx);
00858 }
|
|
|
Definition at line 1575 of file TGeant3f77.cxx. References g3mate. 01576 {
01577 g3mate();
01578 }
|
|
||||||||||||||||
|
Definition at line 861 of file TGeant3f77.cxx. References geant3, and TGeant3::Gmtod(). 00862 {
00863 //
00864 // Computes coordinates XD (in DRS)
00865 // from known coordinates XM in MRS
00866 // The local reference system can be initialized by
00867 // - the tracking routines and GMTOD used in GUSTEP
00868 // - a call to GMEDIA(XM,NUMED)
00869 // - a call to GLVOLU(NLEVEL,NAMES,NUMBER,IER)
00870 // (inverse routine is GDTOM)
00871 //
00872 // If IFLAG=1 convert coordinates
00873 // IFLAG=2 convert direction cosinus
00874 //
00875 geant3->Gmtod(xm, xd, iflag);
00876 }
|
|
|
Definition at line 1570 of file TGeant3f77.cxx. References geant3, and TGeant3::Gpart().
|
|
|
Definition at line 335 of file TGeant3f77.cxx. References geant3, and TGeant3::Gpcxyz(). 00336 {
00337 //
00338 // Print track and volume parameters at current point
00339 //
00340
00341 geant3->Gpcxyz();
00342 }
|
|
|
Definition at line 1565 of file TGeant3f77.cxx. References g3phits. 01566 {
01567 g3phits(i);
01568 }
|
|
|
Definition at line 717 of file TGeant3f77.cxx. References geant3, and TGeant3::Gphysi(). 00718 {
00719 //
00720 // Initialise material constants for all the physics
00721 // mechanisms used by GEANT
00722 //
00723 geant3->Gphysi();
00724 }
|
|
|
Definition at line 1560 of file TGeant3f77.cxx. References g3pjxyz. 01561 {
01562 g3pjxyz(i);
01563 }
|
|
|
Definition at line 1555 of file TGeant3f77.cxx. References g3pkine. 01556 {
01557 g3pkine(i);
01558 }
|
|
|
Definition at line 1530 of file TGeant3f77.cxx. References g3pmate. 01531 {
01532 g3pmate(i);
01533 }
|
|
|
Definition at line 1540 of file TGeant3f77.cxx. References g3ppart. 01541 {
01542 g3ppart(i);
01543 }
|
|
||||||||||||||||
|
Definition at line 378 of file TGeant3f77.cxx. References geant3, and TGeant3::Gprint(). 00379 {
00380 //
00381 // Routine to print data structures
00382 // CHNAME name of a data structure
00383 //
00384 if (lname > 0) {
00385 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00386 if (val == 0) geant3->Gprint(vname);
00387 else geant3->Gprint(vname);
00388 } else {
00389 geant3->Gprint("*");
00390 }
00391 }
|
|
|
Definition at line 1525 of file TGeant3f77.cxx. References g3protm. 01526 {
01527 g3protm(i);
01528 }
|
|
|
Definition at line 1545 of file TGeant3f77.cxx. References g3psets. 01546 {
01547 g3psets(i);
01548 }
|
|
|
Definition at line 1535 of file TGeant3f77.cxx. References g3ptmed. 01536 {
01537 g3ptmed(i);
01538 }
|
|
|
Definition at line 1550 of file TGeant3f77.cxx. References g3pvert. 01551 {
01552 g3pvert(i);
01553 }
|
|
|
Definition at line 1520 of file TGeant3f77.cxx. References g3pvolu. 01521 {
01522 g3pvolu(i);
01523 }
|
|
|
Definition at line 394 of file TGeant3f77.cxx. References geant3, and TGeant3::Grun(). 00395 {
00396 //
00397 // Steering function to process one run
00398 //
00399 geant3->Grun();
00400 }
|
|
||||||||||||||||||||||||
|
Definition at line 1126 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsatt(). 01127 {
01128 //
01129 // NAME Volume name
01130 // IOPT Name of the attribute to be set
01131 // IVAL Value to which the attribute is to be set
01132 //
01133 // name= "*" stands for all the volumes.
01134 // iopt can be chosen among the following :
01135 //
01136 // WORK 0=volume name is inactive for the tracking
01137 // 1=volume name is active for the tracking (default)
01138 //
01139 // SEEN 0=volume name is invisible
01140 // 1=volume name is visible (default)
01141 // -1=volume invisible with all its descendants in the tree
01142 // -2=volume visible but not its descendants in the tree
01143 //
01144 // LSTY line style 1,2,3,... (default=1)
01145 // LSTY=7 will produce a very precise approximation for
01146 // revolution bodies.
01147 //
01148 // LWID line width -7,...,1,2,3,..7 (default=1)
01149 // LWID<0 will act as abs(LWID) was set for the volume
01150 // and for all the levels below it. When SHAD is 'ON', LWID
01151 // represent the linewidth of the scan lines filling the surfaces
01152 // (whereas the FILL value represent their number). Therefore
01153 // tuning this parameter will help to obtain the desired
01154 // quality/performance ratio.
01155 //
01156 // COLO colour code -166,...,1,2,..166 (default=1)
01157 // n=1=black
01158 // n=2=red; n=17+m, m=0,25, increasing luminosity according to 'm';
01159 // n=3=green; n=67+m, m=0,25, increasing luminosity according to 'm';
01160 // n=4=blue; n=117+m, m=0,25, increasing luminosity according to 'm';
01161 // n=5=yellow; n=42+m, m=0,25, increasing luminosity according to 'm';
01162 // n=6=violet; n=142+m, m=0,25, increasing luminosity according to 'm';
01163 // n=7=lightblue; n=92+m, m=0,25, increasing luminosity according to 'm';
01164 // colour=n*10+m, m=1,2,...9, will produce the same colour
01165 // as 'n', but with increasing luminosity according to 'm';
01166 // COLO<0 will act as if abs(COLO) was set for the volume
01167 // and for all the levels below it.
01168 // When for a volume the attribute FILL is > 1 (and the
01169 // option SHAD is on), the ABS of its colour code must be < 8
01170 // because an automatic shading of its faces will be
01171 // performed.
01172 //
01173 // FILL (1992) fill area -7,...,0,1,...7 (default=0)
01174 // when option SHAD is "on" the FILL attribute of any
01175 // volume can be set different from 0 (normal drawing);
01176 // if it is set to 1, the faces of such volume will be filled
01177 // with solid colours; if ABS(FILL) is > 1, then a light
01178 // source is placed along the observer line, and the faces of
01179 // such volumes will be painted by colours whose luminosity
01180 // will depend on the amount of light reflected;
01181 // if ABS(FILL) = 1, then it is possible to use all the 166
01182 // colours of the colour table, becouse the automatic shading
01183 // is not performed;
01184 // for increasing values of FILL the drawing will be performed
01185 // with higher and higher resolution improving the quality (the
01186 // number of scan lines used to fill the faces increases with FILL);
01187 // it is possible to set different values of FILL
01188 // for different volumes, in order to optimize at the same time
01189 // the performance and the quality of the picture;
01190 // FILL<0 will act as if abs(FILL) was set for the volume
01191 // and for all the levels below it.
01192 // This kind of drawing can be saved in 'picture files'
01193 // or in view banks.
01194 // 0=drawing without fill area
01195 // 1=faces filled with solid colours and resolution = 6
01196 // 2=lowest resolution (very fast)
01197 // 3=default resolution
01198 // 4=.................
01199 // 5=.................
01200 // 6=.................
01201 // 7=max resolution
01202 // Finally, if a coloured background is desired, the FILL
01203 // attribute for the first volume of the tree must be set
01204 // equal to -abs(colo), colo being >0 and <166.
01205 //
01206 // SET set number associated to volume name
01207 // DET detector number associated to volume name
01208 // DTYP detector type (1,2)
01209 //
01210 // InitHIGZ();
01211 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
01212 char vatt[24]; strncpy(vatt,att,latt); vatt[latt] = 0;
01213 geant3->Gsatt(vname, vatt, val);
01214 }
|
|
|
Definition at line 1585 of file TGeant3f77.cxx. References g3scank. 01586 {
01587 g3scank();
01588 }
|
|
|
Definition at line 1590 of file TGeant3f77.cxx. References g3scanu. 01591 {
01592 g3scanu();
01593 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 585 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsckov(). 00587 {
00588 //
00589 // Stores the tables for UV photon tracking in medium ITMED
00590 // Please note that it is the user's responsability to
00591 // provide all the coefficients:
00592 //
00593 //
00594 // ITMED Tracking medium number
00595 // NPCKOV Number of bins of each table
00596 // PPCKOV Value of photon momentum (in GeV)
00597 // ABSCO Absorbtion coefficients
00598 // dielectric: absorbtion length in cm
00599 // metals : absorbtion fraction (0<=x<=1)
00600 // EFFIC Detection efficiency for UV photons
00601 // RINDEX Refraction index (if=0 metal)
00602 //
00603 geant3->Gsckov(itmed,npckov,ppckov,absco,effic,rindex);
00604 }
|
|
||||||||||||||||
|
Definition at line 485 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdk(). 00486 {
00487 // Defines branching ratios and decay modes for standard
00488 // GEANT particles.
00489 geant3->Gsdk(ipart,bratio,mode);
00490 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 879 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdvn(). 00881 {
00882 //
00883 // Create a new volume by dividing an existing one
00884 //
00885 // NAME Volume name
00886 // MOTHER Mother volume name
00887 // NDIV Number of divisions
00888 // IAXIS Axis value
00889 //
00890 // X,Y,Z of CAXIS will be translated to 1,2,3 for IAXIS.
00891 // It divides a previously defined volume.
00892 //
00893 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00894 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
00895 geant3->Gsdvn(vname, vmother, ndiv, iaxis);
00896 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 899 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdvn2(). 00901 {
00902 //
00903 // Create a new volume by dividing an existing one
00904 //
00905 // Divides mother into ndiv divisions called name
00906 // along axis iaxis starting at coordinate value c0.
00907 // the new volume created will be medium number numed.
00908 //
00909 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00910 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
00911 geant3->Gsdvn2(vname, vmother, ndiv, iaxis, c0i, numed);
00912 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 915 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdvs(). 00917 {
00918 //
00919 // Create a new volume by dividing an existing one
00920 //
00921 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00922 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
00923 geant3->Gsdvs(vname, vmother, step, iaxis, numed);
00924 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 927 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdvs2(). 00929 {
00930 //
00931 // Create a new volume by dividing an existing one
00932 //
00933 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00934 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
00935 geant3->Gsdvs2(vname, vmother, step, iaxis, c0, numed);
00936 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 939 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdvt(). 00941 {
00942 //
00943 // Create a new volume by dividing an existing one
00944 //
00945 // Divides MOTHER into divisions called NAME along
00946 // axis IAXIS in steps of STEP. If not exactly divisible
00947 // will make as many as possible and will centre them
00948 // with respect to the mother. Divisions will have medium
00949 // number NUMED. If NUMED is 0, NUMED of MOTHER is taken.
00950 // NDVMX is the expected maximum number of divisions
00951 // (If 0, no protection tests are performed)
00952 //
00953 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00954 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
00955 geant3->Gsdvt(vname, vmother, step, iaxis, numed, ndvmx);
00956 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 959 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsdvt2(). 00961 {
00962 //
00963 // Create a new volume by dividing an existing one
00964 //
00965 // Divides MOTHER into divisions called NAME along
00966 // axis IAXIS starting at coordinate value C0 with step
00967 // size STEP.
00968 // The new volume created will have medium number NUMED.
00969 // If NUMED is 0, NUMED of mother is taken.
00970 // NDVMX is the expected maximum number of divisions
00971 // (If 0, no protection tests are performed)
00972 //
00973 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00974 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
00975 geant3->Gsdvt2(vname, vmother, step, iaxis, c0, numed, ndvmx);
00976 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 688 of file TGeant3f77.cxx. References geant3, and TGeant3::Gskine(). 00690 {
00691 //
00692 // Store kinematics of track NT into data structure
00693 // Track is coming from vertex NV
00694 //
00695 nt = geant3->Gskine(plab, ipart, nv, buf, nbuf);
00696 }
|
|
|
Definition at line 742 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsking(). 00743 {
00744 //
00745 // Stores in stack JSTAK either the IGKth track of /GCKING/,
00746 // or the NGKINE tracks when IGK is 0.
00747 //
00748 geant3->Gsking(igk);
00749 }
|
|
|
Definition at line 752 of file TGeant3f77.cxx. References geant3, and TGeant3::Gskpho(). 00753 {
00754 //
00755 // Stores in stack JSTAK either the IGKth Cherenkov photon of
00756 // /GCKIN2/, or the NPHOT tracks when IGK is 0.
00757 //
00758 geant3->Gskpho(igk);
00759 }
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 493 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsmate(). 00495 {
00496 //
00497 // Defines a Material
00498 //
00499 // kmat number assigned to the material
00500 // name material name
00501 // a atomic mass in au
00502 // z atomic number
00503 // dens density in g/cm3
00504 // absl absorbtion length in cm
00505 // if >=0 it is ignored and the program
00506 // calculates it, if <0. -absl is taken
00507 // radl radiation length in cm
00508 // if >=0 it is ignored and the program
00509 // calculates it, if <0. -radl is taken
00510 // buf pointer to an array of user words
00511 // nbuf number of user words
00512 //
00513 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00514 geant3->Gsmate(imat,vname, a, z, dens, radl, absl);
00515 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 518 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsmixt(). 00520 {
00521 //
00522 // Defines mixture OR COMPOUND IMAT as composed by
00523 // THE BASIC NLMAT materials defined by arrays A,Z and WMAT
00524 //
00525 // If NLMAT.GT.0 then WMAT contains the PROPORTION BY
00526 // WEIGTHS OF EACH BASIC MATERIAL IN THE MIXTURE.
00527 //
00528 // If NLMAT.LT.0 then WMAT contains the number of atoms
00529 // of a given kind into the molecule of the COMPOUND
00530 // In this case, WMAT in output is changed to relative
00531 // weigths.
00532 //
00533 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00534 geant3->Gsmixt(imat,vname, a, z,dens, nlmat,wmat);
00535 }
|
|
||||||||||||||||
|
Definition at line 979 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsord(). 00980 {
00981 //
00982 // Flags volume CHNAME whose contents will have to be ordered
00983 // along axis IAX, by setting the search flag to -IAX
00984 // IAX = 1 X axis
00985 // IAX = 2 Y axis
00986 // IAX = 3 Z axis
00987 // IAX = 4 Rxy (static ordering only -> GTMEDI)
00988 // IAX = 14 Rxy (also dynamic ordering -> GTNEXT)
00989 // IAX = 5 Rxyz (static ordering only -> GTMEDI)
00990 // IAX = 15 Rxyz (also dynamic ordering -> GTNEXT)
00991 // IAX = 6 PHI (PHI=0 => X axis)
00992 // IAX = 7 THETA (THETA=0 => Z axis)
00993 //
00994 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00995 geant3->Gsord(vname, iax);
00996 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 538 of file TGeant3f77.cxx. References geant3, and TGeant3::Gspart(). 00540 {
00541 //
00542 // Store particle parameters
00543 //
00544 // ipart particle code
00545 // name particle name
00546 // itrtyp transport method (see GEANT manual)
00547 // amass mass in GeV/c2
00548 // charge charge in electron units
00549 // tlife lifetime in seconds
00550 //
00551
00552 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00553 geant3->Gspart(ipart,vname, itrtyp, amass, charge, tlife);
00554 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 999 of file TGeant3f77.cxx. References geant3, and TGeant3::Gspos(). 01001 {
01002 //
01003 // Position a volume into an existing one
01004 //
01005 // NAME Volume name
01006 // NUMBER Copy number of the volume
01007 // MOTHER Mother volume name
01008 // X X coord. of the volume in mother ref. sys.
01009 // Y Y coord. of the volume in mother ref. sys.
01010 // Z Z coord. of the volume in mother ref. sys.
01011 // IROT Rotation matrix number w.r.t. mother ref. sys.
01012 // ONLY ONLY/MANY flag
01013 //
01014 // It positions a previously defined volume in the mother.
01015 //
01016
01017 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
01018 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
01019 char vkonly[24]; strncpy(vkonly,konly,lkonly); vkonly[lkonly] = 0;
01020 geant3->Gspos(vname, nr, vmother, x, y, z, irot, vkonly);
01021 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1024 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsposp(). 01027 {
01028 //
01029 // Place a copy of generic volume NAME with user number
01030 // NR inside MOTHER, with its parameters UPAR(1..NP)
01031 //
01032 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
01033 char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
01034 geant3->Gsposp(vname, nr, vmother, x,y, z, irot, konly, upar, np);
01035 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 1038 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsrotm(). 01040 {
01041 //
01042 // nmat Rotation matrix number
01043 // THETA1 Polar angle for axis I
01044 // PHI1 Azimuthal angle for axis I
01045 // THETA2 Polar angle for axis II
01046 // PHI2 Azimuthal angle for axis II
01047 // THETA3 Polar angle for axis III
01048 // PHI3 Azimuthal angle for axis III
01049 //
01050 // It defines the rotation matrix number IROT.
01051 //
01052 geant3->Gsrotm(nmat, theta1, phi1, theta2, phi2, theta3, phi3);
01053 }
|
|
|
Definition at line 762 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsstak(). 00763 {
00764 //
00765 // Stores in auxiliary stack JSTAK the particle currently
00766 // described in common /GCKINE/.
00767 //
00768 // On request, creates also an entry in structure JKINE :
00769 // IFLAG =
00770 // 0 : No entry in JKINE structure required (user)
00771 // 1 : New entry in JVERTX / JKINE structures required (user)
00772 // <0 : New entry in JKINE structure at vertex -IFLAG (user)
00773 // 2 : Entry in JKINE structure exists already (from GTREVE)
00774 //
00775 geant3->Gsstak(iflag);
00776 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 557 of file TGeant3f77.cxx. References geant3, and TGeant3::Gstmed(). 00561 {
00562 //
00563 // NTMED Tracking medium number
00564 // NAME Tracking medium name
00565 // NMAT Material number
00566 // ISVOL Sensitive volume flag
00567 // IFIELD Magnetic field
00568 // FIELDM Max. field value (Kilogauss)
00569 // TMAXFD Max. angle due to field (deg/step)
00570 // STEMAX Max. step allowed
00571 // DEEMAX Max. fraction of energy lost in a step
00572 // EPSIL Tracking precision (cm)
00573 // STMIN Min. step due to continuos processes (cm)
00574 //
00575 // IFIELD = 0 if no magnetic field; IFIELD = -1 if user decision in GUSWIM;
00576 // IFIELD = 1 if tracking performed with GRKUTA; IFIELD = 2 if tracking
00577 // performed with G3HELIX; IFIELD = 3 if tracking performed with G3HELX3.
00578 //
00579 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00580 geant3->Gstmed(numed,vname, nmat, isvol, ifield, fieldm, tmaxfd, stemax,
00581 deemax, epsil, stmin);
00582 }
|
|
||||||||||||||||||||
|
Definition at line 607 of file TGeant3f77.cxx. References geant3, and TGeant3::Gstpar(). 00608 {
00609 //
00610 // To change the value of cut or mechanism "CHPAR"
00611 // to a new value PARVAL for tracking medium ITMED
00612 // The data structure JTMED contains the standard tracking
00613 // parameters (CUTS and flags to control the physics processes) which
00614 // are used by default for all tracking media. It is possible to
00615 // redefine individually with GSTPAR any of these parameters for a
00616 // given tracking medium.
00617 // ITMED tracking medium number
00618 // CHPAR is a character string (variable name)
00619 // PARVAL must be given as a floating point.
00620 //
00621
00622 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
00623 geant3->Gstpar(itmed,vname, parval);
00624 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 699 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsvert(). 00701 {
00702 //
00703 // Creates a new vertex bank
00704 // Vertex is generated from tracks NTBEAM NTTARG
00705 // NVTX is the new vertex number
00706 //
00707 nwtx = geant3->Gsvert(v, ntbeam, nttarg, ubuf, nbuf);
00708 }
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1056 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsvolu(). 01058 {
01059 //
01060 // NAME Volume name
01061 // SHAPE Volume type
01062 // NUMED Tracking medium number
01063 // NPAR Number of shape parameters
01064 // UPAR Vector containing shape parameters
01065 //
01066 // It creates a new volume in the JVOLUM data structure.
01067 //
01068 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
01069 char vshape[24]; strncpy(vshape,shape,lshape); vshape[lshape] = 0;
01070 ivolu = geant3->Gsvolu(vname, vshape, nmed, upar, npar);
01071 }
|
|
|
Definition at line 779 of file TGeant3f77.cxx. References geant3, and TGeant3::Gsxyz(). 00780 {
00781 //
00782 // Store space point VECT in banks JXYZ
00783 //
00784 geant3->Gsxyz();
00785 }
|
|
|
Definition at line 788 of file TGeant3f77.cxx. References geant3, and TGeant3::Gtrack(). 00789 {
00790 //
00791 // Controls tracking of current particle
00792 //
00793 geant3->Gtrack();
00794 }
|
|
|
Definition at line 797 of file TGeant3f77.cxx. References geant3, and TGeant3::Gtreve(). 00798 {
00799 //
00800 // Controls tracking of all particles belonging to the current event
00801 //
00802 geant3->Gtreve();
00803 }
|
|
|
Definition at line 403 of file TGeant3f77.cxx. References geant3, and TGeant3::Gtrig(). 00404 {
00405 //
00406 // Steering function to process one event
00407 //
00408 geant3->Gtrig();
00409 }
|
|
|
Definition at line 412 of file TGeant3f77.cxx. References geant3, and TGeant3::Gtrigc().
|
|
|
Definition at line 421 of file TGeant3f77.cxx. References geant3, and TGeant3::Gtrigi().
|
|
|
Definition at line 1596 of file TGeant3f77.cxx. References geant3, and TGeant3::Gzinit(). 01597 {
01598 //
01599 //=================Initialize zebra
01600 //
01601
01602 geant3->Gzinit();
01603 }
|
|
|
Definition at line 1088 of file TGeant3.cxx. |
1.3.9.1