Signal and background from the output MVA

My idea was made a figure of merit with that output, but now I do not know If that is possible.

Now If I can’t do the first idea, I want to ask how to do manually the figure of merit, like they said in the part of changing the metric

“(by using the Application interface to get the raw output values and calculating your metric from there).”
I’m confused with this part