# ROOT dictionary for writing ouput TTree with RDataFrame::Snapshot

**URL:** <https://root-forum.cern.ch/t/root-dictionary-for-writing-ouput-ttree-with-rdataframe-snapshot/55917>\
**Category:** ROOT\
**Tags:** python, cmake, root, rdataframe, rootcling\
**Created:** [August 4, 2023, 9:42am UTC](https://root-forum.cern.ch/t/root-dictionary-for-writing-ouput-ttree-with-rdataframe-snapshot/55917 "2023-08-04T09:42:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [August 7, 2023, 1:52pm UTC](https://root-forum.cern.ch/t/root-dictionary-for-writing-ouput-ttree-with-rdataframe-snapshot/55917/4 "2023-08-07T13:52:37Z")

</div>

Hi,  
It seems to me the library contains the symbols but you need also the dictionary for I/O.  
You ned to add the line

```auto
#pragma link C++ class .......

```

as explained here: [Fill Branch from Vector of Vectors - #2 by moneta](https://root-forum.cern.ch/t/fill-branch-from-vector-of-vectors/55906/2)

Lorenzo

---

_[View the full topic](https://root-forum.cern.ch/t/root-dictionary-for-writing-ouput-ttree-with-rdataframe-snapshot/55917)._
