Changeset 9851 for trunk/Mars/mpointing


Ignore:
Timestamp:
08/12/10 09:43:02 (14 years ago)
Author:
tbretz
Message:
Changed MH::SetBinning and similar functions to take references instead of pointers as arguments. For convenience wrappers for the old style functions are provided.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mpointing/MHSrcPosCam.cc

    r9361 r9851  
    8181    const Int_t   n = wobble ? 101    : 51;
    8282
    83     MBinning bins;
    84     bins.SetEdges(n, -x, x); // bin=0.01ø  ~0.5SE
    85 
    86     MH::SetBinning(&fHist, &bins, &bins);
     83    const MBinning bins(n, -x, x); // bin=0.01ø  ~0.5SE
     84
     85    MH::SetBinning(fHist, bins, bins);
    8786}
    8887
Note: See TracChangeset for help on using the changeset viewer.