# Event count

**URL:** <https://root-forum.cern.ch/t/event-count/58082>\
**Category:** Newbie\
**Created:** [February 7, 2024, 3:18am UTC](https://root-forum.cern.ch/t/event-count/58082 "2024-02-07T03:18:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex14](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@alex14](https://root-forum.cern.ch/u/alex14)\
**Post date:** [February 7, 2024, 3:18am UTC](https://root-forum.cern.ch/t/event-count/58082/1 "2024-02-07T03:18:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [February 7, 2024, 4:51am UTC](https://root-forum.cern.ch/t/event-count/58082/2 "2024-02-07T04:51:01Z")

</div>

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
