I am setting up a PC running Ubuntu 20.04.3 with a touchscreen and no keyboard/mouse. Due to this, I am putting desktop icons that will run the softwa ...
I am setting up a PC running Ubuntu 20.04.3 with a touchscreen and no keyboard/mouse. Due to this, I am putting desktop icons that will run the softwa ...
I am trying to limit my x-axis in my pyROOT code. Right now the x-axis is way too long and makes the waveform that I am plotting look too thin. I need ...
I am attempting to merge three ntuples (just an example but there are more) stored in a directory that are labeled as the following: To do this I a ...
I am starting to work with PyROOT, and so i was studding the following example: https://root.cern.ch/doc/master/pyroot_2fillrandom_8py.html At ...
I'm trying to thread my code for better performance, using the multiprocessing library's Process module. The skeleton of code is to create dictionari ...
I am trying to generate 1000 values with landau distribution with an MPV(most probable value) of 25, can't find a landau random number generator in sc ...
I want to use pyROOT in a virtualenv, I have ROOT installed on my system, when outside the virtualenv I can do import ROOT and it works, but inside a ...
I'm trying to run analysis strictly in Python using upROOT, but I'm finding (unsurprisingly) that I have to build a lot of tools that are already in R ...
I was looking to optimize a simple given code that generates a random number ([0,1,2]) that is not in a given list. The random number generator is TRa ...
I’m stuck with a problem using Pyroot. I’m not able to read a leaf on a tree which is a two dimensional array of float values. You can see the related ...
I am using PyROOT to try to loop over the files in a folder, get a specific histogram which is present in all the files (two in a minimal test) and dr ...
I'm trying to store histograms in an array full of nested arrays that are created in multiple for a loop. The error that I am getting is that: 'TH1F' ...
I am trying to create a tree with branches in root through python. I have a .root file and I am trying to create branches that are the variables (or d ...
I am getting an error about TypeError: 'staticmethod' object is not callable. Basically, you the input is a map of and given that you provide a pair o ...
I am reading many (say 1k) CERN ROOT files using a loop and storing some data into a nested NumPy array. The use of loops makes it serial task and eac ...
I am doing neutrino research that requires me to do data analysis by overlaying histograms. We are using ROOT. I am currently trying to convert the ...
I am a 10.13.4 Mac user and I have ROOT 6.14.00 installed from running the dmg file downloaded from https://root.cern.ch/content/release-61400. I then ...
My pyROOT analysis code is using huge amounts of memory. I have reduced the problem to the example code below: where someFile.root is a root file w ...
I have a pyROOT script where I use TChain::AddFriend to combine two TTrees: When I run this I get: With the last line commented-out it runs fine ...