TMultiLayerPerceptron Script Problem

Hi,

In the attached script (nn_H4b.C) which trains a NN using a merged signal/background ntuple: nn.root, four eps files are to be made. However, the canvas for the 3rd plot is drawn fine but cannot “Print” the eps. Before the 4th plot is drawn, the script complains that ntuple variables are not found. Could someone help? Thanks.

John
ana.tar (530 KB)

John,

Nowhere you specify where to read your Tree variables.
I have modified your code adding all the Tree variables in a C struct.
See attachement

Rene
nn.C (3.82 KB)

Dear Rene,

Thanks very much for your help. It works very well.

John