Event count

Hello, I need help with the histogram normalization - per-event normalization. The thing is, I have several cuts/selections in my event loop, and every time I consider an event in the filling of a TH1D (not every track), I want to count and then normalize the histograms by that count. Could someone please help me with some suggestions on how to do that?

Thanks,
Alex

Hi Alex,

Thanks for the post.
Isn’t just a matter of using the number of entries of the histogram for your normalisation? Please correct me if I am missing something.

Best,
D