Changeset 8498 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 05/11/07 16:47:18 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
r8434 r8498 396 396 MExtractTimeAndChargeSpline spline; 397 397 398 spline.SetPedestals(&pedcam);399 400 398 MTaskEnv taskenv1("ExtractSignal"); 401 399 MTaskEnv taskenv2("ExtractTime"); 402 400 403 401 if (extractor1) 404 {405 extractor1->SetPedestals(&pedcam);406 402 taskenv1.SetDefault(extractor1); 407 }408 403 409 404 if (extractor2) 410 {411 fTimeExtractor->SetPedestals(&pedcam);412 405 taskenv2.SetDefault(fTimeExtractor); 413 }414 406 else if (!(extractor1->InheritsFrom("MExtractTimeAndCharge"))) 415 407 { 416 spline.SetPedestals(&pedcam);417 408 spline.SetWindowSize(8,8); 418 409 taskenv2.SetDefault(&spline); … … 544 535 545 536 } 546 -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8489 r8498 418 418 pedlo2.SetPedestalUpdate(kTRUE); 419 419 pedlo2.SetRandomCalculation(kTRUE); 420 pedlo2.SetNamePedestalCamIn("MPedestalFundamental");421 420 pedlo2.SetNamePedestalCamOut("MPedestalFromExtractorRndm"); 422 421 … … 424 423 pedlo3.SetPedestalUpdate(kTRUE); 425 424 pedlo3.SetRandomCalculation(kFALSE); 426 pedlo3.SetNamePedestalCamIn("MPedestalFundamental");427 425 pedlo3.SetNamePedestalCamOut("MPedestalFromExtractor"); 428 426 … … 432 430 return kFALSE; 433 431 } 434 435 extractor1->SetPedestals(&pedcamab);436 432 437 433 // Setup to use the hi-gain extraction window in the lo-gain … … 460 456 } 461 457 462 if (extractor2)463 extractor2->SetPedestals(&pedcamab);464 465 if (extractor3)466 extractor3->SetPedestals(&pedcamab);467 468 458 //------------------------------ 469 459 MFTriggerPattern ftp2; … … 530 520 MCalibCalcFromPast pacalc; 531 521 532 pinext.SetPedestals(&pedcamab);533 bldext.SetPedestals(&pedcamab);534 522 chcalc.SetPedestals(&pedcamextr); 535 523 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8484 r8498 1802 1802 // Produce pedestal subtracted raw-data 1803 1803 MPedestalSubtract pedsub; 1804 pedsub.SetPedestalCam(fExtractor->GetPedestals());1805 1804 tlist.AddToList(&pedsub); 1806 1805 -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r8449 r8498 1188 1188 } 1189 1189 1190 pedcalc.SetPedestalsIn(&fPedestalCamIn);1191 pedlogain.SetPedestalsIn(&fPedestalCamIn);1192 1193 1190 pedcalc.SetPedestalsOut(&fPedestalCamOut); 1194 1191 pedlogain.SetPedestalsOut(&fPedestalCamOut); … … 1197 1194 if (fExtractor) 1198 1195 { 1199 fExtractor->SetPedestals(&fPedestalCamIn);1200 1201 1196 if (fExtractionType!=kFundamental) 1202 1197 {
Note:
See TracChangeset
for help on using the changeset viewer.