Changeset 2998


Ignore:
Timestamp:
02/02/04 12:15:30 (21 years ago)
Author:
blanch
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx

    r2985 r2998  
    213213  //
    214214
    215   if ( time < TOTAL_TRIGGER_TIME+trigger_delay ) {
     215  if ( time < TOTAL_TRIGGER_TIME+fadc_time_offset ) {
    216216    //
    217217    //   determine the slices number assuming the WIDTH_RESPONSE_MFADC
     
    258258  else {
    259259    cout << "  WARNING!  Fadc::Fill " << time << "  out of TriggerTimeRange "
    260          << TOTAL_TRIGGER_TIME+trigger_delay << endl ;
     260         << TOTAL_TRIGGER_TIME+fadc_time_offset << endl ;
    261261  }
    262262
     
    299299
    300300
    301   if ( time < TOTAL_TRIGGER_TIME+trigger_delay ) {
     301  if ( time < TOTAL_TRIGGER_TIME+fadc_time_offset ) {
    302302    //
    303303    //   determine the slices number assuming the WIDTH_RESPONSE_MFADC
     
    336336  else {
    337337    cout << "  WARNING!  Fadc::FillOuter " << time << "  out of TriggerTimeRange "
    338          << TOTAL_TRIGGER_TIME+trigger_delay << endl ;
     338         << TOTAL_TRIGGER_TIME+fadc_time_offset << endl ;
    339339  }
    340340
     
    673673  Float_t t ;
    674674
    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 time
     675  (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
    676676
    677677  if ( t < 0. ) {
     
    865865      sprintf (name, "fadc signal %d", i ) ;
    866866     
    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);
    868868      //
    869869      //  fill the histogram
Note: See TracChangeset for help on using the changeset viewer.