Changeset 1283 for trunk/MagicSoft/Mars/mhist/MHHillas.cc
- Timestamp:
- 04/22/02 11:28:38 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHHillas.cc
r1277 r1283 53 53 // 54 54 MHHillas::MHHillas(const char *name, const char *title) 55 : fMm2Deg(-1), fUseMmScale(k FALSE)55 : fMm2Deg(-1), fUseMmScale(kTRUE) 56 56 { 57 57 // … … 72 72 fWidth->SetDirectory(NULL); 73 73 74 fLength-> GetXaxis()->SetTitle("Length [mm]");75 fWidth-> GetXaxis()->SetTitle("Width [mm]");76 77 fLength-> GetYaxis()->SetTitle("Counts");78 fWidth-> GetYaxis()->SetTitle("Counts");74 fLength->SetXTitle("Length [mm]"); 75 fWidth->SetXTitle("Width [mm]"); 76 77 fLength->SetYTitle("Counts"); 78 fWidth->SetYTitle("Counts"); 79 79 } 80 80 … … 119 119 } 120 120 121 fLength->GetXaxis()->SetTitle("Length [\\circ]"); 122 fWidth->GetXaxis()->SetTitle("Width [\\circ]"); 123 124 fMm2Deg = geom->GetConvMm2Deg(); 121 fLength->SetXTitle("Length [\\circ]"); 122 fWidth->SetXTitle("Width [\\circ]"); 123 124 fMm2Deg = geom->GetConvMm2Deg(); 125 fUseMmScale = kFALSE; 125 126 126 127 return kTRUE; … … 189 190 if (fUseMmScale) 190 191 { 191 fLength-> GetXaxis()->SetTitle("Length [mm]");192 fWidth-> GetXaxis()->SetTitle("Width [mm]");192 fLength->SetXTitle("Length [mm]"); 193 fWidth->SetXTitle("Width [mm]"); 193 194 194 195 fLength->Scale(1./fMm2Deg); … … 197 198 else 198 199 { 199 fLength-> GetXaxis()->SetTitle("Length [\\circ]");200 fWidth-> GetXaxis()->SetTitle("Width [\\circ]");200 fLength->SetXTitle("Length [\\circ]"); 201 fWidth->SetXTitle("Width [\\circ]"); 201 202 202 203 fLength->Scale(fMm2Deg);
Note:
See TracChangeset
for help on using the changeset viewer.