Changeset 5153
- Timestamp:
- 09/30/04 18:47:46 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5149 r5153 26 26 window ranges into the low-gain 27 27 28 * mjobs/MJPedestal.cc 29 - use MPedCalcFromLoGain if IsUseData() is set 28 30 29 31 2004/09/29: Hendrik Bartko, Diego Tescaro, Markus Gaug -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r5064 r5153 64 64 #include "MBadPixelsMerge.h" 65 65 #include "MPedCalcPedRun.h" 66 #include "MPedCalcFromLoGain.h" 66 67 67 68 ClassImp(MJPedestal); … … 609 610 MBadPixelsMerge merge(&fBadPixels); 610 611 611 MPedCalcPedRun pedcalc; 612 MPedCalcPedRun pedcalc; 613 MPedCalcFromLoGain pedlogain; 614 pedlogain.SetPedestalUpdate(kFALSE); 612 615 613 616 MTaskEnv taskenv("ExtractPedestal"); 614 taskenv.SetDefault(&pedcalc); 617 if (IsUseData()) 618 taskenv.SetDefault(&pedlogain); 619 else 620 taskenv.SetDefault(&pedcalc); 615 621 616 622 if (fExtractor) 617 623 { 618 pedcalc.SetWindowSize((Int_t)fExtractor->GetNumHiGainSamples()); 619 pedcalc.SetRange(fExtractor->GetHiGainFirst(), fExtractor->GetHiGainLast()); 624 if (IsUseData()) 625 pedlogain.SetWindowSize(12,(Int_t)fExtractor->GetNumHiGainSamples()); 626 else 627 { 628 pedcalc.SetWindowSize((Int_t)fExtractor->GetNumHiGainSamples()); 629 pedcalc.SetRange(fExtractor->GetHiGainFirst(), fExtractor->GetHiGainLast()); 630 } 620 631 } 621 632 /*
Note:
See TracChangeset
for help on using the changeset viewer.