31 # define gzebra gzebra_ 32 # define grfile grfile_ 33 # define gpcxyz gpcxyz_ 34 # define ggclos ggclos_ 37 # define g3cinit g3cinit_ 38 # define gzinit gzinit_ 41 # define gtrigc gtrigc_ 42 # define gtrigi gtrigi_ 43 # define gfmate gfmate_ 44 # define gfpart gfpart_ 45 # define gftmed gftmed_ 46 # define gftmat gftmat_ 50 # define gsmate gsmate_ 51 # define gsmixt gsmixt_ 52 # define gspart gspart_ 53 # define gstmed gstmed_ 54 # define gsckov gsckov_ 55 # define gstpar gstpar_ 56 # define gfkine gfkine_ 57 # define gfvert gfvert_ 58 # define gskine gskine_ 59 # define gsvert gsvert_ 60 # define gpvolu gpvolu_ 61 # define gprotm gprotm_ 62 # define gptmed gptmed_ 63 # define gpmate gpmate_ 64 # define gppart gppart_ 65 # define gpsets gpsets_ 66 # define gpvert gpvert_ 67 # define gpkine gpkine_ 68 # define gpjxyz gpjxyz_ 69 # define gphits gphits_ 70 # define g3pvolu g3pvolu_ 71 # define g3protm g3protm_ 72 # define g3ptmed g3ptmed_ 73 # define g3pmate g3pmate_ 74 # define g3ppart g3ppart_ 75 # define g3psets g3psets_ 76 # define g3pvert g3pvert_ 77 # define g3pkine g3pkine_ 78 # define g3pjxyz g3pjxyz_ 79 # define g3phits g3phits_ 80 # define g3part g3part_ 81 # define g3mate g3mate_ 82 # define gscank gscank_ 83 # define gscanu gscanu_ 84 # define g3scank g3scank_ 85 # define g3scanu g3scanu_ 86 # define g3bhsta g3bhsta_ 87 # define gbhsta gbhsta_ 88 # define gphysi gphysi_ 89 # define gdebug gdebug_ 90 # define gekbin gekbin_ 91 # define gfinds gfinds_ 92 # define gsking gsking_ 93 # define gskpho gskpho_ 94 # define gsstak gsstak_ 96 # define gtrack gtrack_ 97 # define gtreve gtreve_ 98 # define gtreveroot gtreveroot_ 100 # define grndmq grndmq_ 101 # define gdtom gdtom_ 102 # define glmoth glmoth_ 103 # define gmtod gmtod_ 104 # define gsdvn gsdvn_ 105 # define gsdvn2 gsdvn2_ 106 # define gsdvs gsdvs_ 107 # define gsdvs2 gsdvs2_ 108 # define gsdvt gsdvt_ 109 # define gsdvt2 gsdvt2_ 110 # define gsord gsord_ 111 # define gspos gspos_ 112 # define gsposp gsposp_ 113 # define gsrotm gsrotm_ 114 # define gsvolu gsvolu_ 115 # define gprint gprint_ 116 # define gdinit gdinit_ 117 # define gdopt gdopt_ 118 # define gdraw gdraw_ 119 # define gdrayt gdrayt_ 120 # define gdrawc gdrawc_ 121 # define gdrawx gdrawx_ 122 # define gdhead gdhead_ 123 # define gdwmn1 gdwmn1_ 124 # define gdwmn2 gdwmn2_ 125 # define gdwmn3 gdwmn3_ 126 # define gdxyz gdxyz_ 127 # define gdman gdman_ 128 # define gdspec gdspec_ 129 # define gdtree gdtree_ 130 # define gdelet gdelet_ 131 # define gdclos gdclos_ 132 # define gdshow gdshow_ 133 # define gdopen gdopen_ 134 # define dzshow dzshow_ 135 # define gsatt gsatt_ 136 # define gfpara gfpara_ 137 # define gckpar gckpar_ 138 # define gckmat gckmat_ 139 # define geditv geditv_ 140 # define mzdrop mzdrop_ 142 # define ertrak ertrak_ 143 # define ertrgo ertrgo_ 145 # define setbomb setbomb_ 146 # define setclip setclip_ 147 # define gcomad gcomad_ 149 # define gbrelm gbrelm_ 150 # define gprelm gprelm_ 152 # define rxgtrak rxgtrak_ 153 # define rxouth rxouth_ 154 # define rxinh rxinh_ 158 # define gzebra GZEBRA 159 # define grfile GRFILE 160 # define gpcxyz GPCXYZ 161 # define ggclos GGCLOS 164 # define g3cinit G3CINIT 165 # define gzinit GZINIT 168 # define gtrigc GTRIGC 169 # define gtrigi GTRIGI 170 # define gfmate GFMATE 171 # define gfpart GFPART 172 # define gftmed GFTMED 173 # define gftmat GFTMAT 175 # define gsmate GSMATE 176 # define gsmixt GSMIXT 177 # define gspart GSPART 178 # define gstmed GSTMED 179 # define gsckov GSCKOV 180 # define gstpar GSTPAR 181 # define gfkine GFKINE 182 # define gfvert GFVERT 183 # define gskine GSKINE 184 # define gsvert GSVERT 185 # define gphysi GPHYSI 186 # define gdebug GDEBUG 187 # define gekbin GEKBIN 188 # define gfinds GFINDS 189 # define gsking GSKING 190 # define gskpho GSKPHO 191 # define gsstak GSSTAK 193 # define gtrack GTRACK 194 # define gtreve GTREVE 195 # define gtreveroot GTREVEROOT 197 # define grndmq GRNDMQ 199 # define glmoth GLMOTH 200 # define gmedia GMEDIA 203 # define gsdvn2 GSDVN2 205 # define gsdvs2 GSDVS2 207 # define gsdvt2 GSDVT2 210 # define gsposp GSPOSP 211 # define gsrotm GSROTM 212 # define gsvolu GSVOLU 213 # define gprint GPRINT 214 # define gdinit GDINIT 217 # define gdrayt GDRAYT 218 # define gdrawc GDRAWC 219 # define gdrawx GDRAWX 220 # define gdhead GDHEAD 221 # define gdwmn1 GDWMN1 222 # define gdwmn2 GDWMN2 223 # define gdwmn3 GDWMN3 226 # define gdfspc GDFSPC 227 # define gdspec GDSPEC 228 # define gdtree GDTREE 229 # define gdelet GDELET 230 # define gdclos GDCLOS 231 # define gdshow GDSHOW 232 # define gdopen GDOPEN 233 # define dzshow DZSHOW 235 # define gfpara GFPARA 236 # define gckmat GCKMAT 237 # define geditv GEDITV 238 # define mzdrop MZDROP 240 # define ertrak ERTRAK 241 # define ertrgo ERTRGO 243 # define setbomb SETBOMB 244 # define setclip SETCLIP 245 # define gcomad GCOMAD 247 # define gbrelm GBRELM 248 # define gprelm GPRELM 250 # define rxgtrak RXGTRAK 251 # define rxouth RXOUTH 331 geant3->
Gfile(filename,option);
385 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
386 if (val == 0) geant3->
Gprint(vname);
387 else geant3->
Gprint(vname);
437 Float_t &dens, Float_t &radl, Float_t &absl,
438 Float_t* ubuf, Int_t& nbuf,
const Int_t lname)
443 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
444 geant3->
Gfmate(imat, vname,a,z,dens,radl,absl,ubuf,nbuf);
449 Float_t &amass, Float_t &charge, Float_t &tlife,
const Int_t lname)
454 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
455 geant3->
Gfpart(ipart, vname, itrtyp, amass, charge, tlife);
459 void gftmed(Int_t &numed,
char *
name, Int_t &nmat, Int_t &isvol,
460 Int_t &ifield, Float_t &fieldm, Float_t &tmaxfd,
461 Float_t &stemax, Float_t &deemax, Float_t &epsil,
462 Float_t &stmin, Float_t * , Int_t * ,
const Int_t lname)
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);
474 void gftmat(Int_t &imate, Int_t &ipart,
char *chmeca, Int_t &kdim,
475 Float_t* tkin, Float_t*
value, Float_t* pcut,
481 geant3->
Gftmat(imate, ipart, chmeca, kdim, tkin, value, pcut, ixst);
485 void gsdk(Int_t &ipart, Float_t *bratio, Int_t *
mode)
489 geant3->
Gsdk(ipart,bratio,mode);
494 Float_t &dens, Float_t &radl, Float_t &absl, Float_t *, Int_t &,
const Int_t lname)
513 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
514 geant3->
Gsmate(imat,vname, a, z, dens, radl, absl);
519 Float_t &dens, Int_t &nlmat, Float_t *wmat,
const Int_t lname)
533 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
534 geant3->
Gsmixt(imat,vname, a, z,dens, nlmat,wmat);
539 Float_t &amass, Float_t &charge, Float_t &tlife, Float_t * , Int_t & ,
const Int_t lname)
552 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
553 geant3->
Gspart(ipart,vname, itrtyp, amass, charge, tlife);
557 void gstmed(Int_t &numed,
const char *
name, Int_t &nmat, Int_t &isvol,
558 Int_t &ifield, Float_t &fieldm, Float_t &tmaxfd,
559 Float_t &stemax, Float_t &deemax, Float_t &epsil,
560 Float_t &stmin, Float_t * , Int_t & ,
const Int_t lname)
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);
585 void gsckov(Int_t &itmed, Int_t &npckov, Float_t *ppckov,
586 Float_t *absco, Float_t *effic, Float_t *rindex)
603 geant3->
Gsckov(itmed,npckov,ppckov,absco,effic,rindex);
607 void gstpar(Int_t &itmed,
const char *
name, Float_t &parval,
const Int_t lname)
622 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
623 geant3->
Gstpar(itmed,vname, parval);
633 void gfkine(Int_t &itra, Float_t *vert, Float_t *pvert, Int_t &ipart,
634 Int_t &nvert, Float_t *ubuf, Int_t &nbuf)
670 geant3->
Gfkine(itra,vert,pvert,ipart,nvert);
674 void gfvert(Int_t &nvtx, Float_t *v, Int_t &ntbeam, Int_t &nttarg,
675 Float_t &tofg, Float_t *ubuf, Int_t &nbuf)
684 geant3->
Gfvert(nvtx,v,ntbeam,nttarg,tofg);
688 void gskine(Float_t *plab, Int_t &ipart, Int_t &nv, Float_t *buf,
689 Int_t &nbuf, Int_t &nt)
695 nt = geant3->
Gskine(plab, ipart, nv, buf, nbuf);
699 void gsvert(Float_t *v, Int_t &ntbeam, Int_t &nttarg, Float_t *ubuf,
700 Int_t &nbuf, Int_t &nwtx)
707 nwtx = geant3->
Gsvert(v, ntbeam, nttarg, ubuf, nbuf);
827 void gdtom(Float_t *xd, Float_t *xm, Int_t &iflag)
840 geant3->
Gdtom(xd, xm, iflag);
844 void glmoth(
const char*
name, Int_t &iunum, Int_t &nlev, Int_t *lvols,
845 Int_t *lindx,
const Int_t lname)
856 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
857 geant3->
Glmoth(vname, iunum, nlev, lvols, lindx);
861 void gmtod(Float_t *xm, Float_t *xd, Int_t &iflag)
875 geant3->
Gmtod(xm, xd, iflag);
879 void gsdvn(
const char *
name,
const char *mother, Int_t &ndiv,
880 Int_t &iaxis,
const Int_t lname,
const Int_t lmother)
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);
899 void gsdvn2(
const char *
name,
const char *mother, Int_t &ndiv,
900 Int_t &iaxis, Float_t &c0i, Int_t &numed,
const Int_t lname,
const Int_t lmother)
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);
916 Int_t &iaxis, Int_t &numed,
const Int_t lname,
const Int_t lmother)
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);
928 Int_t &iaxis, Float_t &c0, Int_t &numed,
const Int_t lname,
const Int_t lmother)
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);
940 Int_t &iaxis, Int_t &numed, Int_t &ndvmx,
const Int_t lname,
const Int_t lmother)
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);
960 Int_t &iaxis, Float_t &c0, Int_t &numed, Int_t &ndvmx,
const Int_t lname,
const Int_t lmother)
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);
979 void gsord(
const char *
name, Int_t &iax,
const Int_t lname)
994 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
995 geant3->
Gsord(vname, iax);
999 void gspos(
const char *
name, Int_t &nr,
const char *mother, Float_t &
x,
1000 Float_t &
y, Float_t &
z, Int_t &irot,
const char *konly,
const Int_t lname,
const Int_t lmother,
const Int_t lkonly)
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);
1025 Float_t &
x, Float_t &
y, Float_t &
z, Int_t &irot,
1026 const char *konly, Float_t *upar, Int_t &np ,
const Int_t lname,
const Int_t lmother)
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);
1038 void gsrotm(Int_t &nmat, Float_t &theta1, Float_t &phi1, Float_t &theta2,
1039 Float_t &phi2, Float_t &theta3, Float_t &phi3)
1052 geant3->
Gsrotm(nmat, theta1, phi1, theta2, phi2, theta3, phi3);
1057 Float_t *upar, Int_t &npar, Int_t &ivolu,
const Int_t lname,
const Int_t lshape)
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);
1126 void gsatt(
const char *
name,
const char *att, Int_t &
val,
const Int_t lname,
const Int_t latt)
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);
1217 void gfpara(
const char *
name, Int_t &number, Int_t &intext, Int_t& npar,
1218 Int_t& natt, Float_t* par, Float_t* att,
const Int_t lname)
1223 char vname[24]; strncpy(vname,name,lname); vname[lname] = 0;
1224 geant3->
Gfpara(vname, number, intext, npar, natt, par, att);
1233 geant3->
Gckmat(itmed, natmed);
1288 void gdopt(
const char *
name,
const char *
value,
const Int_t lname,
const Int_t lvalue)
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);
1324 void gdraw(
const char *
name,Float_t &theta, Float_t &phi, Float_t &psi,
1325 Float_t &u0,Float_t &v0,Float_t &ul,Float_t &vl)
1361 geant3->
Gdraw(name, theta,phi,psi,u0,v0,ul,vl);
1365 void gdrawc(
const char *
name,Int_t &axis, Float_t &cut,Float_t &u0,
1366 Float_t &v0,Float_t &ul,Float_t &vl)
1384 geant3->
Gdrawc(name, axis,cut,u0,v0,ul,vl);
1389 Float_t &cutval, Float_t &theta, Float_t &phi, Float_t &u0,
1390 Float_t &v0,Float_t &ul,Float_t &vl)
1409 geant3->
Gdrawx(name, cutthe,cutphi,cutval,theta,phi,u0,v0,ul,vl);
1434 geant3->
Gdhead(isel,name,chrsiz);
1438 void gdman(Float_t &u, Float_t &v,
const char * )
1487 geant3->
Gdtree(name, levmax, isel);
virtual void Gckmat(Int_t itmed, char *natmed)
virtual void Gdspec(const char *name)
virtual Int_t Gsvert(Float_t *v, Int_t ntbeam, Int_t nttarg, Float_t *ubuf=0, Int_t nwbuf=0)
virtual void Gdhead(Int_t isel, const char *name, Double_t chrsiz=0.6)
virtual void Gsatt(const char *name, const char *att, Int_t val)
virtual void Gprint(const char *name)
virtual void Gfile(const char *filename, const char *option="I")
virtual void Gskpho(Int_t igk)
virtual void Gsdvn2(const char *name, const char *mother, Int_t ndiv, Int_t iaxis, Double_t c0i, Int_t numed)
virtual void Gsdvt(const char *name, const char *mother, Double_t step, Int_t iaxis, Int_t numed, Int_t ndvmx)
void gfile(const char *filename, const char *option)
virtual void Gsmate(Int_t imat, const char *name, Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t absl)
virtual void Gdopt(const char *name, const char *value)
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)
virtual void Gsdvt2(const char *name, const char *mother, Double_t step, Int_t iaxis, Double_t c0, Int_t numed, Int_t ndvmx)
virtual void Gfkine(Int_t itra, Float_t *vert, Float_t *pvert, Int_t &ipart, Int_t &nvert)
virtual void Gmtod(Float_t *xm, Float_t *xd, Int_t iflag)
virtual void Gsmixt(Int_t imat, const char *name, Float_t *a, Float_t *z, Float_t dens, Int_t nlmat, Float_t *wmat)
virtual void Gsckov(Int_t itmed, Int_t npckov, Float_t *ppckov, Float_t *absco, Float_t *effic, Float_t *rindex)
virtual void Gsdvn(const char *name, const char *mother, Int_t ndiv, Int_t iaxis)
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)
virtual void Gdopen(Int_t view)
virtual void Gsdvs2(const char *name, const char *mother, Float_t step, Int_t iaxis, Float_t c0, Int_t numed)
virtual void Gsdvs(const char *name, const char *mother, Float_t step, Int_t iaxis, Int_t numed)
virtual Int_t Gskine(Float_t *plab, Int_t ipart, Int_t nv, Float_t *ubuf=0, Int_t nwbuf=0)
ClassImp(TGeant3f77) TGeant3f77
virtual Int_t Gsvolu(const char *name, const char *shape, Int_t nmed, Float_t *upar, Int_t np)
virtual void Gsking(Int_t igk)
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)
virtual void Gdtree(const char *name, Int_t levmax=15, Int_t ispec=0)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
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)
virtual void Glmoth(const char *iudet, Int_t iunum, Int_t &nlev, Int_t *lvols, Int_t *lindx)
virtual void Gfpart(Int_t ipart, char *name, Int_t &itrtyp, Float_t &amass, Float_t &charge, Float_t &tlife) const
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)
const GenericPointer< typename T::ValueType > T2 value
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)
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")
virtual void Gfvert(Int_t nvtx, Float_t *v, Int_t &ntbeam, Int_t &nttarg, Float_t &tofg)
virtual void Gsdk(Int_t ipart, Float_t *bratio, Int_t *mode)
virtual void Gsstak(Int_t iflag)
virtual void Gsrotm(Int_t nmat, Float_t theta1, Float_t phi1, Float_t theta2, Float_t phi2, Float_t theta3, Float_t phi3)
virtual void Gfpara(const char *name, Int_t number, Int_t intext, Int_t &npar, Int_t &natt, Float_t *par, Float_t *att)
virtual void FinishGeometry()
virtual void Gspart(Int_t ipart, const char *name, Int_t itrtyp, Double_t amass, Double_t charge, Double_t tlife)
virtual void Gstpar(Int_t itmed, const char *param, Double_t parval)
virtual void Gdman(Double_t u0, Double_t v0, const char *type="MAN")
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)
virtual void Gdtom(Float_t *xd, Float_t *xm, Int_t iflag)
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)
virtual void Gsord(const char *name, Int_t iax)