Changeset 1489 for trunk/MagicSoft/Mars/mhist/MHHillasSrc.cc
- Timestamp:
- 08/08/02 11:58:59 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHHillasSrc.cc
r1465 r1489 68 68 // connect all the histogram with the container fHist 69 69 // 70 fAlpha = new TH1F("Alpha", "Alpha of Ellipse", 90,0, 90);70 fAlpha = new TH1F("Alpha", "Alpha of Ellipse", 181, -90, 90); 71 71 fDist = new TH1F("Dist", "Dist of Ellipse", 100, 0, 445); 72 72 fHeadTail = new TH1F("HeadTail", "HeadTail of Ellipse", 101, -445, 445); … … 81 81 fDist->SetXTitle("Dist [mm]"); 82 82 fHeadTail->SetXTitle("Head-Tail [mm]"); 83 fCosDA->SetXTitle("cos(\\delta,\\alpha) [mm]");83 fCosDA->SetXTitle("cos(\\delta,\\alpha)"); 84 84 85 85 fAlpha->SetYTitle("Counts"); … … 138 138 const MHillasSrc &h = *(MHillasSrc*)par; 139 139 140 fAlpha ->Fill( fabs(h.GetAlpha()));140 fAlpha ->Fill(h.GetAlpha()); 141 141 fDist ->Fill(fUseMmScale ? h.GetDist() : fMm2Deg*h.GetDist()); 142 142 fHeadTail->Fill(fUseMmScale ? h.GetHeadTail() : fMm2Deg*h.GetHeadTail()); … … 211 211 TObject *MHHillasSrc::DrawClone(Option_t *opt) const 212 212 { 213 TCanvas *c = MakeDefCanvas("HillasSrc", "Histograms of Source dependant Parameters", 214 700, 500); 213 TCanvas *c = MakeDefCanvas(this, 700, 500); 215 214 c->Divide(2, 2); 216 215 … … 250 249 { 251 250 if (!gPad) 252 MakeDefCanvas("HillasSrc", "Histograms of Src dependant Parameters", 253 700, 500); 251 MakeDefCanvas(this, 700, 500); 254 252 255 253 // FIXME: Display Source position
Note:
See TracChangeset
for help on using the changeset viewer.