# Units of Vx() and Vy() within TParticle class

**URL:** <https://root-forum.cern.ch/t/units-of-vx-and-vy-within-tparticle-class/31571>\
**Category:** Newbie\
**Created:** [November 13, 2018, 1:45pm UTC](https://root-forum.cern.ch/t/units-of-vx-and-vy-within-tparticle-class/31571 "2018-11-13T13:45:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoekMeijers](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@LoekMeijers](https://root-forum.cern.ch/u/LoekMeijers)\
**Post date:** [November 13, 2018, 1:45pm UTC](https://root-forum.cern.ch/t/units-of-vx-and-vy-within-tparticle-class/31571/1 "2018-11-13T13:45:45Z")

</div>

Dear Root users,

Within root’s own Pythia tutorial, I am using the command ‘part-\>Vx();’ and ‘part-\>Vy()’ to get the x and y of the production vertices of particles within the TParticle class. I was wondering if anyone knows what the units are of the numbers being returned by this command. In general: what are the units of distance which are mostly being used within particle physics?

Best regards,

Loek

---

<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:** [November 14, 2018, 4:30pm UTC](https://root-forum.cern.ch/t/units-of-vx-and-vy-within-tparticle-class/31571/2 "2018-11-14T16:30:48Z")

</div>

Hi,

The units are provided by Pythia. These are mm for distances and GeV/c for momentum. See for example  
Particle::xProd() in the Pythia8 documentation, [http://home.thep.lu.se/~torbjorn/pythia81html/Welcome.html](http://home.thep.lu.se/~torbjorn/pythia81html/Welcome.html)

Lorenzo

---

<div class="post-metadata">

**Author:** ![LoekMeijers](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@LoekMeijers](https://root-forum.cern.ch/u/LoekMeijers)\
**Post date:** [November 14, 2018, 6:36pm UTC](https://root-forum.cern.ch/t/units-of-vx-and-vy-within-tparticle-class/31571/3 "2018-11-14T18:36:20Z")

</div>

Hi Lorenzo,

So to conclude, I should have done a better job at searching the internet…  
Thanks for helping me in spite of that.

Loek
