Fork me on GitHub

Changeset 3b5d79a in git


Ignore:
Timestamp:
02/19/19 18:02:00 (18 months ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, llp, master
Children:
2116fdf, af181bf
Parents:
8552d52
Message:

fix ROOT version in DelphesFormula?.cc and DelphesTF2.cc

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesFormula.cc

    r8552d52 r3b5d79a  
    6464  buffer.ReplaceAll("ctgTheta", "[2]");
    6565
    66 #if ROOT_VERSION_CODE < ROOT_VERSION(6, 0, 0)
     66#if ROOT_VERSION_CODE < ROOT_VERSION(6, 3, 0)
    6767  TFormula::SetMaxima(100000, 1000, 1000000);
    6868#endif
  • classes/DelphesTF2.cc

    r8552d52 r3b5d79a  
    3232{
    3333
    34 #if ROOT_VERSION_CODE >= ROOT_VERSION(6, 04, 00)
     34#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 3, 0)
    3535  fFormula = new TFormula();
    3636#endif
     
    6363  buffer.ReplaceAll("z", "x");
    6464  buffer.ReplaceAll("t", "y");
    65 #if ROOT_VERSION_CODE < ROOT_VERSION(6, 04, 00)
     65#if ROOT_VERSION_CODE < ROOT_VERSION(6, 3, 0)
    6666  if(TF2::Compile(buffer) != 0)
    6767#else
Note: See TracChangeset for help on using the changeset viewer.