# Newbie

**URL:** https://root-forum.cern.ch/c/newbie/26.md?page=14

[Latest](https://root-forum.cern.ch/latest.md) · [Categories](https://root-forum.cern.ch/categories.md) · [Tags](https://root-forum.cern.ch/tags.md)

**Page:** 15

---

## [How to make visible a single point on a 3d surface plot](https://root-forum.cern.ch/t/how-to-make-visible-a-single-point-on-a-3d-surface-plot/59608)

<div class="topic-metadata">

**Author:** [@Lukas\_Peron](https://root-forum.cern.ch/u/Lukas_Peron)\
**Replies:** 3\
**Last updated:** [June 11, 2024, 7:05am UTC](https://root-forum.cern.ch/t/how-to-make-visible-a-single-point-on-a-3d-surface-plot/59608 "2024-06-11T07:05:06Z")

</div>

Hi everyone. Is it possible to add a specific point to a 3d plot so its clearly visible like this example (done with python) ? I’d like to add the minimum found by a gradient descent algorithm for a function and make…

---

## [Newbie to ROOT and some genreal questions](https://root-forum.cern.ch/t/newbie-to-root-and-some-genreal-questions/59597)

<div class="topic-metadata">

**Author:** [@Diptendu\_pal](https://root-forum.cern.ch/u/Diptendu_pal)\
**Replies:** 3\
**Last updated:** [June 10, 2024, 11:39pm UTC](https://root-forum.cern.ch/t/newbie-to-root-and-some-genreal-questions/59597 "2024-06-10T23:39:42Z")

</div>

Hello I am a Computer Science student and i am pursuing a project of data analysis, since I’m quite familiar with C++ due to my course I am interested in learning ROOT framework for this project can someone answer my fol…

---

## [SetTitleOffset for histogram titles](https://root-forum.cern.ch/t/settitleoffset-for-histogram-titles/59553)

<div class="topic-metadata">

**Author:** [@gorsedh](https://root-forum.cern.ch/u/gorsedh)\
**Replies:** 5\
**Last updated:** [June 7, 2024, 1:50pm UTC](https://root-forum.cern.ch/t/settitleoffset-for-histogram-titles/59553 "2024-06-07T13:50:25Z")

</div>

Hello, I have a canvas divided in 9 and i have 9 histograms to put inside. I’m having some issues in drawing some titles because they hit the pads with histograms inside. Is there a way to an offset? Possibly without …

---

## [Jet parameters](https://root-forum.cern.ch/t/jet-parameters/58052)

<div class="topic-metadata">

**Author:** [@Owaise\_Ahmed](https://root-forum.cern.ch/u/Owaise_Ahmed)\
**Replies:** 4\
**Last updated:** [June 4, 2024, 6:27am UTC](https://root-forum.cern.ch/t/jet-parameters/58052 "2024-06-04T06:27:20Z")

</div>

Hey everyone, i generated a root file using Delphes, of the event gg2h. In root file there is a branch named \*Br 292 :Jet.Mass : Float\_t Mass\[Jet\_\] I would like to know what information does it contain. Is it …

---

## [How to generate a dictionary of std::vector\<TVector3\> when compiling my code](https://root-forum.cern.ch/t/how-to-generate-a-dictionary-of-std-vector-tvector3-when-compiling-my-code/59502)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 12\
**Last updated:** [June 3, 2024, 6:24pm UTC](https://root-forum.cern.ch/t/how-to-generate-a-dictionary-of-std-vector-tvector3-when-compiling-my-code/59502 "2024-06-03T18:24:19Z")

</div>

Dear experts I was trying to extract some TTree branch contains std::vector\<TVector3\> type values, I know I can write a macro and add a line: #pragma link C++ class std::vector\<TVector3\>+; and do something like: root ma…

---

## [\[ERROR\] Socket timeout](https://root-forum.cern.ch/t/error-socket-timeout/59515)

<div class="topic-metadata">

**Author:** [@beg1nner](https://root-forum.cern.ch/u/beg1nner)\
**Replies:** 6\
**Last updated:** [June 3, 2024, 7:59am UTC](https://root-forum.cern.ch/t/error-socket-timeout/59515 "2024-06-03T07:59:03Z")

</div>

Dear experts, I am running into an issue while trying to run over specific dataset. The error is following: Error in \<TNetXNGFile::ReadBuffers\>: \[ERROR\] Socket timeout Error in \<TBranch::GetBasket\>: File: root://xrootd…

---

## [Root file crashing root when opened](https://root-forum.cern.ch/t/root-file-crashing-root-when-opened/59503)

<div class="topic-metadata">

**Author:** [@Davide\_La\_Rosa](https://root-forum.cern.ch/u/Davide_La_Rosa)\
**Replies:** 21\
**Last updated:** [May 30, 2024, 8:39pm UTC](https://root-forum.cern.ch/t/root-file-crashing-root-when-opened/59503 "2024-05-30T20:39:34Z")

</div>

ROOT Version: 6.30.06 Platform: Windows 10 Hello. When I open a root file from the object browser I encounter a crash. Can you help me with the issue?

---

## [TGenPhaseSpace decay: why outcome depends on the order of Lorentzvectors defined](https://root-forum.cern.ch/t/tgenphasespace-decay-why-outcome-depends-on-the-order-of-lorentzvectors-defined/59492)

<div class="topic-metadata">

**Author:** [@santuroot](https://root-forum.cern.ch/u/santuroot)\
**Replies:** 3\
**Last updated:** [May 29, 2024, 2:06pm UTC](https://root-forum.cern.ch/t/tgenphasespace-decay-why-outcome-depends-on-the-order-of-lorentzvectors-defined/59492 "2024-05-29T14:06:04Z")

</div>

I am using the class TGenPhaseSpace for a 3 body decay of 7Li. Here the energy spectra obtained for decay particles should not depend on the order at which I am defining the corresponding Lorentzvectors. However, I am se…

---

## [Error during running of code](https://root-forum.cern.ch/t/error-during-running-of-code/59412)

<div class="topic-metadata">

**Author:** [@poojatanty](https://root-forum.cern.ch/u/poojatanty)\
**Replies:** 3\
**Last updated:** [May 28, 2024, 3:00pm UTC](https://root-forum.cern.ch/t/error-during-running-of-code/59412 "2024-05-28T15:00:07Z")

</div>

=========================================================== There was a crash. This is the entire stack trace of all threads: #0 0x00007ff94a87260c in waitpid () from /lib64/libc.so.6 #1 0x00007ff94a7eff62 in do\_sys…

---

## [Root installation issue](https://root-forum.cern.ch/t/root-installation-issue/59369)

<div class="topic-metadata">

**Author:** [@redlios](https://root-forum.cern.ch/u/redlios)\
**Replies:** 18\
**Last updated:** [May 28, 2024, 6:50am UTC](https://root-forum.cern.ch/t/root-installation-issue/59369 "2024-05-28T06:50:33Z")

</div>

ROOT Version: root\_v6.30.06 Platform: Windows Compiler: Visual Studio Code I completed all of the steps to download all of the dependencies and then downloaded the latest version of root. Updated the environment vari…

---

## [Root Installation (WINDOWS 11)](https://root-forum.cern.ch/t/root-installation-windows-11/59421)

<div class="topic-metadata">

**Author:** [@UTSA\_DASTIDAR](https://root-forum.cern.ch/u/UTSA_DASTIDAR)\
**Replies:** 31\
**Last updated:** [May 28, 2024, 6:23am UTC](https://root-forum.cern.ch/t/root-installation-windows-11/59421 "2024-05-28T06:23:12Z")

</div>

I want to use PyRoot for my M.Sc. Project in High Energy Physics. I have installed cmake in my D drive and extracted the file contents into a folder named ROOT in the D drive. I have installed Visual Studio 2022. and I h…

---

## [Issues with starting root](https://root-forum.cern.ch/t/issues-with-starting-root/59485)

<div class="topic-metadata">

**Author:** [@Davide\_La\_Rosa](https://root-forum.cern.ch/u/Davide_La_Rosa)\
**Replies:** 5\
**Last updated:** [May 27, 2024, 10:19pm UTC](https://root-forum.cern.ch/t/issues-with-starting-root/59485 "2024-05-27T22:19:22Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.30.06 x64 Platform: Windows 10 Compiler: Not Provided Hello, I’ve downloaded root from the .exe file provided in the root websi…

---

## [Failed to execute multi-line commands at the ROOT prompt](https://root-forum.cern.ch/t/failed-to-execute-multi-line-commands-at-the-root-prompt/59477)

<div class="topic-metadata">

**Author:** [@Closedbook](https://root-forum.cern.ch/u/Closedbook)\
**Replies:** 3\
**Last updated:** [May 27, 2024, 11:31am UTC](https://root-forum.cern.ch/t/failed-to-execute-multi-line-commands-at-the-root-prompt/59477 "2024-05-27T11:31:34Z")

</div>

Well, I learnd root by " First steps with ROOT" in Manaul. When I try the example like this: root \[0\] { root \[1\] int j = 0; root \[2\] for (int i = 0; i \< 3; i++) root \[3\] { root \[4\] j = j + i; root \[5\] std:…

---

## [How do I print the data to a text file from the output tree?](https://root-forum.cern.ch/t/how-do-i-print-the-data-to-a-text-file-from-the-output-tree/59462)

<div class="topic-metadata">

**Author:** [@Yoongi\_Min](https://root-forum.cern.ch/u/Yoongi_Min)\
**Replies:** 3\
**Last updated:** [May 25, 2024, 2:26pm UTC](https://root-forum.cern.ch/t/how-do-i-print-the-data-to-a-text-file-from-the-output-tree/59462 "2024-05-25T14:26:24Z")

</div>

Hello, I need help. I need to print out a txt file with the values X Y Z Plane Bar Position Time. The data is taken from the output tree. Each event’s time of flight will have a start and end point with coordinates (X Y…

---

## [Seg Violation when filling TH3D](https://root-forum.cern.ch/t/seg-violation-when-filling-th3d/59454)

<div class="topic-metadata">

**Author:** [@LiamSchmidt](https://root-forum.cern.ch/u/LiamSchmidt)\
**Replies:** 3\
**Last updated:** [May 24, 2024, 2:47pm UTC](https://root-forum.cern.ch/t/seg-violation-when-filling-th3d/59454 "2024-05-24T14:47:15Z")

</div>

Im trying to fill a TH3D histogram but it keep segfaulting. Any ideas? it seems the error is coming from libHist.so.26. I tried any of the filling, addbincontent commands, nothing works ROOT Version: 6.28.10 Ubuntu 22…

---

## [Plot multiple histograms with a loop for](https://root-forum.cern.ch/t/plot-multiple-histograms-with-a-loop-for/59425)

<div class="topic-metadata">

**Author:** [@flo\_flo](https://root-forum.cern.ch/u/flo_flo)\
**Replies:** 23\
**Last updated:** [May 24, 2024, 12:22pm UTC](https://root-forum.cern.ch/t/plot-multiple-histograms-with-a-loop-for/59425 "2024-05-24T12:22:50Z")

</div>

Hello everybody. I’m a beginner with ROOT and I can’t do what my internship supervisor asks me. I have several root files each containing a tree. I perform a loop on these files in order to draw two different graphs (one…

---

## [SetMarkerStyle in TH2F with new ROOT version](https://root-forum.cern.ch/t/setmarkerstyle-in-th2f-with-new-root-version/59430)

<div class="topic-metadata">

**Author:** [@ktali](https://root-forum.cern.ch/u/ktali)\
**Replies:** 6\
**Last updated:** [May 22, 2024, 12:45pm UTC](https://root-forum.cern.ch/t/setmarkerstyle-in-th2f-with-new-root-version/59430 "2024-05-22T12:45:21Z")

</div>

Hello experts, I had recently needed to change the root version from ROOT 6.24/08 to ROOT 6.30/06. Since then, the old script I had to draw a 2D histogram and apply on it the SetMarkerStyle or SetMarkerColor, is not wo…

---

## [Manipulation of root files returned by a SecondaryProduction actor](https://root-forum.cern.ch/t/manipulation-of-root-files-returned-by-a-secondaryproduction-actor/59428)

<div class="topic-metadata">

**Author:** [@SarahBlind](https://root-forum.cern.ch/u/SarahBlind)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 10:08am UTC](https://root-forum.cern.ch/t/manipulation-of-root-files-returned-by-a-secondaryproduction-actor/59428 "2024-05-22T10:08:07Z")

</div>

Dear Root users, I am using GATE (an open source software dedicated to digital simulations in medical imaging and radiotherapy) to analyze the secondary particles produced after an X-rays irradiation simulation. I use …

---

## [Filling a TH1D with diffenrces between two ULong64\_t numbers?](https://root-forum.cern.ch/t/filling-a-th1d-with-diffenrces-between-two-ulong64-t-numbers/59294)

<div class="topic-metadata">

**Author:** [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Replies:** 3\
**Last updated:** [May 21, 2024, 10:09am UTC](https://root-forum.cern.ch/t/filling-a-th1d-with-diffenrces-between-two-ulong64-t-numbers/59294 "2024-05-21T10:09:08Z")

</div>

Hi all, I am dealing with ULong64\_t for the first time so have little ideas how do they work, and have the following problem at hand. I have two timestamps ULong64\_t t1 = 439742383004780 ; ULong64\_t t2 = 439742383004…

---

## [Error: TBrowser cannot run in batch mode](https://root-forum.cern.ch/t/error-tbrowser-cannot-run-in-batch-mode/59409)

<div class="topic-metadata">

**Author:** [@paulan](https://root-forum.cern.ch/u/paulan)\
**Replies:** 1\
**Last updated:** [May 20, 2024, 8:38am UTC](https://root-forum.cern.ch/t/error-tbrowser-cannot-run-in-batch-mode/59409 "2024-05-20T08:38:23Z")

</div>

Hello, I am trying to run TBrowser on lxplus but I keep getting the error that TBrowser cannot run in batch mode. I have tried ssh -X and ssh -Y too, but it still shows me the same error. Could someone have an idea why i…

---

## [Executing a macro from my external hard drive](https://root-forum.cern.ch/t/executing-a-macro-from-my-external-hard-drive/59297)

<div class="topic-metadata">

**Author:** [@lum\_totzin](https://root-forum.cern.ch/u/lum_totzin)\
**Replies:** 7\
**Last updated:** [May 19, 2024, 8:05pm UTC](https://root-forum.cern.ch/t/executing-a-macro-from-my-external-hard-drive/59297 "2024-05-19T20:05:31Z")

</div>

Please read tips for efficient and successful posting and posting code ROOT Version: 6.30/04 Platform: Ubuntu 22.04.3 Compiler: Not Provided I am trying to execute macro from that data I stored in an external hard …

---

## [Finding number of tracks](https://root-forum.cern.ch/t/finding-number-of-tracks/59386)

<div class="topic-metadata">

**Author:** [@Saurav](https://root-forum.cern.ch/u/Saurav)\
**Replies:** 2\
**Last updated:** [May 19, 2024, 6:31pm UTC](https://root-forum.cern.ch/t/finding-number-of-tracks/59386 "2024-05-19T18:31:49Z")

</div>

Hi, I have 2D histogram that gives me a idea of a spill in the x-z plane in a detector, how to I find the number of tracks from that histogram.

---

## [Error with root installation](https://root-forum.cern.ch/t/error-with-root-installation/59390)

<div class="topic-metadata">

**Author:** [@calisse](https://root-forum.cern.ch/u/calisse)\
**Replies:** 3\
**Last updated:** [May 19, 2024, 2:01pm UTC](https://root-forum.cern.ch/t/error-with-root-installation/59390 "2024-05-19T14:01:06Z")

</div>

Hi, i installed root today on my new pc with fedora 40 and passed to the new pc from the old one all the codes. Whenever i try fitting something, it returns this error: “Warning in ROOT::Math::FitConfig::CreateMinimize…

---

## [Downloading ROOT v6.30.06 on Windows 10 Pro](https://root-forum.cern.ch/t/downloading-root-v6-30-06-on-windows-10-pro/59360)

<div class="topic-metadata">

**Author:** [@sadubey](https://root-forum.cern.ch/u/sadubey)\
**Replies:** 4\
**Last updated:** [May 16, 2024, 12:41pm UTC](https://root-forum.cern.ch/t/downloading-root-v6-30-06-on-windows-10-pro/59360 "2024-05-16T12:41:14Z")

</div>

ROOT Version: 6.30.06 Platform: Windows 10 Pro Compiler: Not Provided I tried to download ROOT using the exe file for windows. When I try to run it I get the following error message: Assertion failed: !(isOverridden…

---

## [Filling histograms after a a regular time interval](https://root-forum.cern.ch/t/filling-histograms-after-a-a-regular-time-interval/59351)

<div class="topic-metadata">

**Author:** [@Rana](https://root-forum.cern.ch/u/Rana)\
**Replies:** 1\
**Last updated:** [May 15, 2024, 8:37pm UTC](https://root-forum.cern.ch/t/filling-histograms-after-a-a-regular-time-interval/59351 "2024-05-15T20:37:46Z")

</div>

Hello Experts, I wanted to know how should I fill in a 1D histogram for nhits after an interval of 1.2e9 secs. I am attaching the block of code for your ref along with the terminal result, What I am trying to do now is …

---

## [How to store the entries and plot for different time values using for lop](https://root-forum.cern.ch/t/how-to-store-the-entries-and-plot-for-different-time-values-using-for-lop/59299)

<div class="topic-metadata">

**Author:** [@Rana](https://root-forum.cern.ch/u/Rana)\
**Replies:** 6\
**Last updated:** [May 15, 2024, 7:34pm UTC](https://root-forum.cern.ch/t/how-to-store-the-entries-and-plot-for-different-time-values-using-for-lop/59299 "2024-05-15T19:34:36Z")

</div>

Dear All, I am trying to loop over time and store the value of entries after every time interval of 1.2e9 secs, and plot for beam run after every 1.2e9 secs, however what I am getting is a cumulative plot for all the en…

---

## [ROOT C++ in Windows](https://root-forum.cern.ch/t/root-c-in-windows/59332)

<div class="topic-metadata">

**Author:** [@A\_P\_abhisek](https://root-forum.cern.ch/u/A_P_abhisek)\
**Replies:** 44\
**Last updated:** [May 14, 2024, 1:40pm UTC](https://root-forum.cern.ch/t/root-c-in-windows/59332 "2024-05-14T13:40:47Z")

</div>

I want to run cern root in windows without using wsl or virtual box, I want to use it using visual studio code.

---

## [Why is my histogram changing when I fill my other Branch](https://root-forum.cern.ch/t/why-is-my-histogram-changing-when-i-fill-my-other-branch/59321)

<div class="topic-metadata">

**Author:** [@KillianUB](https://root-forum.cern.ch/u/KillianUB)\
**Replies:** 6\
**Last updated:** [May 14, 2024, 9:12am UTC](https://root-forum.cern.ch/t/why-is-my-histogram-changing-when-i-fill-my-other-branch/59321 "2024-05-14T09:12:57Z")

</div>

Hello, I’m trying to transfer an hist from a tree to an other tree, but when I transfer it, it doesn’t transfer like i would like it to do. Here’s my code ; ROOT::RDataFrame df{"Analysis\_All", "RAW148OS\_treeFF01.root"}…

---

## [Upgrading to a new root version alongside original?](https://root-forum.cern.ch/t/upgrading-to-a-new-root-version-alongside-original/59327)

<div class="topic-metadata">

**Author:** [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 9:29am UTC](https://root-forum.cern.ch/t/upgrading-to-a-new-root-version-alongside-original/59327 "2024-05-14T09:29:21Z")

</div>

Hi all, I am trying to update to a new ROOT version from 6.24.04, which was built from the source. 1.) Is it possible to have the new version installed alongside the old version? Even better if it is possible to instal…

---

## [Getting 'malloc' error while making a TH3 from TTrees?](https://root-forum.cern.ch/t/getting-malloc-error-while-making-a-th3-from-ttrees/59326)

<div class="topic-metadata">

**Author:** [@utkarsh-2000](https://root-forum.cern.ch/u/utkarsh-2000)\
**Replies:** 8\
**Last updated:** [May 14, 2024, 9:04am UTC](https://root-forum.cern.ch/t/getting-malloc-error-while-making-a-th3-from-ttrees/59326 "2024-05-14T09:04:48Z")

</div>

Hi all, I was trying to make a TH3 histogram by filling data from a set of TTrees. The TTrees are being read from 295 different root files. At the end of reading all 295 files, I am getting this error; for 10 files, it…

[Previous page](https://root-forum.cern.ch/c/newbie/26.md?page=13)

[Next page](https://root-forum.cern.ch/c/newbie/26.md?page=15)
