# How to get the data for only one branch

**URL:** <https://root-forum.cern.ch/t/how-to-get-the-data-for-only-one-branch/59240>\
**Category:** Newbie\
**Created:** [May 6, 2024, 2:43pm UTC](https://root-forum.cern.ch/t/how-to-get-the-data-for-only-one-branch/59240 "2024-05-06T14:43:48Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![KillianUB](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/k/46a35a/32.png) [@KillianUB](https://root-forum.cern.ch/u/KillianUB)\
**Post date:** [May 9, 2024, 10:00am UTC](https://root-forum.cern.ch/t/how-to-get-the-data-for-only-one-branch/59240/19 "2024-05-09T10:00:02Z")

</div>

Here is the output;

![image](https://root-forum.cern.ch/uploads/default/original/3X/a/d/ad9afd4ac37b0c10968f4bb82e70512fc92349b1.png)

I tried this at first but it don’t give ME any usefull informations, am I missing somthing ?  
I tried this to ;

```auto
root [15] auto colType = d.GetColumnType("Psd_All_Shift");
root [16] //Print column type
root [17] std::cout << "Column " << colType << " has type " << colType << std::endl;
Column ROOT::VecOps::RVec<UShort_t> has type ROOT::VecOps::RVec<UShort_t>

```

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-get-the-data-for-only-one-branch/59240)._
