Changeset 9851 for trunk/Mars/mmuon


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.
Location:
trunk/Mars/mmuon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mmuon/MHMuonPar.cc

    r9360 r9851  
    164164    }
    165165
    166     ApplyBinning(*plist, "Radius",          &fHistRadius);
    167     ApplyBinning(*plist, "ArcWidth",        &fHistArcWidth);
    168     ApplyBinning(*plist, "RingBroadening",  &fHistBroad);
    169     ApplyBinning(*plist, "SizeVsRadius",    &fHistSize);
     166    ApplyBinning(*plist, "Radius",          fHistRadius);
     167    ApplyBinning(*plist, "ArcWidth",        fHistArcWidth);
     168    ApplyBinning(*plist, "RingBroadening",  fHistBroad);
     169    ApplyBinning(*plist, "SizeVsRadius",    fHistSize);
    170170
    171171    return kTRUE;
  • trunk/Mars/mmuon/MHSingleMuon.cc

    r9574 r9851  
    184184    fMargin = setup->GetMargin()/fGeomCam->GetConvMm2Deg();
    185185
    186     ApplyBinning(*plist, "ArcPhi",    &fHistPhi);
    187     ApplyBinning(*plist, "MuonWidth", &fHistWidth);
    188     ApplyBinning(*plist, "MuonTime",  &fHistTime);
     186    ApplyBinning(*plist, "ArcPhi",    fHistPhi);
     187    ApplyBinning(*plist, "MuonWidth", fHistWidth);
     188    ApplyBinning(*plist, "MuonTime",  fHistTime);
    189189
    190190    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.