Changeset 8695 for trunk/MagicSoft/Mars/mreflector
- Timestamp:
- 08/22/07 19:18:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreflector/MHReflector.cc
r8315 r8695 196 196 pad->cd(2); 197 197 gPad->SetBorderMode(0); 198 TH1 *h = fHistRad.ProjectionY("ProfRad", -1, 9999, "e");198 TH1 *h = fHistRad.ProjectionY("ProfRad", -1, -1, "e"); 199 199 h->SetTitle("RadialProfile"); 200 200 h->SetDirectory(NULL); … … 209 209 gPad->SetLogx(); 210 210 gPad->SetLogy(); 211 h = fHistSize.ProjectionY("ProfSize", -1, 9999, "e");211 h = fHistSize.ProjectionY("ProfSize", -1, -1, "e"); 212 212 h->SetTitle("Size distribution"); 213 213 h->SetDirectory(NULL); … … 279 279 if (gPad->FindObject("ProfRad")) 280 280 { 281 h = fHistRad.ProjectionY("ProfRad", -1, 9999, "e");281 h = fHistRad.ProjectionY("ProfRad", -1, -1, "e"); 282 282 h->Scale(1./h->Integral()); 283 283 } … … 287 287 if (gPad->FindObject("ProfSize")) 288 288 { 289 h = fHistSize.ProjectionY("ProfSize", -1, 9999, "e");289 h = fHistSize.ProjectionY("ProfSize", -1, -1, "e"); 290 290 h->Scale(1./h->Integral()); 291 291 }
Note:
See TracChangeset
for help on using the changeset viewer.