Changeset 5253 for trunk/MagicSoft/include-Classes/MMcFormat
- Timestamp:
- 10/12/04 15:58:10 (20 years ago)
- Location:
- trunk/MagicSoft/include-Classes/MMcFormat
- Files:
-
- 3 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 // -
trunk/MagicSoft/include-Classes/MMcFormat/MTriggerDefine.h
r2394 r5253 32 32 // Dead time of the detector after second level trigger fires 33 33 // 34 #define SLICES_PER_NSEC 434 #define TRIG_SLICES_PER_NSEC 4 35 35 // 36 36 // Each nano second is divided into the number of this values slices. … … 39 39 // In the current settings this are 1000 slices 40 40 // 41 #define TRIGGER_TIME_SLICES (TOTAL_TRIGGER_TIME* SLICES_PER_NSEC)41 #define TRIGGER_TIME_SLICES (TOTAL_TRIGGER_TIME*TRIG_SLICES_PER_NSEC) 42 42 // 43 43 // … … 46 46 // ------>>> SETTINGS for the RESPONSE FUNCTION 47 47 // 48 #define RESPONSE_SLICES 4048 #define RESPONSE_SLICES_TRIG 40 49 49 // 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!) 53 56 // 57 54 58 // The Response function 55 //56 59 // These values are discussed with Eckart. We start from this point. 57 60 // … … 61 64 // 62 65 // This are the Standard values of the response function for 63 // 1 photo electron. ( 1 means 1 mV per phot eelectron )66 // 1 photo electron. ( 1 means 1 mV per photoelectron ) 64 67 // 65 68 // -
trunk/MagicSoft/include-Classes/MMcFormat/Mdefine.h
r2348 r5253 11 11 // Number of the Slices of one Fadc. Be carefull this is the number of 12 12 // slices for one gain branch. We sample two times this number. 13 14 #define FADC_SLICES 1515 13 16 14 // ParticleId for Monte Carlo simulation … … 29 27 #define FALSE 0 30 28 31 #define MAX_ADC 30 // nummber of ADC conversions per pixel32 33 29 //camera dimensions and definitions 34 30 #define PIXEL_SIZE 0.00175 // radians
Note:
See TracChangeset
for help on using the changeset viewer.