Dear Experts,
I want to measure the reconstruction efficiency vs PT .
I want to divide ple_PT(reconstructed)/ple_TRUEPT(generated), without projecting them in a histogram.
Instead of h1->Divide(h2) where h1, and h2 are hists of ple_PT and
ple_TRUEPT. I want to do :
tree->Project(“h”,“ple_PT/ple_TRUEPT”,"","")
where ple_PT is from tree A
and ple_TRUEPT is from tree B
and the 2 trees don’t have the same nbr of events
this is because I want to avoid the bin migration when I do h1->Divide(h2) I don’t get the correct efficiency. I suspect that maybe ples generated in bin i are reconstructed in bin i+1
Anyone has an idea about what should I do?
Cheers