Ignore:
Timestamp:
10/12/04 15:58:10 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
3 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//
  • trunk/MagicSoft/include-Classes/MMcFormat/MTriggerDefine.h

    r2394 r5253  
    3232//      Dead time of the detector after second level trigger fires
    3333//
    34 #define SLICES_PER_NSEC         4
     34#define TRIG_SLICES_PER_NSEC         4
    3535//     
    3636//      Each nano second is divided into the number of this values slices.
     
    3939//      In the current settings this are 1000 slices
    4040//
    41 #define TRIGGER_TIME_SLICES     (TOTAL_TRIGGER_TIME*SLICES_PER_NSEC)
     41#define TRIGGER_TIME_SLICES     (TOTAL_TRIGGER_TIME*TRIG_SLICES_PER_NSEC)
    4242//
    4343//
     
    4646//       ------>>>   SETTINGS for the RESPONSE FUNCTION
    4747//
    48 #define RESPONSE_SLICES        40
     48#define RESPONSE_SLICES_TRIG        40
    4949//
    50 //       This is for the standard response Signal to 1 Photoelectron
    51 //       that leaves the Photocathode
    52 //       The whole Timescale for the signal is 10 nsec
     50//       This is the dimension of the array containing the standard response Signal
     51//       for 1 Photoelectron, as seen at the input of the discriminators (for the
     52//       trigger simulation). Each bin corresponds to 1./TRIG_SLICES_PER_NSEC nanoseconds,
     53//       so by default it is 0.25 ns and hence the total range is 10 ns. This should be
     54//       enough for any reasonable single photoelectron response (should be much narrower
     55//       than 10 ns!)
    5356//
     57
    5458//       The Response function
    55 //
    5659//       These values are discussed with Eckart. We start from this point.
    5760//
     
    6164//
    6265//       This are the Standard values of the response function for
    63 //       1 photo electron. ( 1 means 1 mV per phote electron )
     66//       1 photo electron. ( 1 means 1 mV per photoelectron )
    6467//
    6568//
  • trunk/MagicSoft/include-Classes/MMcFormat/Mdefine.h

    r2348 r5253  
    1111//     Number of the Slices of one Fadc. Be carefull this is the number of
    1212//     slices for one gain branch. We sample two times this number.
    13 
    14 #define     FADC_SLICES            15
    1513
    1614//     ParticleId for Monte Carlo simulation
     
    2927#define FALSE 0
    3028
    31 #define MAX_ADC 30  // nummber of ADC conversions per pixel
    32 
    3329//camera dimensions and definitions
    3430#define PIXEL_SIZE  0.00175  // radians
Note: See TracChangeset for help on using the changeset viewer.