Changeset 5253 for trunk/MagicSoft/include-Classes/MMcFormat/MFadcDefine.h
- Timestamp:
- 10/12/04 15:58:10 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MFadcDefine.h
r3040 r5253 1 1 // 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) 4 7 // 5 #define WIDTH_FADC_TIMESLICE (50./15.) // this means 3.33 nsec8 #define FADC_SLICES_PER_NSEC 0.3 6 9 // 7 // --> Second the number of slices to fill in MFADC. This must by8 // connected to the MTrigger class. The time of interest must be9 // equal in both classes.10 //11 #define SLICES_MFADC (TOTAL_TRIGGER_TIME / WIDTH_FADC_TIMESLICE)12 10 // 13 11 // --> The amount of FADC slice written to the raw format. 14 //15 12 #define FADC_SLICES 15 16 13 // 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 33 17 // 34 18 // 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 36 24 37 //38 //39 #define MFADC_RESPONSE_INTEGRAL 4.040 25 // 41 26 // --> The maximum number of FADC channels … … 43 28 #define MFADC_CHANNELS 3500 44 29 // 45 // Ratio of high to low gain: 30 // --> Ratio of high to low gain: 31 #define HIGH2LOWGAIN 10. 46 32 // 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.