Hello,
Currently, I am creating a TEfficiency histogram using the constructor TEfficiency(const TH1 &passed, const TH1 &total) with TH1F histograms as arguments.
This gets me the efficiency results I’m expecting, however, I also wish to create the “inverse efficiency”: where each bin content is 1-itself.
For example, if in a bin the efficiency was 0.15, then in the new TEfficiency I wish to make, the bin should have 0.85 efficiency.
What is the best way to go about this? Can I somehow iterate over all bins of a TEfficiency, and modify the content of each bin, or is there a possible built-in function that does exactly this and I’m missing it?
Thank you