Dear users,
I am using PlotDecisionBoundary.C to plot decision boundaries for custom variables which I defined and then used to train a BDT.
As a concrete example to illustrate the problem, I used
factory->AddVariable( “var0 + var1”, “GeV”, ‘F’);
where var0 and var1 are branches of the tree used to train the BDT.
I encounter the problem when using the PlotDecisionBoundary.C file here:
// Set branch addresses.
signal->SetBranchAddress(v0,&svar0);
signal->SetBranchAddress(v1,&svar1);
background->SetBranchAddress(v0,&bvar0);
background->SetBranchAddress(v1,&bvar1);
as there is obviously no branch for var2 in the original tree, only for var0 and var1. Is there a simple workaround for this?
Thank you