Fork me on GitHub

Changeset 621f6a3 in git for classes


Ignore:
Timestamp:
Apr 19, 2016, 3:37:32 PM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
730bc64
Parents:
61f2714
Message:

added ROOT version check for TFormula

File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesFormula.cc

    r61f2714 r621f6a3  
    6161  buffer.ReplaceAll("phi", "z");
    6262  buffer.ReplaceAll("energy", "t");
     63
     64
     65
     66  #if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
     67    TFormula::SetMaxima(100000,1000,1000000);
     68   #endif
    6369 
    6470  if(TFormula::Compile(buffer) != 0)
Note: See TracChangeset for help on using the changeset viewer.