Changeset 5805


Ignore:
Timestamp:
01/11/05 18:06:41 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/getExtractor.C

    r5765 r5805  
    276276      break;
    277277    case 24:
    278       ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(0.5);
    279       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(0.5);
     278      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTimeHiGain(0.5);
     279      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTimeHiGain(0.5);
    280280      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,0.5));
    281281      break;
    282282    case 25:
    283       ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(0.5);
    284       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(1.5);
     283      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTimeHiGain(0.5);
     284      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTimeHiGain(1.5);
    285285      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,1.5));
    286286      break;
    287287    case 26:
    288       ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(1.0);
    289       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(3.0);
     288      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTimeHiGain(1.0);
     289      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTimeHiGain(3.0);
    290290      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,2.5));
    291291      break;
    292292    case 27:
    293       ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(1.5);
    294       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(4.5);
     293      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTimeHiGain(1.5);
     294      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTimeHiGain(4.5);
    295295      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),1.5,4.5));
    296296      break;
Note: See TracChangeset for help on using the changeset viewer.