Changeset 19252


Ignore:
Timestamp:
10/22/18 18:41:25 (6 years ago)
Author:
tbretz
Message:
Compatibility with root 6 -- untested
File:
1 edited

Legend:

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

    r9851 r19252  
    248248
    249249    ref.SetName("RefShape12mm");
     250#if ROOT_VERSION_CODE < ROOT_VERSION(6,00,00)
    250251    ref.Compile("- 0.02711*x + 0.09359");
     252#else
     253    ref.GetFormula()->Compile("- 0.02711*x + 0.09359");
     254#endif
    251255    gROOT->GetListOfFunctions()->Remove(ref.DrawCopy("same"));
    252256
Note: See TracChangeset for help on using the changeset viewer.