Changeset 9851 for trunk/Mars/mbadpixels
- Timestamp:
- 08/12/10 09:43:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbadpixels/MHBadPixels.cc
r9153 r9851 80 80 fBinsPix->SetEdges(578, -0.5, 577.5); // pixel id 81 81 82 SetBinning( fBadId, fBinsTheta,fBinsPix);83 SetBinning( fBadN, fBinsTheta,fBinsPix);82 SetBinning(*fBadId, *fBinsTheta, *fBinsPix); 83 SetBinning(*fBadN, *fBinsTheta, *fBinsPix); 84 84 85 85 //----------------------------------------- … … 151 151 const UInt_t npix1 = fPedPhot->GetSize()+1; 152 152 //*fLog << "MHBadPixels::SetupFill(); npix1 = " << npix1 << endl; 153 MBinning binspix("BinningPixel"); 154 binspix.SetEdges(npix1, -0.5, npix1-0.5); 153 const MBinning binspix(npix1, -0.5, npix1-0.5); 155 154 156 155 // Set binnings in histograms 157 SetBinning( fBadId, binstheta, &binspix);158 SetBinning( fBadN, binstheta, &binspix);156 SetBinning(*fBadId, *binstheta, binspix); 157 SetBinning(*fBadN, *binstheta, binspix); 159 158 160 159 *fLog << "MHBadPixels::SetupFill(); binnings were set" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.