- Timestamp:
- 03/02/05 21:47:58 (20 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/TOBEDONE
r6698 r6714 3 3 4 4 - Introduce correlations in the electronic noise 5 6 - Change default delay of low gain pulse w.r.t. high gain (add option in input card). Make that it can have any value, not just a number of slices.7 8 - Introduce realistic time jitter of PMTs9 5 10 6 - Make one MMcConfigRunHeader per telescope -
trunk/MagicSoft/Simulation/Detector/Camera/input.card
r6710 r6714 11 11 # The values below correspond roughly to 10 LED UV 12 12 #calibration_run 375. 12. 120. 2.5 5000 13 calibration_run 375. 12. 120. 0.01 113 calibration_run 375. 12. 200. 0.01 1 14 14 # line below shows how to create a pedestal run (= cal. with 0-photon pulses): 15 15 #calibration_run 0. 0. 0. 0. 1000 -
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx
r6710 r6714 24 24 Float_t trigger_delay, Float_t fadc_slices_per_ns, 25 25 Int_t fadc_slices_written, Int_t gainswitchamp, 26 Int_t shiftfromswitch2lowgain, Int_t hi2logainpeak) {26 Int_t shiftfromswitch2lowgain, Float_t hi2logainpeak) { 27 27 // 28 28 // Constructor overloaded II … … 213 213 p5_LG = fPulseParametersLG[5]; 214 214 p6_LG = fPulseParametersLG[6]; 215 216 p2_LG += (fHi2LoGainPeak - fFadcSlices); // Adjust distance between high and low gain peaks 215 217 216 218 … … 313 315 p6_LG = fPulseParametersLG[6]; 314 316 317 p2_LG += (fHi2LoGainPeak - fFadcSlices); // Adjust distance between high and low gain peaks 318 315 319 for (i=0; i< fResponseSlicesFadc ; i++ ) 316 320 { … … 988 992 989 993 // Now put the low gain: 990 // FIXME: for now, the shift between the high and low gain peaks has to be an integer number991 // of FADC slices. But in the data the shift is ~16.5 slices. This has to be implemented.992 994 i=0; 993 995 for ( Int_t is = iFirstSlice; is < (iFirstSlice+fFadcSlices); is++ ) … … 997 999 if (switch_i > 0 && (i+fFadcSlices) >= switch_i) 998 1000 output_lowgain[ip][i] = pedestal[ip] + 999 (sig_LG[ip][is -(fHi2LoGainPeak-fFadcSlices)]-pedestal[ip])/high2low_gain;1001 (sig_LG[ip][is]-pedestal[ip])/high2low_gain; 1000 1002 // Once the shift occurs, low gain is filled with the high 1001 1003 // gain signal scaled down by the factor high2low_gain -
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx
r6692 r6714 120 120 // By default it is now 13 slices (see constructor) 121 121 122 Int_t fHi2LoGainPeak;122 Float_t fHi2LoGainPeak; 123 123 // Distance in FADC slices from the signal peak in the high gain to the signal peak in 124 124 // the low gain. By default we set now 16 slices (see constructor). … … 151 151 Int_t gainswitchamp = 120, 152 152 Int_t shiftfromswitch2lowgain = 13, 153 Int_t hi2logainpeak = 16);153 Float_t hi2logainpeak = 16.5); 154 154 155 155 void SetSeed(UInt_t seed) {GenElec->SetSeed(seed);}
Note:
See TracChangeset
for help on using the changeset viewer.