(file) Return to test_delta2.inp CVS log (file) (dir) Up to [HallC] / simc_semi / infiles

File: [HallC] / simc_semi / infiles / test_delta2.inp (download)
Revision: 1.1, Fri Apr 23 17:13:26 2004 UTC (20 years, 5 months ago) by gaskelld
Branch point for: MAIN
Initial revision

; This is a CTP file

begin parm experiment
  ngen = 10000			;  POS: # of successes; NEG: # of tries
  EXPER.charge = 1.0		;  total charge (mC)
  doing_phsp = 0		;  (ONE = TRUE)
  doing_kaon = 0		;  (ONE = TRUE)
  doing_pion = 0		;  (ONE = TRUE)
  which_pion = 0		;  (0=p->pi+,1=n->pi-,10/11 for pi+/pi- coherent)
  doing_delta = 1		;  (ONE = TRUE)
  doing_decay = 0		;  1=decay ON, 0=decay OFF.
  ctau = 780.4			;  decay length (cm)
end parm experiment

begin parm kinematics_main
  Ebeam = 5750.			;  (MeV)
  dEbeam = 0.05			;  beam energy variation (%)
  electron_arm = 2              ;  1=hms,2=sos,3=hrsr,4=hrsl
  hadron_arm = 1                ;  1=hms,2=sos,3=hrsr,4=hrsl
  spec.e.P = 1410.		;  e arm central momentum (MeV/c)
  spec.e.theta = 57.4		;  e arm angle setting (degrees)
  spec.p.P = 3039.		;  p arm central momentum (MeV/c)
  spec.p.theta = 13.4		;  p arm angle setting (degrees)
end parm kinematics_main

begin parm target
  targ.A = 1.			;  target A
  targ.Z = 1.			;  target Z
  targ.mass_amu = 1.007276	;  target mass in amu
  targ.mrec_amu = 0.		;  recoil mass in amu (eep=A-1 system,pion=A-2)
  targ.rho = 0.07332		;  target density (g/cm^3)
  targ.thick = 295.179		;  target thick (mg/cm^2)
  targ.angle = 0.		;  target angle (for solid target) (degrees)
  targ.abundancy = 100.		;  target purity (%)
  targ.can = 2			;  1=beer can (fpi), 2=pudding can (nucpi)
end parm target

begin parm debug		;  (ONES give helpful debug info)
  debug(1) = 0			;  turns on output from brem.f
  debug(2) = 0			;  into/outa subs.
  debug(3) = 0			;  spit out values (init. and main loop).
  debug(4) = 0			;  mostly comp_ev, gen_rad diagnostics.
  debug(5) = 0			;  a bit of everything.
end parm debug

begin parm e_arm_accept
  SPedge.e.delta.min = -18.0	;  delta min (SPECTROMETER ACCEPTANCE!)
  SPedge.e.delta.max =  18.0	;  delta max
  SPedge.e.yptar.min = -90.0	; .yptar.min = {TF} / 1000 (mrad)
  SPedge.e.yptar.max =  90.0	; .yptar.max = {TF} / 1000
  SPedge.e.xptar.min = -50.0	; .xptar.min = {TF} / 1000 (mrad)
  SPedge.e.xptar.max =  50.0	; .xptar.max = {TF} / 1000
end parm e_arm_accept

begin parm p_arm_accept
  SPedge.p.delta.min = -12.0	;  delta min (SPECTROMETER ACCEPTANCE!)
  SPedge.p.delta.max =  12.0	;  delta max
  SPedge.p.yptar.min = -50.0	; .yptar.min = {TF} / 1000 (mrad)
  SPedge.p.yptar.max =  50.0	; .yptar.max = {TF} / 1000
  SPedge.p.xptar.min = -100.0	; .xptar.min = {TF} / 1000 (mrad)
  SPedge.p.xptar.max =  100.0	; .xptar.max = {TF} / 1000
end parm p_arm_accept

; This is a CTP file

begin parm beamandtargetinfo
  gen.xwid = 0.008868		;  beam width - one sigma (cm)  (89microns)
  gen.ywid = 0.004235		;  beam width - one sigma (cm)  (42microns)
  targ.fr_pattern = 2.		;  raster pattern: 1=square, 2=circular
  targ.fr1 = 0.015		;  horizontal size OR inner radius(2)
  targ.fr2 = 0.15		;  vertical size OR outer radius(2)
  targ.xoffset = 0.		;  target x-offset (cm): +x = beam right
  targ.yoffset = 0.		;  target y-offset (cm): +y = up
  targ.zoffset = 0.		;  target z-offset (cm): +z = downstream
				;   zreal = znominal + zoffset
end parm beamandtergetinfo

;These are offsets applied before the call to the single arm montecarlos.
begin parm spect_offset
  spec.e.offset.x = 0.		;  x offset (cm)
  spec.e.offset.y = 0.		;  y offset (cm)
  spec.e.offset.z = 0.		;  z offset (cm)
  spec.e.offset.xptar = 0.	;  xptar offset (mr)	!x(y)ptar is slope, so
  spec.e.offset.yptar = 0.	;  yptar offset (mr)	!it's really unitless.
  spec.p.offset.x = 0.		;  x offset (cm)
  spec.p.offset.y = 0.		;  y offset (cm)
  spec.p.offset.z = 0.		;  z offset (cm)
  spec.p.offset.xptar = 2.62	;  xptar offset (mr)
  spec.p.offset.yptar = 0.	;  yptar offset (mr)
end parm spect_offset

begin parm simulate
  hard_cuts = 0         ;  (ONE = TRUE) SPedge and Em.max are hard cuts(ntuple)
  using_rad = 1		;  (ONE = TRUE)
  use_expon = 0		;  (LEAVE AT 0)
  one_tail = 0		;  0=all, 1=e, 2=e', 3=p, -3=all but p
  intcor_mode = 1	;  (LEAVE AT 1)
  spect_mode = 0	;  0=e+p arms, -1=p arm, -2=e arm only, 1=none
  cuts.Em.min = 0.	;  (Em.min=Em.max=0.0 gives wide open cuts)
  cuts.Em.max = 0.	; Must be wider than cuts in analysis(elastic or e,e'p)
  using_Eloss = 1	;  (ONE = TRUE)
  correct_Eloss = 1	;  ONE = correct reconstructed events for eloss.
  correct_raster = 1	;  ONE = Reconstruct events using 'raster' matrix elements.
  mc_smear = 1		;  ONE = target & hut mult scatt AND DC smearing.
  deForest_flag = 0	;  0=sigcc1, 1=sigcc2, -1=sigcc1 ONSHELL
  rad_flag = 0		;  (radiative option #1...see init.f)
  extrad_flag = 2	;  (rad. option #2...see init.f)
  lambda(1) = 0.0	;  if rad_flag.eq.4 then lambda(1) = {TF}
  lambda(2) = 0.0	;  if rad_flag.eq.4 then lambda(2) = {TF}
  lambda(3) = 0.0	;  if rad_flag.eq.4 then lambda(3) = {TF}
  Nntu = 1		;  ONE = generate ntuples
  using_Coulomb = 1	;  (ONE = TRUE)
  dE_edge_test = 0.	;  (move around energy edges)
  use_offshell_rad = 1	;  (ONE = TRUE)
  Egamma_gen_max = 0. ;  Set >0 to hardwire the Egamma limits.
end parm simulate

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0