camera 0.7
# Number of telescopes:
ct_num 1
# Telescope geometry type:
ct_geom 1
# Quantum efficiency file:
qe_file 0  /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/Data/qe-emi-coat.RFL.dat
# Input file (one per telescope):
# input_file 0 /data1/magic/reflex/Gamma_zbin0_0_7_1000to1009_w0.rfl
# Perform calibration run: lambda sigma_lambda phot_per_pixel time_fwhm n_events [selected_pixel]
calibration_run 375. 12. 200. 2.5 5
# Ascii output file name:
#data_file ./Gamma_zbin0_0_7_1000to1009_w0.dat
data_file ./prueba.dat
# root output file name:
#root_file ./Gamma_zbin0_0_7_1000to1009_w0.root
root_file ./prueba.root
# Trigger characteristics: gate length (ns), min. overlapping time (ns),
# amplitude and FWHM of (gaussian) single phe response for trigger:
trigger_prop 3.0 0.25 1.0 2.0
# L1 Trigger condition: CT number, threshold (mV), multiplicity and topology:
trigger_single 0 4 4 2
# Switch on NSB:
#nsb_on
nsb_off
# Number of photons from the diffuse NSB (nphe / ns 0.1*0.1 deg^2 239 m^2) and
# minimum number of phe from shower required to simulate NSB:
nsb_mean 0.13 10
# Starfield (see Starfieldadder program)
# starfield_file /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/Starfield/starfield.rfl
# Electronic noise in FADC (sigma in ADC counts): Inner pixels, outer pixels, digital noise: 
#fadc_noise 1.48 2.1 0.
elec_noise_off
# Mean pedestal per slice (ADC counts):
fadc_pedestal 10.
# Additional sigma of mirror spot (cm):
sigma_xy_cm_spot 1.
# Fraction of currently active mirror:
mirror_fraction 0 1.
# Seeds for random number generation:
seeds 66767 45069
# Directory where NSB database can be found for inner and outer pixels:
nsb_directory  /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/StarLight/inner/
nsb_dir_outer  /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/StarLight/outer/
#
# FADC properties: shape of single phe response (1 means realistic one, from
# Pulpo setup), integral in FADC counts for 1 phe. (3rd argument is ignored 
# unless gaussian shape - 1st argument=0 - was chosen) :
fadc_prop 1 7.8 5.0
# Same as above for outer pixels:
fadc_outer 1 3.2 5.0
#
# tentative values for future fast (2 GHz) FADC:
#
#fadc_prop  0 40. 3.
#fadc_outer 0  15. 3.
# FADC sampling frequency and number of FADC slices:
#fadc_GHz 2. 100
#
# Write to output trigger information:
write_McTrig
# Write to output FADC information:
write_McFadc
end_file
