# Plot of drift velocity in gasses

**URL:** <https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630>\
**Category:** Garfield++\
**Tags:** hist\
**Created:** [September 12, 2018, 6:02am UTC](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630 "2018-09-12T06:02:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![1119](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/1119/32/17070_2.png) [@1119](https://root-forum.cern.ch/u/1119)\
**Post date:** [September 12, 2018, 6:02am UTC](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630/1 "2018-09-12T06:02:42Z")

</div>

* * *

_ROOT Version:_ Not Provided  
_Platform:_ Not Provided  
_Compiler:_ Not Provided

* * *

i have gas files that i get from garfieldpp for different gas mixtures. now i want to make a plot for gas proprties( drift velocity, diffusion coefficients…etc) against electric field in ROOT. how to do this?

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [September 12, 2018, 6:21am UTC](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630/2 "2018-09-12T06:21:13Z")

</div>

Hi,

I think reading the content of the files and filling histograms according to the objectives of your study is a start.  
[http://www.cplusplus.com/doc/tutorial/files/](http://www.cplusplus.com/doc/tutorial/files/)  
[https://root.cern/doc/master/classTH1.html#a77e71290a82517d317ea8d05e96b6c4a](https://root.cern/doc/master/classTH1.html#a77e71290a82517d317ea8d05e96b6c4a)

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![1119](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/1119/32/17070_2.png) [@1119](https://root-forum.cern.ch/u/1119)\
**Post date:** [September 12, 2018, 8:36am UTC](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630/3 "2018-09-12T08:36:58Z")

</div>

Thanks a lot…that will be very helpful.

---

<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:** [September 26, 2018, 8:37am UTC](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630/4 "2018-09-26T08:37:05Z")

</div>

Closed on September 26, 2018, 8:37am UTC

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