Changeset 5580 for trunk/MagicSoft/Mars
- Timestamp:
- 12/10/04 21:38:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/getExtractor.C
r5579 r5580 62 62 // 17: SetWindowSize(2,2) << endl; 63 63 // 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; 66 66 // 21: SetWindowSize(8,8) << endl; 67 67 // 22: SetWindowSize(14,10) << endl; 68 68 // 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; 70 72 // 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; 73 74 // 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; 77 77 // MExtractTimeAndChargeDigitalFilter << endl; 78 78 // SetRange(0,18,2,14) and the following parameters: << endl; … … 255 255 break; 256 256 case 19: 257 ((MExtractTimeAndChargeSlidingWindow*)extractor)->SetWindowSize(4,6); 258 break; 259 case 20: 257 260 ((MExtractTimeAndChargeSlidingWindow*)extractor)->SetWindowSize(6,6); 258 break;259 case 20:260 ((MExtractTimeAndChargeSlidingWindow*)extractor)->SetWindowSize(4,6);261 261 break; 262 262 case 21: … … 268 268 // MExtractTimeAndChargeSpline 269 269 case 23: 270 ((MExtractTimeAndChargeSpline*)extractor)->Set RiseTime(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())); 273 273 break; 274 274 case 24: 275 275 ((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)); 278 278 break; 279 279 case 25: … … 284 284 case 26: 285 285 ((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)); 288 288 break; 289 289 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)); 292 293 break; 293 294 // MExtractTimeAndChargeDigitalFilter … … 356 357 case 25: 357 358 case 26: 358 break;359 359 case 27: 360 extractor->SetName(Form("%s_Amplitude",extractor->GetName()));361 360 break; 362 361 case 28:
Note:
See TracChangeset
for help on using the changeset viewer.