>Name HADGEANT >Menu \HADES >Guidance Some HGeant extras are here. >Command NEWFILE >Parameters + CHNAME 'File name' C D=' ' >Guidance Close Root file and open a new one. . If a name is given, it will supersede the previous name. >Action OPENNEWFILE >Command CLOSEFILE >Guidance Close Root file. >Action OPENNEWFILE >Command PLOT3D >Parameters X1 'X1' R Y1 'Y1' R Z1 'Z1' R X2 'X2' R Y2 'Y2' R Z2 'Z2' R + ICOL 'Color' I D=0 >Guidance Plot a line between the 3D space points (x1,x2,x3) and (x2,y2,z2). Optionally a color ICOL can be given. . Uses Geant routines GDFR3D and GDRAWV. >Action HPLOT3D >Command PRINTMEDNUM >Parameters + CHNAME 'Medium name' C >Guidance Print dynamically allocated medium number. . >Action PRINTMEDNUM >Command PRINTBRANCH >Parameters IPART 'Particle number' I R=1:112 >Guidance Print branching modes of particle IPART. . >Action PRINTBRANCH >Command PRINTKINE >Parameters + IOPT 'OPTION' I D=0 R=-1:4 IVAL 'VAL' I D=1 >Guidance Activate kinematics print-out. . IOPT=-1: -> deselect all, i.e. no print-out. . IOPT= 0: -> select all. . IOPT= 1: IVAL=ID -> select on particle ID. . IOPT= 2: IVAL=MEDNUM -> select on medium number. . IOPT= 3: IVAL=MECHANISM -> select on creation mechanism. . IOPT= 4: IVAL=DISTMIN -> select for distAction PRINTKINE >Command PSETS >Parameters + CHSET 'Set name' C D='*' CHDET 'Detector name' C D='*' >Guidance Print SET and DETector parameters via call of GPSETS(CHSET,CHDET). >Action HADPGSETS >Command SCALE >Parameters MEDNUM 'Material' I IPART 'Particle' I MECHA 'Mechanism' C SCALEF 'Scale factor' R D=1.0 R=0.0:1.0E6 >Guidance Rescale GEANT mean free path (mfp) for given medium, particle, and mechanism. >Action SETMAT