Ignore:
Timestamp:
12/10/04 21:38:16 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5579 r5580  
    6262//       17:          SetWindowSize(2,2) << endl;
    6363//       18:          SetWindowSize(4,4) << endl;
    64 //       19:          SetWindowSize(6,6) << endl;
    65 //       20:          SetWindowSize(4,6) << endl;
     64//       19:          SetWindowSize(4,6) << endl;
     65//       20:          SetWindowSize(6,6) << endl;
    6666//       21:          SetWindowSize(8,8) << endl;
    6767//       22:          SetWindowSize(14,10) << endl;
    6868//        MExtractTimeAndChargeSpline:  << endl;
    69 //                    SetChargeType(MExtractTimeAndChargeSpline::kIntegral) and: << endl;
     69//       23:          SetChargeType(MExtractTimeAndChargeSpline::kAmplitude << endl;
     70//                    SetRange(0,10,4,11) << endl;
     71//       24:          SetChargeType(MExtractTimeAndChargeSpline::kIntegral) and: << endl;
    7072//                    SetRange(0,18,2,14) and the following parameters: << endl;
    71 //       23:          SetRiseTime(1.5); SetFallTime(4.5) << endl;
    72 //       24:          SetRiseTime(0.5); SetFallTime(2.5) << endl;
     73//                    SetRiseTime(0.5); SetFallTime(0.5) << endl;
    7374//       25:          SetRiseTime(0.5); SetFallTime(1.5) << endl;
    74 //       26:          SetRiseTime(0.5); SetFallTime(0.5) << endl;
    75 //       27:          SetChargeType(MExtractTimeAndChargeSpline::kAmplitude << endl;
    76 //                    SetRange(0,10,4,11) << endl;
     75//       26:          SetRiseTime(0.5); SetFallTime(2.5) << endl;
     76//       27:          SetRiseTime(1.5); SetFallTime(4.5) << endl;
    7777//        MExtractTimeAndChargeDigitalFilter << endl;
    7878//                    SetRange(0,18,2,14) and the following parameters: << endl;
     
    255255      break;
    256256    case 19:
     257      ((MExtractTimeAndChargeSlidingWindow*)extractor)->SetWindowSize(4,6);
     258      break;
     259    case 20:
    257260      ((MExtractTimeAndChargeSlidingWindow*)extractor)->SetWindowSize(6,6);
    258       break;
    259     case 20:
    260       ((MExtractTimeAndChargeSlidingWindow*)extractor)->SetWindowSize(4,6);
    261261      break;
    262262    case 21:
     
    268268      // MExtractTimeAndChargeSpline
    269269    case 23:
    270       ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(1.5);
    271       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(4.5);
    272       extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),1.5,4.5));
     270      ((MExtractTimeAndChargeSpline*)extractor)->SetChargeType(MExtractTimeAndChargeSpline::kAmplitude);
     271      extractor->SetRange(0,10,4,11);
     272      extractor->SetName(Form("%s_Amplitude",extractor->GetName()));
    273273      break;
    274274    case 24:
    275275      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(0.5);
    276       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(2.5);
    277       extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,2.5));
     276      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(0.5);
     277      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,0.5));
    278278      break;
    279279    case 25:
     
    284284    case 26:
    285285      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(0.5);
    286       ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(0.5);
    287       extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,0.5));
     286      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(2.5);
     287      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),0.5,2.5));
    288288      break;
    289289    case 27:
    290       ((MExtractTimeAndChargeSpline*)extractor)->SetChargeType(MExtractTimeAndChargeSpline::kAmplitude);
    291       extractor->SetRange(0,10,4,11);
     290      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTime(1.5);
     291      ((MExtractTimeAndChargeSpline*)extractor)->SetFallTime(4.5);
     292      extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),1.5,4.5));
    292293      break;
    293294      // MExtractTimeAndChargeDigitalFilter
     
    356357    case 25:
    357358    case 26:
    358       break;
    359359    case 27:
    360       extractor->SetName(Form("%s_Amplitude",extractor->GetName()));
    361360      break;
    362361    case 28:
Note: See TracChangeset for help on using the changeset viewer.