Changeset 9851 for trunk/Mars/mfbase


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/mfbase/MFEventSelector2.cc

    r8106 r9851  
    196196
    197197    // duplicate the fHistNom histogram
    198     hist = (MH3*)fHistNom->New();
     198    hist = static_cast<MH3*>(fHistNom->New());
    199199
    200200    // copy binning from one histogram to the other one
    201     MH::SetBinning(&hist->GetHist(), &fHistNom->GetHist());
     201    MH::SetBinning(hist->GetHist(), fHistNom->GetHist());
    202202
    203203    return hist->GetHist();
Note: See TracChangeset for help on using the changeset viewer.