Changeset 2392 for trunk/MagicSoft


Ignore:
Timestamp:
10/17/03 20:41:00 (21 years ago)
Author:
blanch
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Simulation/Detector/Camera
Files:
2 edited

Legend:

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

    r2356 r2392  
    1919//=
    2020//= $RCSfile: creadparam.h,v $
    21 //= $Revision: 1.20 $
     21//= $Revision: 1.21 $
    2222//= $Author: blanch $
    23 //= $Date: 2003-09-23 17:38:59 $
     23//= $Date: 2003-10-17 19:40:47 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    157157T(qe_file),         /* file with the characteristics of the CT */ \
    158158T(elec_noise_off),  /* de-activates ElecNoise for FADC and Trigger channels */\
    159 T(fadc_pedestal),      /* Pedestal value for FADC */\
     159T(fadc_pedestal),   /* Pedestal value for FADC */\
    160160T(fadc_noise),      /* ElecNoise for FADC */\
    161161T(trig_noise),      /* ElecNoise for trigger */\
     
    187187T(Trigger_Loop_Output_Only_Specialists),   /* special steercard */ \
    188188T(source_offset),   /* Displacement of the source from the center */ \
     189T(high_to_low),   /* Displacement of the source from the center */ \
    189190T(end_file)         /* end of the parameters file */
    190191 
     
    232233char *get_nsb_directory(void);
    233234char *get_nsb_directory_outer(void);
    234 int add_elec_noise(float *fadc, float *trig);
     235int add_elec_noise(float *fadc, float *digi, float *trig);
    235236int get_nsb(float *n, int *m);
    236237long int get_seeds(int n);
     
    256257int get_indi_thres_pixel(void);
    257258void get_source_off(float *th, float *p);
     259float get_High_to_Low(void);
    258260//!@}
    259261
     
    271273/*
    272274 * $Log: not supported by cvs2svn $
     275 * Revision 1.20  2003/09/23 17:38:59  blanch
     276 * *** empty log message ***
     277 *
    273278 * Revision 1.19  2003/09/23 16:52:43  blanch
    274279 * Header file for creadparam.cxx 1.22
  • trunk/MagicSoft/Simulation/Detector/Camera/input.card

    r2338 r2392  
    33# Enter the input card for each telescope (0, 1, ...) that you want to
    44# simulate
    5 input_file  0  /remote/disc02/magic/Data/RefData/Protons/Proton_0/Proton_0_90_4_0to0.rfl
     5input_file  0  /disc02/Data/RefData/Protons/Proton_0/Proton_0_90_4_0to0.rfl
    66#
    77# qe file name for each telescope (0, 1, ...)
     
    99#
    1010# Reflector format file that gives the NSB from the stars
    11 #starfield_file    ../ReflectorData/CrabNebula.rfl
     11#starfield_file    /remote/disc02/magic/Data/RefData/CrabNebula.rfl
    1212#
    1313# Center of the FOV for stars light, right information should
    1414# be here since it is no checked in the Camera program (RA and DEC)
    15 starfield_center  5 34 32 22 00 55
     15#starfield_center  5 34 32 22 00 55
    1616#
    1717# Output file with a brief summary about trigger
     
    2020# Root file with the output information
    2121root_file test.root
    22 #
    23 # Information about the telescope
    24 ct_file ../Data/magic.def
    2522#
    2623# Number of telescopes
     
    4643#
    4744# Fadc properties (integral and fwhm) needed for the fadc simulation
    48 fadc_prop 4.0 5.0
     45fadc_prop 6.3 5.0
    4946#
    5047# Fadc properties (integral and fwhm) for the outer pixels
    51 fadc_outer 4.0 5.0
     48fadc_outer 6.3 5.0
    5249#
    5350# Fadc electronic noise (width of the gaussian on top of FADC signal in
    5451# FADC counts)
    55 fadc_noise 2.0
     52fadc_noise 2.0 1.0
    5653#
    57 # Fadc pedestal (50 by default)
    58 fadc_pedestal 50.0
     54# Fadc pedestal (10 by default)
     55fadc_pedestal 10.0
    5956#
    6057# Trigger loop mode (theshold(low, high and step), multiplicity and topology)
    61 #trigger_loop 1.0 1.0 0.5 3 5 0 0
     58#trigger_loop 1.0 2.05 0.5 3 4 0 0
    6259#
    6360# Single trigger mode (telescope, theshold, multiplicity and topology)
    6461# for each CT (0, 1, .. )
    65 trigger_single 0 4 4 2
     62trigger_single 0 4.0 4 2
    6663#
    6764# Pixels with special trigger threshold (one line for each pixel)
     
    9996# Number of photons from the diffuse NSB (nphe / ns 0.1*0.1 deg^2 239 m^2) and
    10097# minmum number of phe from shower required to simulate NSB
    101 nsb_mean 0.13 0
     98nsb_mean 0.13 1
    10299#
    103100# Show signal of diskriminator on the screen
     
    117114#
    118115# Seeds for random numbers
    119 seeds 69184 10406
     116seeds 6520 10406
    120117#
    121118#
     
    126123# End of steercards
    127124end_file
     125
     126
     127
Note: See TracChangeset for help on using the changeset viewer.