8 #ifndef R_TREE_FUNCTIONS_HH
9 #define R_TREE_FUNCTIONS_HH
16 #include <TTreeFormula.h>
24 extern bool RIsTreeFormula ( TTree & tree,
const string & variable );
25 extern TTreeFormula *
RGetTreeFormula ( TTree & tree,
const string & variable );
26 extern int RGetTreeValue ( TTree & tree,
const string & variable,
double & value );
28 extern string RTreeSelectEq (
const string & leaf,
const double val,
const double prec = 0.001 );
string RTreeSelectEq(const string &leaf, const double val, const double prec)
Definition: RTreeFunctions.cpp:120
TTreeFormula * RGetTreeFormula(TTree &tree, const string &variable)
Definition: RTreeFunctions.cpp:47
bool RIsTreeFormula(TTree &tree, const string &variable)
Definition: RTreeFunctions.cpp:19
int RGetTreeValue(TTree &tree, const string &variable, double &value)
Definition: RTreeFunctions.cpp:84