Changeset 6129 for trunk/MagicSoft
- Timestamp:
- 01/30/05 14:46:05 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6117 r6129 20 20 21 21 -*-*- END OF LINE -*-*- 22 2005/01/30 Markus Gaug 23 24 * mjobs/MJPedestal.cc 25 - updated correct display of reference lines 26 27 22 28 2005/01/29 Markus Gaug 23 29 -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r6078 r6129 19 19 ! Author(s): Markus Gaug, 4/2004 <mailto:markus@ifae.es> 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 421 ! Copyright: MAGIC Software Development, 2000-2005 22 22 ! 23 23 ! … … 413 413 obj1->SetMinimum(fPedestalMin); 414 414 obj1->SetMaximum(fPedestalMax); 415 // 416 // Set the datacheck sizes: 417 // 418 FixDataCheckHist((TH1D*)obj1); 419 // 420 // set reference lines 421 // 422 DisplayReferenceLines(obj1,0); 423 } 424 415 } 416 // 417 // Set the datacheck sizes: 418 // 419 FixDataCheckHist((TH1D*)obj1); 420 // 421 // set reference lines 422 // 423 DisplayReferenceLines(obj1,0); 425 424 // 426 425 // end reference lines … … 585 584 line.SetLineStyle(kDashed); 586 585 line.SetLineWidth(3); 586 line.SetLineColor(kBlue); 587 587 588 TLegend *leg = new TLegend(0.6,0.75,0.9,0.99); 589 leg->SetBit(kCanDelete); 590 591 if (fExtractionType==kWithExtractorRndm && !(what)) 592 { 593 TLine *l0 = line.DrawLine(0,0.,cam->GetNbinsX(),0.); 594 l0->SetBit(kCanDelete); 595 leg->AddEntry(l0, "Reference","l"); 596 leg->Draw(); 597 return; 598 } 599 588 600 line.SetLineColor(kBlue); 589 601 TLine *l1 = line.DrawLine(0, what ? fRefPedRmsGalacticInner : fRefPedGalactic, 590 591 602 x, what ? fRefPedRmsGalacticInner : fRefPedGalactic); 603 l1->SetBit(kCanDelete); 592 604 line.SetLineColor(kYellow); 593 605 TLine *l2 = line.DrawLine(0, what ? fRefPedRmsExtraGalacticInner : fRefPedExtraGalactic, 594 595 606 x, what ? fRefPedRmsExtraGalacticInner : fRefPedExtraGalactic); 607 l2->SetBit(kCanDelete); 596 608 line.SetLineColor(kMagenta); 597 609 TLine *l3 = line.DrawLine(0, what ? fRefPedRmsClosedLidsInner : fRefPedClosedLids, 598 x, what ? fRefPedRmsClosedLidsInner : fRefPedClosedLids); 599 610 x, what ? fRefPedRmsClosedLidsInner : fRefPedClosedLids); 611 l3->SetBit(kCanDelete); 612 600 613 if (geom->InheritsFrom("MGeomCamMagic")) 601 614 if (what) … … 617 630 618 631 619 TLegend *leg = new TLegend(0.4,0.75,0.7,0.99);620 leg->SetBit(kCanDelete);621 632 leg->AddEntry(l1, "Galactic Source","l"); 622 633 leg->AddEntry(l2, "Extra-Galactic Source","l");
Note:
See TracChangeset
for help on using the changeset viewer.