Changeset 5274 for trunk/MagicSoft/Simulation/Detector
- Timestamp:
- 10/14/04 17:54:02 (20 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/Camera
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r5269 r5274 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.3 1$21 //= $Revision: 1.32 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-10-1 3 17:05:05$23 //= $Date: 2004-10-14 16:53:49 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 114 114 static float sigma_lambda = 0.; // Sigma of wavelength distribution for calibration. 115 115 static float phot_per_pix = 0.; // Average number of photons per inner pixel for calibration. 116 static float sigma_time = 0.; // Time spread (sigmaof gaussian) of calibration photons.116 static float fwhm_time = 0.; // Time spread (FWHM of gaussian) of calibration photons. 117 117 static int nevents = 0; // Number of events in calibration run. 118 118 static int selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled! … … 616 616 617 617 sscanf(line, "%s %f %f %f %f %i %i", token, &lambda, &sigma_lambda, &phot_per_pix, 618 & sigma_time, &nevents, &selected_pixel);618 &fwhm_time, &nevents, &selected_pixel); 619 619 620 620 CalibrationRun = 1; … … 1394 1394 *b = sigma_lambda; 1395 1395 *c = phot_per_pix; 1396 *d = sigma_time;1396 *d = fwhm_time / 2.35; // Convert from FWHM to sigma of gaussian 1397 1397 *e = nevents; 1398 1398 *f = selected_pixel; … … 1406 1406 // 1407 1407 // $Log: not supported by cvs2svn $ 1408 // Revision 1.31 2004/10/13 17:05:05 moralejo 1409 // *** empty log message *** 1410 // 1408 1411 // Revision 1.30 2004/10/12 13:32:02 moralejo 1409 1412 // *** empty log message *** -
trunk/MagicSoft/Simulation/Detector/Camera/input.card
r5269 r5274 5 5 ct_geom 1 6 6 # Quantum efficiency file: 7 qe_file 0 /home/ magic/CAMERA_NEW/MagicSoft/Simulation/Detector/Data/qe-emi-coat.RFL.dat7 qe_file 0 /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/Data/qe-emi-coat.RFL.dat 8 8 # Input file (one per telescope): 9 9 # input_file 0 /data1/magic/reflex/Gamma_zbin0_0_7_1000to1009_w0.rfl 10 # Perform calibration run: lambda sigma_lambda phot_per_pixel time_ sigman_events [selected_pixel]11 calibration_run 400. 30. 100. 5. 100 9010 # Perform calibration run: lambda sigma_lambda phot_per_pixel time_fwhm n_events [selected_pixel] 11 calibration_run 375. 12. 200. 2.5 5 12 12 # Ascii output file name: 13 13 #data_file ./Gamma_zbin0_0_7_1000to1009_w0.dat … … 28 28 nsb_mean 0.13 10 29 29 # Starfield (see Starfieldadder program) 30 # starfield_file /home/ magic/CAMERA_NEW/MagicSoft/Simulation/Detector/Starfield/starfield.rfl30 # starfield_file /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/Starfield/starfield.rfl 31 31 # Electronic noise in FADC (sigma in ADC counts): Inner pixels, outer pixels, digital noise: 32 fadc_noise 1.48 2.1 0. 32 #fadc_noise 1.48 2.1 0. 33 elec_noise_off 33 34 # Mean pedestal per slice (ADC counts): 34 35 fadc_pedestal 10. … … 40 41 seeds 66767 45069 41 42 # Directory where NSB database can be found for inner and outer pixels: 42 nsb_directory /home/ magic/CAMERA_NEW/MagicSoft/Simulation/Detector/StarLight/inner/43 nsb_dir_outer /home/ magic/CAMERA_NEW/MagicSoft/Simulation/Detector/StarLight/outer/43 nsb_directory /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/StarLight/inner/ 44 nsb_dir_outer /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/StarLight/outer/ 44 45 # 45 46 # FADC properties: shape of single phe response (1 means realistic one, from 46 47 # Pulpo setup), integral in FADC counts for 1 phe. (3rd argument is ignored 47 48 # unless gaussian shape - 1st argument=0 - was chosen) : 48 #fadc_prop 1 7.8 5.049 fadc_prop 1 7.8 5.0 49 50 # Same as above for outer pixels: 50 #fadc_outer 1 3.2 5.051 fadc_outer 1 3.2 5.0 51 52 # 52 53 # tentative values for future fast (2 GHz) FADC: 53 54 # 54 fadc_prop 0 40. 3.55 fadc_outer 015. 3.55 #fadc_prop 0 40. 3. 56 #fadc_outer 0 15. 3. 56 57 # FADC sampling frequency and number of FADC slices: 57 fadc_GHz 2. 10058 #fadc_GHz 2. 100 58 59 # 59 60 # Write to output trigger information:
Note:
See TracChangeset
for help on using the changeset viewer.