source: trunk/MagicSoft/include-Classes/MMcFormat/MFadcDefine.h@ 770

Last change on this file since 770 was 636, checked in by magicsol, 24 years ago
It has some definition about the FADC simulation that were in Simualtion/Detector/include-MFadc/MFadc.hxx
File size: 1.3 KB
Line 
1//
2// --> Frist of all the WIDTH of the time slice of one FADC slice
3// this is 3.33333 nsec.
4//
5#define WIDTH_FADC_TIMESLICE (50./15.) // this means 3.33 nsec
6//
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)
12//
13// --> The amount of FADC slice written to the raw format.
14//
15#define FADC_SLICES 15
16//
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
33//
34//
35#define MFADC_RESPONSE_FWHM 5.0
36
37//
38//
39#define MFADC_RESPONSE_AMPLITUDE 4.0
40//
41// --> The maximum number of FADC channels
42// Most likely it will be always equal to CAMERA_PIXELS
43#define MFADC_CHANNELS 577
Note: See TracBrowser for help on using the repository browser.