\START   TARGET_RCP
!
!----------------------------------------------------------------------
! Target Positioning Information
!----------------------------------------------------------------------
Z_VERTEX_SPREAD    0.01
EVNT_X_POS        000.00 
EVNT_Y_POS         0.00
!EVNT_Z_POS        200.00   
EVNT_Z_POS        461.6314   
 
!----------------------------------------------------------------------
! material and mixture definitions
!----------------------------------------------------------------------
!
\ARRAY MATERIAL_LIST
!
!----------------------------------------------------------------------
! ADD NEW MATERIALS HERE. CALL TO GSMATE
! FORMAT
! CHNAME = 'MATERIAL NAME',
! IMATE  = MATERIAL NUMBER
!    A  = ATOMIC WT
!    Z  = ATOMIC NUMBER
! DENS  = DENSITY
! RADL  = RADIATION LENGTH
! ABSL  = ABSORPTION LENGTH (IGNORED BY GEANT)
! NWBUF = NUMBER OF EXTRA USER WORDS
! UWBUF = NWBUF EXTRA USER WORDS
!----------------------------------------------------------------------
!
!     CHNAME    IMATE       A    Z    DENS   RADL    ABSL   NWBUF   UWBUF
 ' Graphite '   90      12.01  6.0   1.82  23.4615   32.23    0  
\END
\ARRAY MEDIA_LIST
! Media name, media number, material number,ISVOL  
!             IFIELD FIELDM TMAXFD STEMAX DEEMAX EPSIL STMIN
! The Remaining Parameters Are The Arguments to the call to GSTMED
! ISVOL            1  !1= sensitive volume. 0=not sensitive
! IFIELD           3  !0=no field
                      !1=tracking with Runge Kutta
!                      !2=inhomegeneous magnetic field. Field map from GUFLD
                      !3=Uniform magnetic field along z axis of strenght FIELDM
! FIELDM          60.0000   !Maximum field value in Kilo Gauss
! TMAXFD           1.0000   !Maximum angle due to field in degrees.
! STEMAX           0.1000   !Maximum displacement in one step for mult. scat
! DEEMAX           0.1000   !Maximum fractional energy loss per step
! EPSIL   2.0000E-03   !Tracking precision (cm)
! STMIN   2.0000E-03   !Minimum step due to energy loss or mult. scat.(cm)
! NU                   !NUMBER OF USER WORDS
! W(1:NU)              !USER WORDS
!----------------------------------------------------------------------
! MEDIA DEFINITION. CALL TO GSTMED
!----------------------------------------------------------------------
!    MEDNAME    IMED IMAT ISVL IFLD FIELDM TMAXFD STEMAX DEEMAX  EPSIL  STMIN NU W
!
 'Cooper  Target'  7 18   0     2   60.0    1.0    0.1  0.1    0.002   0.002 0
\END
 
!----------------------------------------------------------------------
! Geometry definitions
!----------------------------------------------------------------------
!
\ARRAY VOLUME_LIST
!----------------------------------------------------------------------
! TOF VOLUMES
!----------------------------------------------------------------------
!FORMAT IS 4 CHARACTER GEANT VOLUME NAME (IN QUOTES).
'TRGT'       !TARGET VOLUME
!
\END
 
!----------------------------------------------------------------------
!
! every volume XXXX has an array XXXX that describes the GSVOLU parameters
! and an array ACT_XXXX that describes the action on the volume .GSPOS,GSPOSP
! GSDVN,GSDVN2,GSDVT,GSDVX,OR GSDVT2.
!
! Format of actions:-
!**** all Character variables in these fields are 4 characters long****
!The first 4 character variable of the action field is 'VOLU','POS ','POSP',
!'DVN ','DVN2','DVT ','DVT2','DVX ' which is equivalent to the call to geant
!subroutines GSVOLU, GSPOS etc.
!The order of the variables is the same as in the geant subroutine call except
!for the following exceptions. If one is performing the action on a volume name
!(say 'CEM1'),
!that information is contained in the array name (ACT_CEM1),
!so it is not repeated in the action field. Also, in the acse of variable
!parameters as in the VOLU and POSP actions, the number of parameters (NPARS)
!is declared before tha parameters themselves. This is opposite to that in the
!subroutine call. The reader should read the geant geometry manual for a
!complete specification of the other variables.
!----------------------------------------------------------------------
!----------------------------------------------------------------------
! SHAPE DEFINITIONS OF TOF
!----------------------------------------------------------------------
!
!tgtx  0.25  !X HALF LENGTH OF TARGET
!tgty  0.25  !Y HALF LENGTH OF TARGET
!tgtz  7.50  !Z HALF LENGTH OF TARGET
!
!----------------------------------------------------------------------
! TRACKING MEDIA NUMBERS
!----------------------------------------------------------------------
! CUFE  501
 target_cooper   15
 sair      15  ! Sens. Air1      
!----------------------------------------------------------------------
! VOLME DEFINTIONS
!----------------------------------------------------------------------
\ARRAY ACT_TRGT
 'VOLU' 'BOX'  'sair' 3  0.32 1.4 1.0  !using stdhep events.
 'POS '  1   'CAVE'  0.0 -1.55 -843.5  0   'ONLY'
\END
 
\STOP     ! TARGET_RCP