All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions | Variables
TGeant3f77.cxx File Reference
#include "larreco/Genfit/TGeant3/TGeant3f77.h"
#include "larreco/Genfit/TGeant3/TCallf77.h"

Go to the source code of this file.

Macros

#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

 ClassImp (TGeant3f77) TGeant3f77
 
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

TGeant3geant3
 

Macro Definition Documentation

#define dzshow   dzshow_

Definition at line 134 of file TGeant3f77.cxx.

#define ertrak   ertrak_

Definition at line 142 of file TGeant3f77.cxx.

#define ertrgo   ertrgo_

Definition at line 143 of file TGeant3f77.cxx.

#define g3bhsta   g3bhsta_

Definition at line 86 of file TGeant3f77.cxx.

#define g3cinit   g3cinit_

Definition at line 37 of file TGeant3f77.cxx.

#define g3mate   g3mate_

Definition at line 81 of file TGeant3f77.cxx.

#define g3part   g3part_

Definition at line 80 of file TGeant3f77.cxx.

#define g3phits   g3phits_

Definition at line 79 of file TGeant3f77.cxx.

#define g3pjxyz   g3pjxyz_

Definition at line 78 of file TGeant3f77.cxx.

#define g3pkine   g3pkine_

Definition at line 77 of file TGeant3f77.cxx.

#define g3pmate   g3pmate_

Definition at line 73 of file TGeant3f77.cxx.

#define g3ppart   g3ppart_

Definition at line 74 of file TGeant3f77.cxx.

#define g3protm   g3protm_

Definition at line 71 of file TGeant3f77.cxx.

#define g3psets   g3psets_

Definition at line 75 of file TGeant3f77.cxx.

#define g3ptmed   g3ptmed_

Definition at line 72 of file TGeant3f77.cxx.

#define g3pvert   g3pvert_

Definition at line 76 of file TGeant3f77.cxx.

#define g3pvolu   g3pvolu_

Definition at line 70 of file TGeant3f77.cxx.

#define g3scank   g3scank_

Definition at line 84 of file TGeant3f77.cxx.

#define g3scanu   g3scanu_

Definition at line 85 of file TGeant3f77.cxx.

#define gbhsta   gbhsta_

Definition at line 87 of file TGeant3f77.cxx.

#define gbrelm   gbrelm_

Definition at line 149 of file TGeant3f77.cxx.

#define gckmat   gckmat_

Definition at line 138 of file TGeant3f77.cxx.

#define gckpar   gckpar_

Definition at line 137 of file TGeant3f77.cxx.

#define gcomad   gcomad_

Definition at line 147 of file TGeant3f77.cxx.

#define gdclos   gdclos_

Definition at line 131 of file TGeant3f77.cxx.

#define gdebug   gdebug_

Definition at line 89 of file TGeant3f77.cxx.

#define gdelet   gdelet_

Definition at line 130 of file TGeant3f77.cxx.

#define gdhead   gdhead_

Definition at line 122 of file TGeant3f77.cxx.

#define gdinit   gdinit_

Definition at line 116 of file TGeant3f77.cxx.

#define gdman   gdman_

Definition at line 127 of file TGeant3f77.cxx.

#define gdopen   gdopen_

Definition at line 133 of file TGeant3f77.cxx.

#define gdopt   gdopt_

Definition at line 117 of file TGeant3f77.cxx.

#define gdraw   gdraw_

Definition at line 118 of file TGeant3f77.cxx.

#define gdrawc   gdrawc_

Definition at line 120 of file TGeant3f77.cxx.

#define gdrawx   gdrawx_

Definition at line 121 of file TGeant3f77.cxx.

#define gdrayt   gdrayt_

Definition at line 119 of file TGeant3f77.cxx.

#define gdshow   gdshow_

Definition at line 132 of file TGeant3f77.cxx.

#define gdspec   gdspec_

Definition at line 128 of file TGeant3f77.cxx.

#define gdtom   gdtom_

Definition at line 101 of file TGeant3f77.cxx.

#define gdtree   gdtree_

Definition at line 129 of file TGeant3f77.cxx.

#define gdwmn1   gdwmn1_

Definition at line 123 of file TGeant3f77.cxx.

#define gdwmn2   gdwmn2_

Definition at line 124 of file TGeant3f77.cxx.

#define gdwmn3   gdwmn3_

Definition at line 125 of file TGeant3f77.cxx.

#define gdxyz   gdxyz_

Definition at line 126 of file TGeant3f77.cxx.

#define geditv   geditv_

Definition at line 139 of file TGeant3f77.cxx.

#define gekbin   gekbin_

Definition at line 90 of file TGeant3f77.cxx.

#define gfinds   gfinds_

Definition at line 91 of file TGeant3f77.cxx.

#define gfkine   gfkine_

Definition at line 56 of file TGeant3f77.cxx.

#define gfmate   gfmate_

Definition at line 43 of file TGeant3f77.cxx.

#define gfpara   gfpara_

Definition at line 136 of file TGeant3f77.cxx.

#define gfpart   gfpart_

Definition at line 44 of file TGeant3f77.cxx.

#define gftmat   gftmat_

Definition at line 46 of file TGeant3f77.cxx.

#define gftmed   gftmed_

Definition at line 45 of file TGeant3f77.cxx.

#define gfvert   gfvert_

Definition at line 57 of file TGeant3f77.cxx.

#define ggclos   ggclos_

Definition at line 34 of file TGeant3f77.cxx.

#define ginit   ginit_

Definition at line 36 of file TGeant3f77.cxx.

#define glast   glast_

Definition at line 35 of file TGeant3f77.cxx.

#define glmoth   glmoth_

Definition at line 102 of file TGeant3f77.cxx.

#define gmate   gmate_

Definition at line 48 of file TGeant3f77.cxx.

#define gmtod   gmtod_

Definition at line 103 of file TGeant3f77.cxx.

#define gpart   gpart_

Definition at line 47 of file TGeant3f77.cxx.

#define gpcxyz   gpcxyz_

Definition at line 33 of file TGeant3f77.cxx.

#define gphits   gphits_

Definition at line 69 of file TGeant3f77.cxx.

#define gphysi   gphysi_

Definition at line 88 of file TGeant3f77.cxx.

#define gpjxyz   gpjxyz_

Definition at line 68 of file TGeant3f77.cxx.

#define gpkine   gpkine_

Definition at line 67 of file TGeant3f77.cxx.

#define gpmate   gpmate_

Definition at line 63 of file TGeant3f77.cxx.

#define gppart   gppart_

Definition at line 64 of file TGeant3f77.cxx.

#define gprelm   gprelm_

Definition at line 150 of file TGeant3f77.cxx.

#define gprint   gprint_

Definition at line 115 of file TGeant3f77.cxx.

#define gprotm   gprotm_

Definition at line 61 of file TGeant3f77.cxx.

#define gpsets   gpsets_

Definition at line 65 of file TGeant3f77.cxx.

#define gptmed   gptmed_

Definition at line 62 of file TGeant3f77.cxx.

#define gpvert   gpvert_

Definition at line 66 of file TGeant3f77.cxx.

#define gpvolu   gpvolu_

Definition at line 60 of file TGeant3f77.cxx.

#define grfile   grfile_

Definition at line 32 of file TGeant3f77.cxx.

#define grndm   grndm_

Definition at line 99 of file TGeant3f77.cxx.

#define grndmq   grndmq_

Definition at line 100 of file TGeant3f77.cxx.

#define grun   grun_

Definition at line 39 of file TGeant3f77.cxx.

#define gsatt   gsatt_

Definition at line 135 of file TGeant3f77.cxx.

#define gscank   gscank_

Definition at line 82 of file TGeant3f77.cxx.

#define gscanu   gscanu_

Definition at line 83 of file TGeant3f77.cxx.

#define gsckov   gsckov_

Definition at line 54 of file TGeant3f77.cxx.

#define gsdk   gsdk_

Definition at line 49 of file TGeant3f77.cxx.

#define gsdvn   gsdvn_

Definition at line 104 of file TGeant3f77.cxx.

#define gsdvn2   gsdvn2_

Definition at line 105 of file TGeant3f77.cxx.

#define gsdvs   gsdvs_

Definition at line 106 of file TGeant3f77.cxx.

#define gsdvs2   gsdvs2_

Definition at line 107 of file TGeant3f77.cxx.

#define gsdvt   gsdvt_

Definition at line 108 of file TGeant3f77.cxx.

#define gsdvt2   gsdvt2_

Definition at line 109 of file TGeant3f77.cxx.

#define gskine   gskine_

Definition at line 58 of file TGeant3f77.cxx.

#define gsking   gsking_

Definition at line 92 of file TGeant3f77.cxx.

#define gskpho   gskpho_

Definition at line 93 of file TGeant3f77.cxx.

#define gsmate   gsmate_

Definition at line 50 of file TGeant3f77.cxx.

#define gsmixt   gsmixt_

Definition at line 51 of file TGeant3f77.cxx.

#define gsord   gsord_

Definition at line 110 of file TGeant3f77.cxx.

#define gspart   gspart_

Definition at line 52 of file TGeant3f77.cxx.

#define gspos   gspos_

Definition at line 111 of file TGeant3f77.cxx.

#define gsposp   gsposp_

Definition at line 112 of file TGeant3f77.cxx.

#define gsrotm   gsrotm_

Definition at line 113 of file TGeant3f77.cxx.

#define gsstak   gsstak_

Definition at line 94 of file TGeant3f77.cxx.

#define gstmed   gstmed_

Definition at line 53 of file TGeant3f77.cxx.

#define gstpar   gstpar_

Definition at line 55 of file TGeant3f77.cxx.

#define gsvert   gsvert_

Definition at line 59 of file TGeant3f77.cxx.

#define gsvolu   gsvolu_

Definition at line 114 of file TGeant3f77.cxx.

#define gsxyz   gsxyz_

Definition at line 95 of file TGeant3f77.cxx.

#define gtrack   gtrack_

Definition at line 96 of file TGeant3f77.cxx.

#define gtreve   gtreve_

Definition at line 97 of file TGeant3f77.cxx.

#define gtreveroot   gtreveroot_

Definition at line 98 of file TGeant3f77.cxx.

#define gtrig   gtrig_

Definition at line 40 of file TGeant3f77.cxx.

#define gtrigc   gtrigc_

Definition at line 41 of file TGeant3f77.cxx.

#define gtrigi   gtrigi_

Definition at line 42 of file TGeant3f77.cxx.

#define gzebra   gzebra_

Definition at line 31 of file TGeant3f77.cxx.

#define gzinit   gzinit_

Definition at line 38 of file TGeant3f77.cxx.

#define mzdrop   mzdrop_

Definition at line 140 of file TGeant3f77.cxx.

#define rxgtrak   rxgtrak_

Definition at line 152 of file TGeant3f77.cxx.

#define rxinh   rxinh_

Definition at line 154 of file TGeant3f77.cxx.

#define rxouth   rxouth_

Definition at line 153 of file TGeant3f77.cxx.

#define setbomb   setbomb_

Definition at line 145 of file TGeant3f77.cxx.

#define setclip   setclip_

Definition at line 146 of file TGeant3f77.cxx.

Function Documentation

ClassImp ( TGeant3f77  )

Definition at line 261 of file TGeant3f77.cxx.

264  : TGeant3()
265 {
266  //
267  // Default constructor
268  //
269 }
void g3bhsta ( )
void g3mate ( )
void g3part ( Int_t &  )
void g3phits ( Int_t &  )
void g3pjxyz ( Int_t &  )
void g3pkine ( Int_t &  )
void g3pmate ( Int_t &  )
void g3ppart ( Int_t &  )
void g3protm ( Int_t &  )
void g3psets ( Int_t &  )
void g3ptmed ( Int_t &  )
void g3pvert ( Int_t &  )
void g3pvolu ( Int_t &  )
void g3scank ( )
void g3scanu ( )
void gbhsta ( )

Definition at line 1580 of file TGeant3f77.cxx.

1581 {
1582  g3bhsta();
1583 }
#define g3bhsta
Definition: TGeant3f77.cxx:86
void gckmat ( Int_t &  itmed,
char *  natmed 
)

Definition at line 1228 of file TGeant3f77.cxx.

1229 {
1230  //
1231  // Check the parameters of a tracking medium
1232  //
1233  geant3->Gckmat(itmed, natmed);
1234 }
virtual void Gckmat(Int_t itmed, char *natmed)
Definition: TGeant3.cxx:4511
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gdclose ( )

Definition at line 1266 of file TGeant3f77.cxx.

1267 {
1268  //
1269  // It closes the currently open view bank; it must be called after the
1270  // end of the drawing to be stored.
1271  //
1272  //geant3->Gdclos();
1273 }
void gdebug ( )

Definition at line 733 of file TGeant3f77.cxx.

734 {
735  //
736  // Debug the current step
737  //
738  geant3->Gdebug();
739 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdebug()
Definition: TGeant3.cxx:3720
void gdelete ( Int_t &  )

Definition at line 1237 of file TGeant3f77.cxx.

1238 {
1239  //
1240  // IVIEW View number
1241  //
1242  // It deletes a view bank from memory.
1243  //
1244  //geant3->Gdelet(iview);
1245 }
void gdhead ( Int_t &  isel,
const char *  name,
Float_t &  chrsiz 
)

Definition at line 1413 of file TGeant3f77.cxx.

1414 {
1415  //
1416  // Parameters
1417  // +
1418  // ISEL Option flag D=111110
1419  // NAME Title
1420  // CHRSIZ Character size (cm) of title NAME D=0.6
1421  //
1422  // ISEL =
1423  // 0 to have only the header lines
1424  // xxxxx1 to add the text name centered on top of header
1425  // xxxx1x to add global detector name (first volume) on left
1426  // xxx1xx to add date on right
1427  // xx1xxx to select thick characters for text on top of header
1428  // x1xxxx to add the text 'EVENT NR x' on top of header
1429  // 1xxxxx to add the text 'RUN NR x' on top of header
1430  // NOTE that ISEL=x1xxx1 or ISEL=1xxxx1 are illegal choices,
1431  // i.e. they generate overwritten text.
1432  //
1433 
1434  geant3->Gdhead(isel,name,chrsiz);
1435 }
virtual void Gdhead(Int_t isel, const char *name, Double_t chrsiz=0.6)
Definition: TGeant3.cxx:4719
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gdinit ( )

Definition at line 1511 of file TGeant3f77.cxx.

1512 {
1513  //
1514  //=================Create Materials and geometry
1515  //
1516 
1517 }
void gdman ( Float_t &  u,
Float_t &  v,
const char *   
)

Definition at line 1438 of file TGeant3f77.cxx.

1439 {
1440  //
1441  // Draw a 2D-man at position (U0,V0)
1442  // Parameters
1443  // U U-coord. (horizontal) of the centre of man' R
1444  // V V-coord. (vertical) of the centre of man' R
1445  // TYPE D='MAN' possible values: 'MAN,WM1,WM2,WM3'
1446  //
1447  // CALL GDMAN(u,v),CALL GDWMN1(u,v),CALL GDWMN2(u,v),CALL GDWMN2(u,v)
1448  // It superimposes the picure of a man or of a woman, chosen among
1449  // three different ones, with the same scale factors as the detector
1450  // in the current drawing.
1451  //
1452 
1453  geant3->Gdman(u,v);
1454 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdman(Double_t u0, Double_t v0, const char *type="MAN")
Definition: TGeant3.cxx:4742
void gdopen ( Int_t &  iview)

Definition at line 1248 of file TGeant3f77.cxx.

1249 {
1250  //
1251  // IVIEW View number
1252  //
1253  // When a drawing is very complex and requires a long time to be
1254  // executed, it can be useful to store it in a view bank: after a
1255  // call to DOPEN and the execution of the drawing (nothing will
1256  // appear on the screen), and after a necessary call to DCLOSE,
1257  // the contents of the bank can be displayed in a very fast way
1258  // through a call to DSHOW; therefore, the detector can be easily
1259  // zoomed many times in different ways. Please note that the pictures
1260  // with solid colours can now be stored in a view bank or in 'PICTURE FILES'
1261  //
1262  geant3->Gdopen(iview);
1263 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdopen(Int_t view)
Definition: TGeant3.cxx:4555
void gdopt ( const char *  name,
const char *  value,
const Int_t  lname,
const Int_t  lvalue 
)

Definition at line 1288 of file TGeant3f77.cxx.

1289 {
1290  //
1291  // NAME Option name
1292  // VALUE Option value
1293  //
1294  // To set/modify the drawing options.
1295  // IOPT IVAL Action
1296  //
1297  // THRZ ON Draw tracks in R vs Z
1298  // OFF (D) Draw tracks in X,Y,Z
1299  // 180
1300  // 360
1301  // PROJ PARA (D) Parallel projection
1302  // PERS Perspective
1303  // TRAK LINE (D) Trajectory drawn with lines
1304  // POIN " " with markers
1305  // HIDE ON Hidden line removal using the CG package
1306  // OFF (D) No hidden line removal
1307  // SHAD ON Fill area and shading of surfaces.
1308  // OFF (D) Normal hidden line removal.
1309  // RAYT ON Ray-tracing on.
1310  // OFF (D) Ray-tracing off.
1311  // EDGE OFF Does not draw contours when shad is on.
1312  // ON (D) Normal shading.
1313  // MAPP 1,2,3,4 Mapping before ray-tracing.
1314  // 0 (D) No mapping.
1315  // USER ON User graphics options in the raytracing.
1316  // OFF (D) Automatic graphics options.
1317  //
1318  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1319  char vvalue[24]; strncpy(vvalue,value,lvalue); vvalue[lvalue] = 0;
1320  geant3->Gdopt(vname, vvalue);
1321 }
virtual void Gdopt(const char *name, const char *value)
Definition: TGeant3.cxx:4592
TGeant3 * geant3
Definition: TGeant3.cxx:1072
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
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 
)

Definition at line 1324 of file TGeant3f77.cxx.

1326 {
1327  //
1328  // NAME Volume name
1329  // +
1330  // THETA Viewing angle theta (for 3D projection)
1331  // PHI Viewing angle phi (for 3D projection)
1332  // PSI Viewing angle psi (for 2D rotation)
1333  // U0 U-coord. (horizontal) of volume origin
1334  // V0 V-coord. (vertical) of volume origin
1335  // SU Scale factor for U-coord.
1336  // SV Scale factor for V-coord.
1337  //
1338  // This function will draw the volumes,
1339  // selected with their graphical attributes, set by the Gsatt
1340  // facility. The drawing may be performed with hidden line removal
1341  // and with shading effects according to the value of the options HIDE
1342  // and SHAD; if the option SHAD is ON, the contour's edges can be
1343  // drawn or not. If the option HIDE is ON, the detector can be
1344  // exploded (BOMB), clipped with different shapes (CVOL), and some
1345  // of its parts can be shifted from their original
1346  // position (SHIFT). When HIDE is ON, if
1347  // the drawing requires more than the available memory, the program
1348  // will evaluate and display the number of missing words
1349  // (so that the user can increase the
1350  // size of its ZEBRA store). Finally, at the end of each drawing (with HIDE on),
1351  // the program will print messages about the memory used and
1352  // statistics on the volumes' visibility.
1353  // The following commands will produce the drawing of a green
1354  // volume, specified by NAME, without using the hidden line removal
1355  // technique, using the hidden line removal technique,
1356  // with different linewidth and colour (red), with
1357  // solid colour, with shading of surfaces, and without edges.
1358  // Finally, some examples are given for the ray-tracing. (A possible
1359  // string for the NAME of the volume can be found using the command DTREE).
1360  //
1361  geant3->Gdraw(name, theta,phi,psi,u0,v0,ul,vl);
1362 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdraw(const char *name, Double_t theta=30, Double_t phi=30, Double_t psi=0, Double_t u0=10, Double_t v0=10, Double_t ul=0.01, Double_t vl=0.01)
Definition: TGeant3.cxx:4632
void gdrawc ( const char *  name,
Int_t &  axis,
Float_t &  cut,
Float_t &  u0,
Float_t &  v0,
Float_t &  ul,
Float_t &  vl 
)

Definition at line 1365 of file TGeant3f77.cxx.

1367 {
1368  //
1369  // NAME Volume name
1370  // CAXIS Axis value
1371  // CUTVAL Cut plane distance from the origin along the axis
1372  // +
1373  // U0 U-coord. (horizontal) of volume origin
1374  // V0 V-coord. (vertical) of volume origin
1375  // SU Scale factor for U-coord.
1376  // SV Scale factor for V-coord.
1377  //
1378  // The cut plane is normal to caxis (X,Y,Z), corresponding to iaxis (1,2,3),
1379  // and placed at the distance cutval from the origin.
1380  // The resulting picture is seen from the the same axis.
1381  // When HIDE Mode is ON, it is possible to get the same effect with
1382  // the CVOL/BOX function.
1383  //
1384  geant3->Gdrawc(name, axis,cut,u0,v0,ul,vl);
1385 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdrawc(const char *name, Int_t axis=1, Float_t cut=0, Float_t u0=10, Float_t v0=10, Float_t ul=0.01, Float_t vl=0.01)
Definition: TGeant3.cxx:4673
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 
)

Definition at line 1388 of file TGeant3f77.cxx.

1391 {
1392  //
1393  // NAME Volume name
1394  // CUTTHE Theta angle of the line normal to cut plane
1395  // CUTPHI Phi angle of the line normal to cut plane
1396  // CUTVAL Cut plane distance from the origin along the axis
1397  // +
1398  // THETA Viewing angle theta (for 3D projection)
1399  // PHI Viewing angle phi (for 3D projection)
1400  // U0 U-coord. (horizontal) of volume origin
1401  // V0 V-coord. (vertical) of volume origin
1402  // SU Scale factor for U-coord.
1403  // SV Scale factor for V-coord.
1404  //
1405  // The cut plane is normal to the line given by the cut angles
1406  // cutthe and cutphi and placed at the distance cutval from the origin.
1407  // The resulting picture is seen from the viewing angles theta,phi.
1408  //
1409  geant3->Gdrawx(name, cutthe,cutphi,cutval,theta,phi,u0,v0,ul,vl);
1410 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdrawx(const char *name, Float_t cutthe, Float_t cutphi, Float_t cutval, Float_t theta=30, Float_t phi=30, Float_t u0=10, Float_t v0=10, Float_t ul=0.01, Float_t vl=0.01)
Definition: TGeant3.cxx:4695
void gdshow ( Int_t &  )

Definition at line 1276 of file TGeant3f77.cxx.

1277 {
1278  //
1279  // IVIEW View number
1280  //
1281  // It shows on the screen the contents of a view bank. It
1282  // can be called after a view bank has been closed.
1283  //
1284  //geant3->Gdshow(iview);
1285 }
void gdspec ( const char *  name)

Definition at line 1457 of file TGeant3f77.cxx.

1458 {
1459  //
1460  // NAME Volume name
1461  //
1462  // Shows 3 views of the volume (two cut-views and a 3D view), together with
1463  // its geometrical specifications. The 3D drawing will
1464  // be performed according the current values of the options HIDE and
1465  // SHAD and according the current SetClipBox clipping parameters for that
1466  // volume.
1467  //
1468  geant3->Gdspec(name);
1469 }
virtual void Gdspec(const char *name)
Definition: TGeant3.cxx:4759
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gdtom ( Float_t *  xd,
Float_t *  xm,
Int_t &  iflag 
)

Definition at line 827 of file TGeant3f77.cxx.

828 {
829  //
830  // Computes coordinates XM (Master Reference System
831  // knowing the coordinates XD (Detector Ref System)
832  // The local reference system can be initialized by
833  // - the tracking routines and GDTOM used in GUSTEP
834  // - a call to GSCMED(NLEVEL,NAMES,NUMBER)
835  // (inverse routine is GMTOD)
836  //
837  // If IFLAG=1 convert coordinates
838  // IFLAG=2 convert direction cosinus
839  //
840  geant3->Gdtom(xd, xm, iflag);
841 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdtom(Float_t *xd, Float_t *xm, Int_t iflag)
Definition: TGeant3.cxx:3881
void gdtree ( const char *  name,
Int_t &  levmax,
Int_t &  isel 
)

Definition at line 1472 of file TGeant3f77.cxx.

1473 {
1474  //
1475  // NAME Volume name
1476  // LEVMAX Depth level
1477  // ISELT Options
1478  //
1479  // This function draws the logical tree,
1480  // Each volume in the tree is represented by a TPaveTree object.
1481  // Double-clicking on a TPaveTree draws the specs of the corresponding volume.
1482  // Use TPaveTree pop-up menu to select:
1483  // - drawing specs
1484  // - drawing tree
1485  // - drawing tree of parent
1486  //
1487  geant3->Gdtree(name, levmax, isel);
1488 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gdtree(const char *name, Int_t levmax=15, Int_t ispec=0)
Definition: TGeant3.cxx:4782
void gdxyz ( Int_t &  )

Definition at line 812 of file TGeant3f77.cxx.

813 {
814  //
815  // Draw the points stored with Gsxyz relative to track it
816  //
817  //geant3->Ggdxyz(it);
818 }
void gekbin ( )

Definition at line 1491 of file TGeant3f77.cxx.

1492 {
1493  //
1494  //=================Create Materials and geometry
1495  //
1496 
1497  geant3->Gekbin();
1498 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gekbin()
Definition: TGeant3.cxx:3729
void gfile ( const char *  filename,
const char *  option 
)

Definition at line 306 of file TGeant3f77.cxx.

307 {
308  //
309  // Routine to open a GEANT/RZ data base.
310  //
311  // LUN logical unit number associated to the file
312  //
313  // CHFILE RZ file name
314  //
315  // CHOPT is a character string which may be
316  // N To create a new file
317  // U to open an existing file for update
318  // " " to open an existing file for read only
319  // Q The initial allocation (default 1000 records)
320  // is given in IQUEST(10)
321  // X Open the file in exchange format
322  // I Read all data structures from file to memory
323  // O Write all data structures from memory to file
324  //
325  // Note:
326  // If options "I" or "O" all data structures are read or
327  // written from/to file and the file is closed.
328  // See routine GRMDIR to create subdirectories
329  // See routines GROUT,GRIN to write,read objects
330  //
331  geant3->Gfile(filename,option);
332 }
virtual void Gfile(const char *filename, const char *option="I")
Definition: TGeant3.cxx:3069
string filename
Definition: train.py:213
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gfkine ( Int_t &  itra,
Float_t *  vert,
Float_t *  pvert,
Int_t &  ipart,
Int_t &  nvert,
Float_t *  ubuf,
Int_t &  nbuf 
)

Definition at line 633 of file TGeant3f77.cxx.

635 {
636  // Storing/Retrieving Vertex and Track parameters
637  // ----------------------------------------------
638  //
639  // Stores vertex parameters.
640  // VERT array of (x,y,z) position of the vertex
641  // NTBEAM beam track number origin of the vertex
642  // =0 if none exists
643  // NTTARG target track number origin of the vertex
644  // UBUF user array of NUBUF floating point numbers
645  // NUBUF
646  // NVTX new vertex number (=0 in case of error).
647  // Prints vertex parameters.
648  // IVTX for vertex IVTX.
649  // (For all vertices if IVTX=0)
650  // Stores long life track parameters.
651  // PLAB components of momentum
652  // IPART type of particle (see GSPART)
653  // NV vertex number origin of track
654  // UBUF array of NUBUF floating point user parameters
655  // NUBUF
656  // NT track number (if=0 error).
657  // Retrieves long life track parameters.
658  // ITRA track number for which parameters are requested
659  // VERT vector origin of the track
660  // PVERT 4 momentum components at the track origin
661  // IPART particle type (=0 if track ITRA does not exist)
662  // NVERT vertex number origin of the track
663  // UBUF user words stored in GSKINE.
664  // Prints initial track parameters.
665  // ITRA for track ITRA
666  // (For all tracks if ITRA=0)
667  //
668  ubuf=0;
669  nbuf=0;
670  geant3->Gfkine(itra,vert,pvert,ipart,nvert);
671 }
virtual void Gfkine(Int_t itra, Float_t *vert, Float_t *pvert, Int_t &ipart, Int_t &nvert)
Definition: TGeant3.cxx:3616
TGeant3 * geant3
Definition: TGeant3.cxx:1072
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 
)

Definition at line 436 of file TGeant3f77.cxx.

439 {
440  //
441  // Return parameters for material IMAT
442  //
443  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
444  geant3->Gfmate(imat, vname,a,z,dens,radl,absl,ubuf,nbuf);
445 }
virtual 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)
Definition: TGeant3.cxx:3227
TGeant3 * geant3
Definition: TGeant3.cxx:1072
double z
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
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 
)

Definition at line 1217 of file TGeant3f77.cxx.

1219 {
1220  //
1221  // Find the parameters of a volume
1222  //
1223  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1224  geant3->Gfpara(vname, number, intext, npar, natt, par, att);
1225 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gfpara(const char *name, Int_t number, Int_t intext, Int_t &npar, Int_t &natt, Float_t *par, Float_t *att)
Definition: TGeant3.cxx:4491
void gfpart ( Int_t &  ipart,
char *  name,
Int_t &  itrtyp,
Float_t &  amass,
Float_t &  charge,
Float_t &  tlife,
const Int_t  lname 
)

Definition at line 448 of file TGeant3f77.cxx.

450 {
451  //
452  // Return parameters for particle of type IPART
453  //
454  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
455  geant3->Gfpart(ipart, vname, itrtyp, amass, charge, tlife);
456 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gfpart(Int_t ipart, char *name, Int_t &itrtyp, Float_t &amass, Float_t &charge, Float_t &tlife) const
Definition: TGeant3.cxx:3266
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 
)

Definition at line 474 of file TGeant3f77.cxx.

477 {
478  //
479  // Return parameters for tracking medium NUMED
480  //
481  geant3->Gftmat(imate, ipart, chmeca, kdim, tkin, value, pcut, ixst);
482 }
virtual 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)
Definition: TGeant3.cxx:3295
TGeant3 * geant3
Definition: TGeant3.cxx:1072
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
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 
)

Definition at line 459 of file TGeant3f77.cxx.

463 {
464  //
465  // Return parameters for tracking medium NUMED
466  //
467  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
468  geant3->Gftmed(numed, vname, nmat, isvol, ifield, fieldm, tmaxfd, stemax,
469  deemax, epsil, stmin);
470 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual 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 *buf=0, Int_t *nbuf=0)
Definition: TGeant3.cxx:3281
void gfvert ( Int_t &  nvtx,
Float_t *  v,
Int_t &  ntbeam,
Int_t &  nttarg,
Float_t &  tofg,
Float_t *  ubuf,
Int_t &  nbuf 
)

Definition at line 674 of file TGeant3f77.cxx.

676 {
677  //
678  // Retrieves the parameter of a vertex bank
679  // Vertex is generated from tracks NTBEAM NTTARG
680  // NVTX is the new vertex number
681  //
682  ubuf=0;
683  nbuf=0;
684  geant3->Gfvert(nvtx,v,ntbeam,nttarg,tofg);
685 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gfvert(Int_t nvtx, Float_t *v, Int_t &ntbeam, Int_t &nttarg, Float_t &tofg)
Definition: TGeant3.cxx:3657
void ggclos ( )

Definition at line 344 of file TGeant3f77.cxx.

345 {
346  //
347  // Closes off the geometry setting.
348  // Initializes the search list for the contents of each
349  // volume following the order they have been positioned, and
350  // inserting the content '0' when a call to GSNEXT (-1) has
351  // been required by the user.
352  // Performs the development of the JVOLUM structure for all
353  // volumes with variable parameters, by calling GGDVLP.
354  // Interprets the user calls to GSORD, through GGORD.
355  // Computes and stores in a bank (next to JVOLUM mother bank)
356  // the number of levels in the geometrical tree and the
357  // maximum number of contents per level, by calling GGNLEV.
358  // Sets status bit for CONCAVE volumes, through GGCAVE.
359  // Completes the JSET structure with the list of volume names
360  // which identify uniquely a given physical detector, the
361  // list of bit numbers to pack the corresponding volume copy
362  // numbers, and the generic path(s) in the JVOLUM tree,
363  // through the routine GHCLOS.
364  //
366 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void FinishGeometry()
Definition: TGeant3.cxx:6205
void ginit ( )

Definition at line 1501 of file TGeant3f77.cxx.

1502 {
1503  //
1504  //=================Create Materials and geometry
1505  //
1506 
1507  //geant3->Init();
1508 }
void glast ( )

Definition at line 369 of file TGeant3f77.cxx.

370 {
371  //
372  // Finish a Geant run
373  //
374  geant3->Glast();
375 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Glast()
Definition: TGeant3.cxx:3141
void glmoth ( const char *  name,
Int_t &  iunum,
Int_t &  nlev,
Int_t *  lvols,
Int_t *  lindx,
const Int_t  lname 
)

Definition at line 844 of file TGeant3f77.cxx.

846 {
847  //
848  // Loads the top part of the Volume tree in LVOLS (IVO's),
849  // LINDX (IN indices) for a given volume defined through
850  // its name IUDET and number IUNUM.
851  //
852  // The routine stores only upto the last level where JVOLUM
853  // data structure is developed. If there is no development
854  // above the current level, it returns NLEV zero.
855  //Int_t *idum=0;
856  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
857  geant3->Glmoth(vname, iunum, nlev, lvols, lindx);
858 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Glmoth(const char *iudet, Int_t iunum, Int_t &nlev, Int_t *lvols, Int_t *lindx)
Definition: TGeant3.cxx:3926
void gmate ( )

Definition at line 1575 of file TGeant3f77.cxx.

1576 {
1577  g3mate();
1578 }
#define g3mate
Definition: TGeant3f77.cxx:81
void gmtod ( Float_t *  xm,
Float_t *  xd,
Int_t &  iflag 
)

Definition at line 861 of file TGeant3f77.cxx.

862 {
863  //
864  // Computes coordinates XD (in DRS)
865  // from known coordinates XM in MRS
866  // The local reference system can be initialized by
867  // - the tracking routines and GMTOD used in GUSTEP
868  // - a call to GMEDIA(XM,NUMED)
869  // - a call to GLVOLU(NLEVEL,NAMES,NUMBER,IER)
870  // (inverse routine is GDTOM)
871  //
872  // If IFLAG=1 convert coordinates
873  // IFLAG=2 convert direction cosinus
874  //
875  geant3->Gmtod(xm, xd, iflag);
876 }
virtual void Gmtod(Float_t *xm, Float_t *xd, Int_t iflag)
Definition: TGeant3.cxx:3957
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gpart ( )

Definition at line 1570 of file TGeant3f77.cxx.

1571 {
1572  geant3->Gpart();
1573 }
virtual void Gpart()
Definition: TGeant3.cxx:3335
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gpcxyz ( )

Definition at line 335 of file TGeant3f77.cxx.

336 {
337  //
338  // Print track and volume parameters at current point
339  //
340 
341  geant3->Gpcxyz();
342 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gpcxyz()
Definition: TGeant3.cxx:3099
void gphits ( int &  i)

Definition at line 1565 of file TGeant3f77.cxx.

1566 {
1567  g3phits(i);
1568 }
#define g3phits
Definition: TGeant3f77.cxx:79
void gphysi ( )

Definition at line 717 of file TGeant3f77.cxx.

718 {
719  //
720  // Initialise material constants for all the physics
721  // mechanisms used by GEANT
722  //
723  geant3->Gphysi();
724 }
virtual void Gphysi()
Definition: TGeant3.cxx:3704
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gpjxyz ( int &  i)

Definition at line 1560 of file TGeant3f77.cxx.

1561 {
1562  g3pjxyz(i);
1563 }
#define g3pjxyz
Definition: TGeant3f77.cxx:78
void gpkine ( int &  i)

Definition at line 1555 of file TGeant3f77.cxx.

1556 {
1557  g3pkine(i);
1558 }
#define g3pkine
Definition: TGeant3f77.cxx:77
void gpmate ( int &  i)

Definition at line 1530 of file TGeant3f77.cxx.

1531 {
1532  g3pmate(i);
1533 }
#define g3pmate
Definition: TGeant3f77.cxx:73
void gppart ( int &  i)

Definition at line 1540 of file TGeant3f77.cxx.

1541 {
1542  g3ppart(i);
1543 }
#define g3ppart
Definition: TGeant3f77.cxx:74
void gprint ( const char *  name,
Int_t  val,
const Int_t  lname 
)

Definition at line 378 of file TGeant3f77.cxx.

379 {
380  //
381  // Routine to print data structures
382  // CHNAME name of a data structure
383  //
384  if (lname > 0) {
385  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
386  if (val == 0) geant3->Gprint(vname);
387  else geant3->Gprint(vname);
388  } else {
389  geant3->Gprint("*");
390  }
391 }
virtual void Gprint(const char *name)
Definition: TGeant3.cxx:3150
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gprotm ( int &  i)

Definition at line 1525 of file TGeant3f77.cxx.

1526 {
1527  g3protm(i);
1528 }
#define g3protm
Definition: TGeant3f77.cxx:71
void gpsets ( int &  i)

Definition at line 1545 of file TGeant3f77.cxx.

1546 {
1547  g3psets(i);
1548 }
#define g3psets
Definition: TGeant3f77.cxx:75
void gptmed ( int &  i)

Definition at line 1535 of file TGeant3f77.cxx.

1536 {
1537  g3ptmed(i);
1538 }
#define g3ptmed
Definition: TGeant3f77.cxx:72
void gpvert ( int &  i)

Definition at line 1550 of file TGeant3f77.cxx.

1551 {
1552  g3pvert(i);
1553 }
#define g3pvert
Definition: TGeant3f77.cxx:76
void gpvolu ( int &  i)

Definition at line 1520 of file TGeant3f77.cxx.

1521 {
1522  g3pvolu(i);
1523 }
#define g3pvolu
Definition: TGeant3f77.cxx:70
void grun ( )

Definition at line 394 of file TGeant3f77.cxx.

395 {
396  //
397  // Steering function to process one run
398  //
399  geant3->Grun();
400 }
virtual void Grun()
Definition: TGeant3.cxx:3162
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gsatt ( const char *  name,
const char *  att,
Int_t &  val,
const Int_t  lname,
const Int_t  latt 
)

Definition at line 1126 of file TGeant3f77.cxx.

1127 {
1128  //
1129  // NAME Volume name
1130  // IOPT Name of the attribute to be set
1131  // IVAL Value to which the attribute is to be set
1132  //
1133  // name= "*" stands for all the volumes.
1134  // iopt can be chosen among the following :
1135  //
1136  // WORK 0=volume name is inactive for the tracking
1137  // 1=volume name is active for the tracking (default)
1138  //
1139  // SEEN 0=volume name is invisible
1140  // 1=volume name is visible (default)
1141  // -1=volume invisible with all its descendants in the tree
1142  // -2=volume visible but not its descendants in the tree
1143  //
1144  // LSTY line style 1,2,3,... (default=1)
1145  // LSTY=7 will produce a very precise approximation for
1146  // revolution bodies.
1147  //
1148  // LWID line width -7,...,1,2,3,..7 (default=1)
1149  // LWID<0 will act as abs(LWID) was set for the volume
1150  // and for all the levels below it. When SHAD is 'ON', LWID
1151  // represent the linewidth of the scan lines filling the surfaces
1152  // (whereas the FILL value represent their number). Therefore
1153  // tuning this parameter will help to obtain the desired
1154  // quality/performance ratio.
1155  //
1156  // COLO colour code -166,...,1,2,..166 (default=1)
1157  // n=1=black
1158  // n=2=red; n=17+m, m=0,25, increasing luminosity according to 'm';
1159  // n=3=green; n=67+m, m=0,25, increasing luminosity according to 'm';
1160  // n=4=blue; n=117+m, m=0,25, increasing luminosity according to 'm';
1161  // n=5=yellow; n=42+m, m=0,25, increasing luminosity according to 'm';
1162  // n=6=violet; n=142+m, m=0,25, increasing luminosity according to 'm';
1163  // n=7=lightblue; n=92+m, m=0,25, increasing luminosity according to 'm';
1164  // colour=n*10+m, m=1,2,...9, will produce the same colour
1165  // as 'n', but with increasing luminosity according to 'm';
1166  // COLO<0 will act as if abs(COLO) was set for the volume
1167  // and for all the levels below it.
1168  // When for a volume the attribute FILL is > 1 (and the
1169  // option SHAD is on), the ABS of its colour code must be < 8
1170  // because an automatic shading of its faces will be
1171  // performed.
1172  //
1173  // FILL (1992) fill area -7,...,0,1,...7 (default=0)
1174  // when option SHAD is "on" the FILL attribute of any
1175  // volume can be set different from 0 (normal drawing);
1176  // if it is set to 1, the faces of such volume will be filled
1177  // with solid colours; if ABS(FILL) is > 1, then a light
1178  // source is placed along the observer line, and the faces of
1179  // such volumes will be painted by colours whose luminosity
1180  // will depend on the amount of light reflected;
1181  // if ABS(FILL) = 1, then it is possible to use all the 166
1182  // colours of the colour table, becouse the automatic shading
1183  // is not performed;
1184  // for increasing values of FILL the drawing will be performed
1185  // with higher and higher resolution improving the quality (the
1186  // number of scan lines used to fill the faces increases with FILL);
1187  // it is possible to set different values of FILL
1188  // for different volumes, in order to optimize at the same time
1189  // the performance and the quality of the picture;
1190  // FILL<0 will act as if abs(FILL) was set for the volume
1191  // and for all the levels below it.
1192  // This kind of drawing can be saved in 'picture files'
1193  // or in view banks.
1194  // 0=drawing without fill area
1195  // 1=faces filled with solid colours and resolution = 6
1196  // 2=lowest resolution (very fast)
1197  // 3=default resolution
1198  // 4=.................
1199  // 5=.................
1200  // 6=.................
1201  // 7=max resolution
1202  // Finally, if a coloured background is desired, the FILL
1203  // attribute for the first volume of the tree must be set
1204  // equal to -abs(colo), colo being >0 and <166.
1205  //
1206  // SET set number associated to volume name
1207  // DET detector number associated to volume name
1208  // DTYP detector type (1,2)
1209  //
1210 // InitHIGZ();
1211  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1212  char vatt[24]; strncpy(vatt,att,latt); vatt[latt] = 0;
1213  geant3->Gsatt(vname, vatt, val);
1214 }
virtual void Gsatt(const char *name, const char *att, Int_t val)
Definition: TGeant3.cxx:4397
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gscank ( )

Definition at line 1585 of file TGeant3f77.cxx.

1586 {
1587  g3scank();
1588 }
#define g3scank
Definition: TGeant3f77.cxx:84
void gscanu ( )

Definition at line 1590 of file TGeant3f77.cxx.

1591 {
1592  g3scanu();
1593 }
#define g3scanu
Definition: TGeant3f77.cxx:85
void gsckov ( Int_t &  itmed,
Int_t &  npckov,
Float_t *  ppckov,
Float_t *  absco,
Float_t *  effic,
Float_t *  rindex 
)

Definition at line 585 of file TGeant3f77.cxx.

587 {
588  //
589  // Stores the tables for UV photon tracking in medium ITMED
590  // Please note that it is the user's responsability to
591  // provide all the coefficients:
592  //
593  //
594  // ITMED Tracking medium number
595  // NPCKOV Number of bins of each table
596  // PPCKOV Value of photon momentum (in GeV)
597  // ABSCO Absorbtion coefficients
598  // dielectric: absorbtion length in cm
599  // metals : absorbtion fraction (0<=x<=1)
600  // EFFIC Detection efficiency for UV photons
601  // RINDEX Refraction index (if=0 metal)
602  //
603  geant3->Gsckov(itmed,npckov,ppckov,absco,effic,rindex);
604 }
virtual void Gsckov(Int_t itmed, Int_t npckov, Float_t *ppckov, Float_t *absco, Float_t *effic, Float_t *rindex)
Definition: TGeant3.cxx:3457
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gsdk ( Int_t &  ipart,
Float_t *  bratio,
Int_t *  mode 
)

Definition at line 485 of file TGeant3f77.cxx.

486 {
487 // Defines branching ratios and decay modes for standard
488 // GEANT particles.
489  geant3->Gsdk(ipart,bratio,mode);
490 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsdk(Int_t ipart, Float_t *bratio, Int_t *mode)
Definition: TGeant3.cxx:3345
void gsdvn ( const char *  name,
const char *  mother,
Int_t &  ndiv,
Int_t &  iaxis,
const Int_t  lname,
const Int_t  lmother 
)

Definition at line 879 of file TGeant3f77.cxx.

881 {
882  //
883  // Create a new volume by dividing an existing one
884  //
885  // NAME Volume name
886  // MOTHER Mother volume name
887  // NDIV Number of divisions
888  // IAXIS Axis value
889  //
890  // X,Y,Z of CAXIS will be translated to 1,2,3 for IAXIS.
891  // It divides a previously defined volume.
892  //
893  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
894  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
895  geant3->Gsdvn(vname, vmother, ndiv, iaxis);
896 }
virtual void Gsdvn(const char *name, const char *mother, Int_t ndiv, Int_t iaxis)
Definition: TGeant3.cxx:4005
TGeant3 * geant3
Definition: TGeant3.cxx:1072
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 
)

Definition at line 899 of file TGeant3f77.cxx.

901 {
902  //
903  // Create a new volume by dividing an existing one
904  //
905  // Divides mother into ndiv divisions called name
906  // along axis iaxis starting at coordinate value c0.
907  // the new volume created will be medium number numed.
908  //
909  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
910  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
911  geant3->Gsdvn2(vname, vmother, ndiv, iaxis, c0i, numed);
912 }
virtual void Gsdvn2(const char *name, const char *mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed)
Definition: TGeant3.cxx:4029
TGeant3 * geant3
Definition: TGeant3.cxx:1072
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 
)

Definition at line 915 of file TGeant3f77.cxx.

917 {
918  //
919  // Create a new volume by dividing an existing one
920  //
921  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
922  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
923  geant3->Gsdvs(vname, vmother, step, iaxis, numed);
924 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsdvs(const char *name, const char *mother, Float_t step, Int_t iaxis, Int_t numed)
Definition: TGeant3.cxx:4050
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 
)

Definition at line 927 of file TGeant3f77.cxx.

929 {
930  //
931  // Create a new volume by dividing an existing one
932  //
933  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
934  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
935  geant3->Gsdvs2(vname, vmother, step, iaxis, c0, numed);
936 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsdvs2(const char *name, const char *mother, Float_t step, Int_t iaxis, Float_t c0, Int_t numed)
Definition: TGeant3.cxx:4066
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 
)

Definition at line 939 of file TGeant3f77.cxx.

941 {
942  //
943  // Create a new volume by dividing an existing one
944  //
945  // Divides MOTHER into divisions called NAME along
946  // axis IAXIS in steps of STEP. If not exactly divisible
947  // will make as many as possible and will centre them
948  // with respect to the mother. Divisions will have medium
949  // number NUMED. If NUMED is 0, NUMED of MOTHER is taken.
950  // NDVMX is the expected maximum number of divisions
951  // (If 0, no protection tests are performed)
952  //
953  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
954  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
955  geant3->Gsdvt(vname, vmother, step, iaxis, numed, ndvmx);
956 }
virtual void Gsdvt(const char *name, const char *mother, Double_t step, Int_t iaxis, Int_t numed, Int_t ndvmx)
Definition: TGeant3.cxx:4082
TGeant3 * geant3
Definition: TGeant3.cxx:1072
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 
)

Definition at line 959 of file TGeant3f77.cxx.

961 {
962  //
963  // Create a new volume by dividing an existing one
964  //
965  // Divides MOTHER into divisions called NAME along
966  // axis IAXIS starting at coordinate value C0 with step
967  // size STEP.
968  // The new volume created will have medium number NUMED.
969  // If NUMED is 0, NUMED of mother is taken.
970  // NDVMX is the expected maximum number of divisions
971  // (If 0, no protection tests are performed)
972  //
973  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
974  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
975  geant3->Gsdvt2(vname, vmother, step, iaxis, c0, numed, ndvmx);
976 }
virtual void Gsdvt2(const char *name, const char *mother, Double_t step, Int_t iaxis, Double_t c0, Int_t numed, Int_t ndvmx)
Definition: TGeant3.cxx:4107
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gskine ( Float_t *  plab,
Int_t &  ipart,
Int_t &  nv,
Float_t *  buf,
Int_t &  nbuf,
Int_t &  nt 
)

Definition at line 688 of file TGeant3f77.cxx.

690 {
691  //
692  // Store kinematics of track NT into data structure
693  // Track is coming from vertex NV
694  //
695  nt = geant3->Gskine(plab, ipart, nv, buf, nbuf);
696 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual Int_t Gskine(Float_t *plab, Int_t ipart, Int_t nv, Float_t *ubuf=0, Int_t nwbuf=0)
Definition: TGeant3.cxx:3671
void gsking ( Int_t &  igk)

Definition at line 742 of file TGeant3f77.cxx.

743 {
744  //
745  // Stores in stack JSTAK either the IGKth track of /GCKING/,
746  // or the NGKINE tracks when IGK is 0.
747  //
748  geant3->Gsking(igk);
749 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsking(Int_t igk)
Definition: TGeant3.cxx:3758
void gskpho ( Int_t &  igk)

Definition at line 752 of file TGeant3f77.cxx.

753 {
754  //
755  // Stores in stack JSTAK either the IGKth Cherenkov photon of
756  // /GCKIN2/, or the NPHOT tracks when IGK is 0.
757  //
758  geant3->Gskpho(igk);
759 }
virtual void Gskpho(Int_t igk)
Definition: TGeant3.cxx:3768
TGeant3 * geant3
Definition: TGeant3.cxx:1072
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 
)

Definition at line 493 of file TGeant3f77.cxx.

495 {
496  //
497  // Defines a Material
498  //
499  // kmat number assigned to the material
500  // name material name
501  // a atomic mass in au
502  // z atomic number
503  // dens density in g/cm3
504  // absl absorbtion length in cm
505  // if >=0 it is ignored and the program
506  // calculates it, if <0. -absl is taken
507  // radl radiation length in cm
508  // if >=0 it is ignored and the program
509  // calculates it, if <0. -radl is taken
510  // buf pointer to an array of user words
511  // nbuf number of user words
512  //
513  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
514  geant3->Gsmate(imat,vname, a, z, dens, radl, absl);
515 }
virtual void Gsmate(Int_t imat, const char *name, Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t absl)
Definition: TGeant3.cxx:3353
TGeant3 * geant3
Definition: TGeant3.cxx:1072
double z
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
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 
)

Definition at line 518 of file TGeant3f77.cxx.

520 {
521  //
522  // Defines mixture OR COMPOUND IMAT as composed by
523  // THE BASIC NLMAT materials defined by arrays A,Z and WMAT
524  //
525  // If NLMAT.GT.0 then WMAT contains the PROPORTION BY
526  // WEIGTHS OF EACH BASIC MATERIAL IN THE MIXTURE.
527  //
528  // If NLMAT.LT.0 then WMAT contains the number of atoms
529  // of a given kind into the molecule of the COMPOUND
530  // In this case, WMAT in output is changed to relative
531  // weigths.
532  //
533  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
534  geant3->Gsmixt(imat,vname, a, z,dens, nlmat,wmat);
535 }
virtual void Gsmixt(Int_t imat, const char *name, Float_t *a, Float_t *z, Float_t dens, Int_t nlmat, Float_t *wmat)
Definition: TGeant3.cxx:3385
TGeant3 * geant3
Definition: TGeant3.cxx:1072
double z
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
void gsord ( const char *  name,
Int_t &  iax,
const Int_t  lname 
)

Definition at line 979 of file TGeant3f77.cxx.

980 {
981  //
982  // Flags volume CHNAME whose contents will have to be ordered
983  // along axis IAX, by setting the search flag to -IAX
984  // IAX = 1 X axis
985  // IAX = 2 Y axis
986  // IAX = 3 Z axis
987  // IAX = 4 Rxy (static ordering only -> GTMEDI)
988  // IAX = 14 Rxy (also dynamic ordering -> GTNEXT)
989  // IAX = 5 Rxyz (static ordering only -> GTMEDI)
990  // IAX = 15 Rxyz (also dynamic ordering -> GTNEXT)
991  // IAX = 6 PHI (PHI=0 => X axis)
992  // IAX = 7 THETA (THETA=0 => Z axis)
993  //
994  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
995  geant3->Gsord(vname, iax);
996 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsord(const char *name, Int_t iax)
Definition: TGeant3.cxx:4133
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 
)

Definition at line 538 of file TGeant3f77.cxx.

540 {
541  //
542  // Store particle parameters
543  //
544  // ipart particle code
545  // name particle name
546  // itrtyp transport method (see GEANT manual)
547  // amass mass in GeV/c2
548  // charge charge in electron units
549  // tlife lifetime in seconds
550  //
551 
552  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
553  geant3->Gspart(ipart,vname, itrtyp, amass, charge, tlife);
554 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gspart(Int_t ipart, const char *name, Int_t itrtyp, Double_t amass, Double_t charge, Double_t tlife)
Definition: TGeant3.cxx:3404
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 
)

Definition at line 999 of file TGeant3f77.cxx.

1001 {
1002  //
1003  // Position a volume into an existing one
1004  //
1005  // NAME Volume name
1006  // NUMBER Copy number of the volume
1007  // MOTHER Mother volume name
1008  // X X coord. of the volume in mother ref. sys.
1009  // Y Y coord. of the volume in mother ref. sys.
1010  // Z Z coord. of the volume in mother ref. sys.
1011  // IROT Rotation matrix number w.r.t. mother ref. sys.
1012  // ONLY ONLY/MANY flag
1013  //
1014  // It positions a previously defined volume in the mother.
1015  //
1016 
1017  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1018  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
1019  char vkonly[24]; strncpy(vkonly,konly,lkonly); vkonly[lkonly] = 0;
1020  geant3->Gspos(vname, nr, vmother, x, y, z, irot, vkonly);
1021 }
double y
TGeant3 * geant3
Definition: TGeant3.cxx:1072
double z
virtual void Gspos(const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly="ONLY")
Definition: TGeant3.cxx:4155
list x
Definition: train.py:276
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 
)

Definition at line 1024 of file TGeant3f77.cxx.

1027 {
1028  //
1029  // Place a copy of generic volume NAME with user number
1030  // NR inside MOTHER, with its parameters UPAR(1..NP)
1031  //
1032  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1033  char vmother[24]; strncpy(vmother,mother,lmother); vmother[lmother] = 0;
1034  geant3->Gsposp(vname, nr, vmother, x,y, z, irot, konly, upar, np);
1035 }
double y
TGeant3 * geant3
Definition: TGeant3.cxx:1072
double z
list x
Definition: train.py:276
virtual void Gsposp(const char *name, Int_t nr, const char *mother, Double_t x, Double_t y, Double_t z, Int_t irot, const char *konly, Float_t *upar, Int_t np)
Definition: TGeant3.cxx:4218
void gsrotm ( Int_t &  nmat,
Float_t &  theta1,
Float_t &  phi1,
Float_t &  theta2,
Float_t &  phi2,
Float_t &  theta3,
Float_t &  phi3 
)

Definition at line 1038 of file TGeant3f77.cxx.

1040 {
1041  //
1042  // nmat Rotation matrix number
1043  // THETA1 Polar angle for axis I
1044  // PHI1 Azimuthal angle for axis I
1045  // THETA2 Polar angle for axis II
1046  // PHI2 Azimuthal angle for axis II
1047  // THETA3 Polar angle for axis III
1048  // PHI3 Azimuthal angle for axis III
1049  //
1050  // It defines the rotation matrix number IROT.
1051  //
1052  geant3->Gsrotm(nmat, theta1, phi1, theta2, phi2, theta3, phi3);
1053 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsrotm(Int_t nmat, Float_t theta1, Float_t phi1, Float_t theta2, Float_t phi2, Float_t theta3, Float_t phi3)
Definition: TGeant3.cxx:4246
void gsstak ( Int_t &  iflag)

Definition at line 762 of file TGeant3f77.cxx.

763 {
764  //
765  // Stores in auxiliary stack JSTAK the particle currently
766  // described in common /GCKINE/.
767  //
768  // On request, creates also an entry in structure JKINE :
769  // IFLAG =
770  // 0 : No entry in JKINE structure required (user)
771  // 1 : New entry in JVERTX / JKINE structures required (user)
772  // <0 : New entry in JKINE structure at vertex -IFLAG (user)
773  // 2 : Entry in JKINE structure exists already (from GTREVE)
774  //
775  geant3->Gsstak(iflag);
776 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsstak(Int_t iflag)
Definition: TGeant3.cxx:3778
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 
)

Definition at line 557 of file TGeant3f77.cxx.

561 {
562  //
563  // NTMED Tracking medium number
564  // NAME Tracking medium name
565  // NMAT Material number
566  // ISVOL Sensitive volume flag
567  // IFIELD Magnetic field
568  // FIELDM Max. field value (Kilogauss)
569  // TMAXFD Max. angle due to field (deg/step)
570  // STEMAX Max. step allowed
571  // DEEMAX Max. fraction of energy lost in a step
572  // EPSIL Tracking precision (cm)
573  // STMIN Min. step due to continuos processes (cm)
574  //
575  // IFIELD = 0 if no magnetic field; IFIELD = -1 if user decision in GUSWIM;
576  // IFIELD = 1 if tracking performed with GRKUTA; IFIELD = 2 if tracking
577  // performed with G3HELIX; IFIELD = 3 if tracking performed with G3HELX3.
578  //
579  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
580  geant3->Gstmed(numed,vname, nmat, isvol, ifield, fieldm, tmaxfd, stemax,
581  deemax, epsil, stmin);
582 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual 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)
Definition: TGeant3.cxx:3428
void gstpar ( Int_t &  itmed,
const char *  name,
Float_t &  parval,
const Int_t  lname 
)

Definition at line 607 of file TGeant3f77.cxx.

608 {
609  //
610  // To change the value of cut or mechanism "CHPAR"
611  // to a new value PARVAL for tracking medium ITMED
612  // The data structure JTMED contains the standard tracking
613  // parameters (CUTS and flags to control the physics processes) which
614  // are used by default for all tracking media. It is possible to
615  // redefine individually with GSTPAR any of these parameters for a
616  // given tracking medium.
617  // ITMED tracking medium number
618  // CHPAR is a character string (variable name)
619  // PARVAL must be given as a floating point.
620  //
621 
622  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
623  geant3->Gstpar(itmed,vname, parval);
624 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gstpar(Int_t itmed, const char *param, Double_t parval)
Definition: TGeant3.cxx:3590
void gsvert ( Float_t *  v,
Int_t &  ntbeam,
Int_t &  nttarg,
Float_t *  ubuf,
Int_t &  nbuf,
Int_t &  nwtx 
)

Definition at line 699 of file TGeant3f77.cxx.

701 {
702  //
703  // Creates a new vertex bank
704  // Vertex is generated from tracks NTBEAM NTTARG
705  // NVTX is the new vertex number
706  //
707  nwtx = geant3->Gsvert(v, ntbeam, nttarg, ubuf, nbuf);
708 }
virtual Int_t Gsvert(Float_t *v, Int_t ntbeam, Int_t nttarg, Float_t *ubuf=0, Int_t nwbuf=0)
Definition: TGeant3.cxx:3684
TGeant3 * geant3
Definition: TGeant3.cxx:1072
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 
)

Definition at line 1056 of file TGeant3f77.cxx.

1058 {
1059  //
1060  // NAME Volume name
1061  // SHAPE Volume type
1062  // NUMED Tracking medium number
1063  // NPAR Number of shape parameters
1064  // UPAR Vector containing shape parameters
1065  //
1066  // It creates a new volume in the JVOLUM data structure.
1067  //
1068  char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1069  char vshape[24]; strncpy(vshape,shape,lshape); vshape[lshape] = 0;
1070  ivolu = geant3->Gsvolu(vname, vshape, nmed, upar, npar);
1071 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual Int_t Gsvolu(const char *name, const char *shape, Int_t nmed, Float_t *upar, Int_t np)
Definition: TGeant3.cxx:4299
void gsxyz ( )

Definition at line 779 of file TGeant3f77.cxx.

780 {
781  //
782  // Store space point VECT in banks JXYZ
783  //
784  geant3->Gsxyz();
785 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gsxyz()
Definition: TGeant3.cxx:3795
void gtrack ( )

Definition at line 788 of file TGeant3f77.cxx.

789 {
790  //
791  // Controls tracking of current particle
792  //
793  geant3->Gtrack();
794 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gtrack()
Definition: TGeant3.cxx:3804
void gtreve ( )

Definition at line 797 of file TGeant3f77.cxx.

798 {
799  //
800  // Controls tracking of all particles belonging to the current event
801  //
802  geant3->Gtreve();
803 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gtreve()
Definition: TGeant3.cxx:3813
void gtrig ( )

Definition at line 403 of file TGeant3f77.cxx.

404 {
405  //
406  // Steering function to process one event
407  //
408  geant3->Gtrig();
409 }
virtual void Gtrig()
Definition: TGeant3.cxx:3171
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gtrigc ( )

Definition at line 412 of file TGeant3f77.cxx.

413 {
414  //
415  // Clear event partition
416  //
417  geant3->Gtrigc();
418 }
TGeant3 * geant3
Definition: TGeant3.cxx:1072
virtual void Gtrigc()
Definition: TGeant3.cxx:3185
void gtrigi ( )

Definition at line 421 of file TGeant3f77.cxx.

422 {
423  //
424  // Initialises event partition
425  //
426  geant3->Gtrigi();
427 }
virtual void Gtrigi()
Definition: TGeant3.cxx:3194
TGeant3 * geant3
Definition: TGeant3.cxx:1072
void gzinit ( )

Definition at line 1596 of file TGeant3f77.cxx.

1597 {
1598  //
1599  //=================Initialize zebra
1600  //
1601 
1602  geant3->Gzinit();
1603 }
virtual void Gzinit()
Definition: TGeant3.cxx:3212
TGeant3 * geant3
Definition: TGeant3.cxx:1072

Variable Documentation

TGeant3* geant3

Definition at line 1072 of file TGeant3.cxx.