Changeset 2777 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 01/13/04 09:20:55 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/ONAnalysis.C
r2746 r2777 761 761 contbasic.SetName("SelBasic"); 762 762 763 764 // There are 2 options for Thomas Schweizer's padding 765 // fPadFlag = 1 get Sigmabar from fHSigmaTheta 766 // and Sigma from fHDiffPixTheta 767 // fPadFlag = 2 get Sigma from fHSigmaPixTheta 768 769 MPadON padthomas("MPadON","Task for the padding"); 770 padthomas.SetHistograms(fHSigmaTheta, fHSigmaPixTheta, fHDiffPixTheta, 771 fHIdBlindPixels, fHNBlindPixels); 772 padthomas.SetPadFlag(1); 763 MPad padthomas("MPad","Task for the padding"); 764 padthomas.MergeONMC(fHSigmaThetaMC, fHDiffPixThetaMC, fHSigmaPixThetaMC, 765 fHIdBlindPixelsMC, fHNBlindPixelsMC, 766 fHSigmaThetaON, fHDiffPixThetaON, fHSigmaPixThetaON, 767 fHIdBlindPixelsON, fHNBlindPixelsON); 773 768 774 769 MFillH fillblind("MCBlindPixels[MHBlindPixels]", "MBlindPixels"); -
trunk/MagicSoft/Mars/macros/ONOFFAnalysis.C
r2697 r2777 357 357 // and merge these histograms 358 358 359 MPadONOFF pad; 360 pad.SetName("MPadONOFF"); 361 pad.SetPadFlag(1); 359 MPad pad; 360 pad.SetName("MPad"); 362 361 pad.SetDataType(typeInput); 363 362 … … 531 530 gLog << "=====================================================" << endl; 532 531 533 pad.MergeHistograms(sigthon, sigthoff, 534 sigpixthon, sigpixthoff, 535 diffpixthon, diffpixthoff, 536 blindidthon, blindidthoff, 537 blindnthon, blindnthoff); 532 pad.MergeONOFFMC(sigthmc, diffpixthmc, sigpixthmc, 533 blindidthmc, blindnthmc, 534 sigthon, diffpixthon, sigpixthon, 535 blindidthon, blindnthon, 536 sigthoff, diffpixthoff, sigpixthoff, 537 blindidthoff, blindnthoff); 538 538 539 539 540 if (WPad) 540 541 { 541 542 // write the padding histograms onto a file --------- 542 pad.Write TargetDist(outNameSigTh);543 pad.WritePaddingDist(outNameSigTh); 543 544 } 544 545 } … … 547 548 if (RPad) 548 549 { 549 pad.Read TargetDist(outNameSigTh);550 pad.ReadPaddingDist(outNameSigTh); 550 551 } 551 552
Note:
See TracChangeset
for help on using the changeset viewer.