# ASK help for searching ROOT sources?

**URL:** <https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162>\
**Category:** Newbie\
**Created:** [March 14, 2022, 3:03am UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162 "2022-03-14T03:03:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KUN](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@KUN](https://root-forum.cern.ch/u/KUN)\
**Post date:** [March 14, 2022, 3:03am UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/1 "2022-03-14T03:03:34Z")

</div>

Sorry to bother you, I am a graduate student and I am looking for information about ROOT for research. The manual on the official website is very complete. I have studied it in general. The manual explains how to use it in detail, but the information I am looking for is like, What types does ROOT support(int ,float)? I want to compare with HDF5 . Is there any teacher who has done a survey and can send some reference documents? Thank you very much

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [March 14, 2022, 5:09am UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/2 "2022-03-14T05:09:54Z")

</div>

[https://root.cern/doc/master/RtypesCore\_8h.html](https://root.cern/doc/master/RtypesCore_8h.html)

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 14, 2022, 8:53am UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/3 "2022-03-14T08:53:29Z")

</div>

Apart from [ROOT’s built-in typedefs](https://root.cern/doc/master/RtypesCore_8h.html), you can use (almost?) any C/C++ type you want (including your own classes).

---

<div class="post-metadata">

**Author:** ![Eddy\_Offermann](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eddy_offermann/32/25079_2.png) [@Eddy\_Offermann](https://root-forum.cern.ch/u/Eddy_Offermann)\
**Post date:** [March 14, 2022, 8:46pm UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/4 "2022-03-14T20:46:27Z")

</div>

Comparing data storage formats: [ShieldSquare Captcha](https://iopscience.iop.org/article/10.1088/1742-6596/1085/3/032020/pdf)

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [March 15, 2022, 8:48am UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/5 "2022-03-15T08:48:36Z")

</div>

Also of note might be a recent comparison of RNTuple (“TTree v2.0”) and other data formats that was performed as part of [ACAT 2021 (29 November 2021 - 3 December 2021): RNTuple Performance: Status and Outlook · Indico](https://indico.cern.ch/event/855454/contributions/4596512) (presented more in depth at [121st ROOT Parallelism, Performance and Programming Model Meeting (17 February 2022) · Indico](https://indico.cern.ch/event/1129838/) ).

For writing your own C++ classes with ROOT, see [I/O of custom classes - ROOT](https://root.cern/manual/io_custom_classes) and [Trees - ROOT](https://root.cern/manual/trees) .

I hope this helps!  
Enrico

P.S.  
the benchmarks that compare RNTuple and HDF5 are open source, @jalopezg can probably give further details if needed.

---

<div class="post-metadata">

**Author:** ![jalopezg](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jalopezg/32/25844_2.png) [@jalopezg](https://root-forum.cern.ch/u/jalopezg)\
**Post date:** [March 15, 2022, 11:42am UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/6 "2022-03-15T11:42:33Z")

</div>

Thanks for referencing, @eguiraud! FYI, @jblomer.

@KUN You can find the benchmarks here [iotools/compare at ACAT21 · jalopezg-r00t/iotools · GitHub](https://github.com/jalopezg-r00t/iotools/tree/ACAT21/compare).

HDF5 benchmarks rely on an internal C++ header-only library that decouples the data schema from its low-level representation; this way we can try different layouts without modifying the benchmark code. A PR is open to integrate this into `rootbench`; see [Import header-only library to read/write simple HEP data in HDF5 by jalopezg-r00t · Pull Request #251 · root-project/rootbench · GitHub](https://github.com/root-project/rootbench/pull/251).

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [March 15, 2022, 2:08pm UTC](https://root-forum.cern.ch/t/ask-help-for-searching-root-sources/49162/7 "2022-03-15T14:08:09Z")

</div>

You can also open a ROOT terminal and write:  
`.typedef`

It will show you all available types.
