Changeset 2998 for trunk/MagicSoft/Simulation/Detector/include-MFadc
- Timestamp:
- 02/02/04 12:15:30 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx
r2985 r2998 213 213 // 214 214 215 if ( time < TOTAL_TRIGGER_TIME+ trigger_delay) {215 if ( time < TOTAL_TRIGGER_TIME+fadc_time_offset ) { 216 216 // 217 217 // determine the slices number assuming the WIDTH_RESPONSE_MFADC … … 258 258 else { 259 259 cout << " WARNING! Fadc::Fill " << time << " out of TriggerTimeRange " 260 << TOTAL_TRIGGER_TIME+ trigger_delay<< endl ;260 << TOTAL_TRIGGER_TIME+fadc_time_offset << endl ; 261 261 } 262 262 … … 299 299 300 300 301 if ( time < TOTAL_TRIGGER_TIME+ trigger_delay) {301 if ( time < TOTAL_TRIGGER_TIME+fadc_time_offset ) { 302 302 // 303 303 // determine the slices number assuming the WIDTH_RESPONSE_MFADC … … 336 336 else { 337 337 cout << " WARNING! Fadc::FillOuter " << time << " out of TriggerTimeRange " 338 << TOTAL_TRIGGER_TIME+ trigger_delay<< endl ;338 << TOTAL_TRIGGER_TIME+fadc_time_offset << endl ; 339 339 } 340 340 … … 673 673 Float_t t ; 674 674 675 (0 > time - TIME_BEFORE_TRIGGER)? t= trigger_delay: t=(time-TIME_BEFORE_TRIGGER+trigger_delay) ; // to show also the start of the pulse before the trigger time675 (0 > time - TIME_BEFORE_TRIGGER)? t=fadc_time_offset: t=(time-TIME_BEFORE_TRIGGER+fadc_time_offset) ; // to show also the start of the pulse before the trigger time 676 676 677 677 if ( t < 0. ) { … … 865 865 sprintf (name, "fadc signal %d", i ) ; 866 866 867 hist = new TH1F(dumm, name, SLICES_MFADC, trigger_delay, TOTAL_TRIGGER_TIME+trigger_delay);867 hist = new TH1F(dumm, name, SLICES_MFADC, fadc_time_offset, TOTAL_TRIGGER_TIME+fadc_time_offset); 868 868 // 869 869 // fill the histogram
Note:
See TracChangeset
for help on using the changeset viewer.