# Documentation on bitmap for RDataFrame Snapshot with variations

**URL:** <https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397>\
**Category:** ROOT\
**Tags:** rdataframe, documentation\
**Created:** [November 12, 2025, 12:48pm UTC](https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397 "2025-11-12T12:48:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcoelhob](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/ce73a5/32.png) [@rcoelhob](https://root-forum.cern.ch/u/rcoelhob)\
**Post date:** [November 12, 2025, 12:48pm UTC](https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397/1 "2025-11-12T12:48:31Z")

</div>

* * *

* * *

Hello all. When saving an RDF Snapshot with variations, there’s a “bitmask for each event, indicating which variations are valid”.

Unfortunately, it’s not really documented anywhere how the bitmask maps to the nominal and the different variations. I think it’d be an important addition to the documentation in case users need to check this manually.

Thank you !

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 12, 2025, 12:53pm UTC](https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397/2 "2025-11-12T12:53:43Z")

</div>

Welcome to the ROOT forum!  
Let’s invite @vpadulan

---

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [November 13, 2025, 9:18am UTC](https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397/3 "2025-11-13T09:18:42Z")

</div>

Hello,

you are right! It wasn’t documented in detail because the feature is still experimental, but that shouldn’t stop us from writing down how it works currently.

Some more details are already in the works:

> <https://github.com/root-project/root/pull/20402>
>
> Motivated by https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe…-snapshot-with-variations/64397

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [November 13, 2025, 6:22pm UTC](https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397/4 "2025-11-13T18:22:24Z")

</div>

Dear @rcoelhob ,

Could you let us know if you find the updated documentation good enough? Ideally, by commenting directly in the linked PR [Add more docs to the Snapshot with variations section by vepadulano · Pull Request #20402 · root-project/root · GitHub](https://github.com/root-project/root/pull/20402) .

Thank you!

Vincenzo

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 27, 2025, 6:22pm UTC](https://root-forum.cern.ch/t/documentation-on-bitmap-for-rdataframe-snapshot-with-variations/64397/5 "2025-11-27T18:22:58Z")

</div>

Closed on November 27, 2025, 6:22pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
