Ignore:
Timestamp:
10/14/04 17:54:02 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Simulation/Detector/Camera
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx

    r5269 r5274  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.31 $
     21//= $Revision: 1.32 $
    2222//= $Author: moralejo $
    23 //= $Date: 2004-10-13 17:05:05 $
     23//= $Date: 2004-10-14 16:53:49 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    114114static float sigma_lambda = 0.;   // Sigma of wavelength distribution for calibration.
    115115static float phot_per_pix = 0.;   // Average number of photons per inner pixel for calibration.
    116 static float sigma_time = 0.;     // Time spread (sigma of gaussian) of calibration photons.
     116static float fwhm_time = 0.;      // Time spread (FWHM of gaussian) of calibration photons.
    117117static int   nevents = 0;         // Number of events in calibration run.
    118118static int   selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled!
     
    616616
    617617      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);
    619619     
    620620      CalibrationRun = 1;
     
    13941394  *b = sigma_lambda;
    13951395  *c = phot_per_pix;
    1396   *d = sigma_time;
     1396  *d = fwhm_time / 2.35;  // Convert from FWHM to sigma of gaussian
    13971397  *e = nevents;
    13981398  *f = selected_pixel;
     
    14061406//
    14071407// $Log: not supported by cvs2svn $
     1408// Revision 1.31  2004/10/13 17:05:05  moralejo
     1409// *** empty log message ***
     1410//
    14081411// Revision 1.30  2004/10/12 13:32:02  moralejo
    14091412// *** empty log message ***
  • trunk/MagicSoft/Simulation/Detector/Camera/input.card

    r5269 r5274  
    55ct_geom 1
    66# Quantum efficiency file:
    7 qe_file 0  /home/magic/CAMERA_NEW/MagicSoft/Simulation/Detector/Data/qe-emi-coat.RFL.dat
     7qe_file 0  /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/Data/qe-emi-coat.RFL.dat
    88# Input file (one per telescope):
    99# input_file 0 /data1/magic/reflex/Gamma_zbin0_0_7_1000to1009_w0.rfl
    10 # Perform calibration run: lambda sigma_lambda phot_per_pixel time_sigma n_events [selected_pixel]
    11 calibration_run 400. 30. 100. 5. 100 90
     10# Perform calibration run: lambda sigma_lambda phot_per_pixel time_fwhm n_events [selected_pixel]
     11calibration_run 375. 12. 200. 2.5 5
    1212# Ascii output file name:
    1313#data_file ./Gamma_zbin0_0_7_1000to1009_w0.dat
     
    2828nsb_mean 0.13 10
    2929# Starfield (see Starfieldadder program)
    30 # starfield_file /home/magic/CAMERA_NEW/MagicSoft/Simulation/Detector/Starfield/starfield.rfl
     30# starfield_file /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/Starfield/starfield.rfl
    3131# 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.
     33elec_noise_off
    3334# Mean pedestal per slice (ADC counts):
    3435fadc_pedestal 10.
     
    4041seeds 66767 45069
    4142# 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/
     43nsb_directory  /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/StarLight/inner/
     44nsb_dir_outer  /home/pcmagic00/moralejo/MagicSoft/Simulation/Detector/StarLight/outer/
    4445#
    4546# FADC properties: shape of single phe response (1 means realistic one, from
    4647# Pulpo setup), integral in FADC counts for 1 phe. (3rd argument is ignored
    4748# unless gaussian shape - 1st argument=0 - was chosen) :
    48 #fadc_prop 1 7.8 5.0
     49fadc_prop 1 7.8 5.0
    4950# Same as above for outer pixels:
    50 #fadc_outer 1 3.2 5.0
     51fadc_outer 1 3.2 5.0
    5152#
    5253# tentative values for future fast (2 GHz) FADC:
    5354#
    54 fadc_prop  0 40. 3.
    55 fadc_outer 0 15. 3.
     55#fadc_prop  0 40. 3.
     56#fadc_outer 0 15. 3.
    5657# FADC sampling frequency and number of FADC slices:
    57 fadc_GHz 2. 100
     58#fadc_GHz 2. 100
    5859#
    5960# Write to output trigger information:
Note: See TracChangeset for help on using the changeset viewer.