Changeset 19817 for trunk/FACT++/src


Ignore:
Timestamp:
10/27/19 20:23:49 (5 years ago)
Author:
tbretz
Message:
Sorry, works with 6.18 and not 6.14
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/root2csv.cc

    r19816 r19817  
    113113        "   --add.Area='TMath::TwoPi()*Width*Length'\n"
    114114        "\n"
    115 #if ROOT_VERSION_CODE < ROOT_VERSION(6,00,00)
     115#if ROOT_VERSION_CODE < ROOT_VERSION(6,18,00)
    116116        "Note that functions which require two arguments (e.g. atan2) can be used in "
    117117        "a column (i.e. with --add) but can not be references in an alias.\n"
     
    523523        const string val  = conf.Get<string>(*it);
    524524
    525 #if ROOT_VERSION_CODE < ROOT_VERSION(6,00,00)
     525#if ROOT_VERSION_CODE < ROOT_VERSION(6,18,00)
    526526        if (val.find_first_of(',')!=string::npos)
    527527        {
    528             cerr << "\nERROR - Alias contains comma... functions with two arguments do not work as alias in root 5!\n";
     528            cerr << "\nERROR - Alias contains comma: Functions with two arguments";
     529            cerr << "\ndo not work as alias with root versions less than v6.18!\n";
    529530            cerr << "   " << name << " = " << val << endl;
    530531            return 2;
Note: See TracChangeset for help on using the changeset viewer.