Changeset 9851 for trunk/Mars/mhflux/MHFalseSource.cc
- Timestamp:
- 08/12/10 09:43:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhflux/MHFalseSource.cc
r9367 r9851 258 258 259 259 if (fHistOff) 260 MH::SetBinning( &fHist,fHistOff);260 MH::SetBinning(fHist, *fHistOff); 261 261 else 262 262 { … … 269 269 const Float_t r = (geom ? geom->GetMaxRadius()/3 : 200)*fMm2Deg; 270 270 271 MBinning b; 272 b.SetEdges(20, -r, r); 273 SetBinning(&fHist, &b, &b, &binsa); 271 const MBinning b(20, -r, r); 272 SetBinning(fHist, b, b, binsa); 274 273 } 275 274 else 276 SetBinning( &fHist, bins, bins, &binsa);275 SetBinning(fHist, *bins, *bins, binsa); 277 276 } 278 277 … … 502 501 503 502 TH2D h; 504 MH::SetBinning( &h,h2);503 MH::SetBinning(h, *h2); 505 504 506 505 // Divide by number of entries in off region (of off-data)
Note:
See TracChangeset
for help on using the changeset viewer.