Ignore:
Timestamp:
10/12/04 15:58:10 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MFadcDefine.h

    r3040 r5253  
    11//
    2 //  --> Frist of all the WIDTH of the time slice of one FADC slice
    3 //      this is 3.33333 nsec.
     2//  --> Sampling frequency of the FADC, in number of slices
     3//  per nsec, for the original 300 MHz FADCs of MAGIC. WARNING:
     4//  DO NOT CHANGE this number to set a different sampling frequency
     5//  of the signals! USE instead the "fadc_GHz" command in the camera
     6//  input card (see instructions)
    47//
    5 #define WIDTH_FADC_TIMESLICE   (50./15.)       //  this means 3.33 nsec
     8#define FADC_SLICES_PER_NSEC 0.3
    69//
    7 //  --> Second the number of slices to fill in MFADC. This must by
    8 //      connected to the MTrigger class. The time of interest must be
    9 //      equal in both classes.
    10 //
    11 #define SLICES_MFADC           (TOTAL_TRIGGER_TIME / WIDTH_FADC_TIMESLICE)
    1210//
    1311//  --> The amount of FADC slice written to the raw format.
    14 //
    1512#define FADC_SLICES  15
    1613//
    17 //  --> The amount of ns before trigger that would be read from the ADC
    18 //      in oder to show also the start of the pulse before the
    19 //      the trigger time.
    20 //
    21 #define TIME_BEFORE_TRIGGER    10.
    22 //  --> like the trigger the FADC value will also have a standard response
    23 //      to one single Photo electron. This response is binned with smaller
    24 //      bins. The WIDTH of that response function is done here.
    25 //
    26 #define SUBBINS     5.
    27 #define WIDTH_RESPONSE_MFADC   (WIDTH_FADC_TIMESLICE /  SUBBINS ) 
    28 // 5 sub-bin in one FADC slice
    29 //
    30 //  --> the number of Response slices
    31 //
    32 #define RESPONSE_SLICES_MFADC   45         
     14//  --> Number of bins per FADC slice that we will use for the analog
     15//      signal simulation.
     16#define SUBBINS     5
    3317//
    3418//
    35 #define MFADC_RESPONSE_FWHM        5.0
     19// --> Default values of the single photoelectron response going to the FADC,
     20//     in the case the gaussian shape is chosen.
     21//
     22#define MFADC_RESPONSE_FWHM       5.0
     23#define MFADC_RESPONSE_INTEGRAL   4.0
    3624
    37 //
    38 //
    39 #define MFADC_RESPONSE_INTEGRAL   4.0
    4025//
    4126// -->  The maximum number of FADC channels
     
    4328#define MFADC_CHANNELS  3500
    4429//
    45 // Ratio of high to low gain:
     30//  --> Ratio of high to low gain:
     31#define HIGH2LOWGAIN 10.
    4632//
    47 #define HIGH2LOWGAIN 10.
     33//
     34//  --> The amount of ns before trigger that would be shown from the ADC
     35//      history in order to show also the start of the pulse before the
     36//      the trigger time.-> JUST FOR DISPLAY purposes! (see MFadc::Scan)
     37#define TIME_BEFORE_TRIGGER    10. 
     38//
     39//
Note: See TracChangeset for help on using the changeset viewer.