# Reading events from a TFile that is being written

**URL:** <https://root-forum.cern.ch/t/reading-events-from-a-tfile-that-is-being-written/42241>\
**Category:** Newbie\
**Created:** [November 11, 2020, 4:54pm UTC](https://root-forum.cern.ch/t/reading-events-from-a-tfile-that-is-being-written/42241 "2020-11-11T16:54:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [November 11, 2020, 6:56pm UTC](https://root-forum.cern.ch/t/reading-events-from-a-tfile-that-is-being-written/42241/2 "2020-11-11T18:56:05Z")

</div>

See an working example at: [Read histogram from TFile while actively writing to it (with example)](https://root-forum.cern.ch/t/read-histogram-from-tfile-while-actively-writing-to-it-with-example/28273/12) (please also note the surrounding discussions)

---

_[View the full topic](https://root-forum.cern.ch/t/reading-events-from-a-tfile-that-is-being-written/42241)._
