I am trying to train BDT on some nTuple files, and I get the following error -
Error in TTreeFormula::Compile: Invalid Syntax “&&”
for the line below -
fillTrainBDT(ttX20, “output_ttX20_dR_mu_bjet_” + configname + “train", "output_ttX20_dR_mu_bjet” + configname + “_train”, “&& dimuon_m>18 && dimuon_m<22 && MuJJ==1”);
dimuon_m and MuJJ and branches in the nTuple. I am not sure if there is another way to write this or if there is any obvious error in the above line, which I am overlooking at the moment.
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided