Coder Social home page Coder Social logo

jsmallcombe / jrootanalysistools Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 9.86 MB

Data analysis tools for ROOT 6

License: GNU General Public License v3.0

Makefile 0.17% C 48.28% Shell 0.18% C++ 51.37%
physics nuclear-physics root-cern spectroscopy analysis gamma-spectroscopy gamma-ray-spectrometry gui

jrootanalysistools's People

Contributors

jsmallcombe avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jrootanalysistools's Issues

Errors in fits

This isn't necessarily an issue but might a misunderstanding on how the errors are propagated.

When I fit from the fit panel using a 0th order background the errors are roughly the square root of the area which makes sense to me. However, when I use a higher order background or the step function, the errors seem really high. In some cases 50-100 times the error that I have obtained using TPeakFitter or other fitting means in the past which also included various background fits.

can you direct me to how these errors are created so I can investigate?

X11 Window stuck on macOS Monterey

Hi,

I am running jRootAnalysisTools on a Ubuntu virtual machine on my macbook.

When I open a new jEnv the resultant window gets stuck behind the mac top toolbar and I cannot access many of the tools. Has anyone seen this before? I suspect it's an issue with X11 or the like.

I can move the popout to another monitor but it gets stuck in the same place, just on the new monitor.

Screen Shot 2022-08-04 at 11 09 06 AM (2)

OS: macOS Monterey 12.5
VM OS: Ubuntu 20.04.2 LTS

Installing on MacOS Sonoma 14.2.1

Hi,

I am trying to install jRootAnalysisTools in MacOS Sonoma but am facing issues during the make step.

I have just installed a clean version of ROOT (6.30/02 ) based on the instructions from here https://root.cern/install/. I did compile ROOT with the arguments cmake -DCMAKE_INSTALL_PREFIX=../root_install ../root_src -Dbuiltin_glew=ON. It was installed successfully. After that, I installed the jRootAnalysisTools v3.0 from https://github.com/jsmallcombe/jRootAnalysisTools/releases/tag/v3.0.

When I tried to compile jRootAnalysisTools I got this error

src/j_gating_frame.cpp:381:14: error: call to member function 'SetPointerPosition' is ambiguous
                fHslider1->SetPointerPosition(target_bin);

Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Fit Centroid Uncertainty

Hello,
I need to record the uncertainties of my centriod values after fitting. I see a sigma value of the peak is given. I assume that is FWHM/2.35 (please confirm if it is right). In front of centroid values, I see the errors are given. Are those errors the centroid uncertainties? these error values look a bit smaller that what I expect.
I would appreciate any comments on this issue.
jRoot

Trouble installing jRootAnalysisTool

I am tryng to install the jRoot tool but when I try and use "make" I get an error as follows:

src/j_env.cpp: In constructor ‘jEnv::jEnv()’:
src/j_env.cpp:158:5: error: ‘gVirtualX’ was not declared in this scope
158 | gVirtualX->TranslateCoordinates(GetId(),GetParent()->GetId(),0,0,fPixOffX,fPixOffY,wdummy);
| ^~~~~~~~~
src/j_env.cpp: In member function ‘void jEnv::ShowDir()’:
src/j_env.cpp:401:5: error: ‘gVirtualX’ was not declared in this scope
401 | gVirtualX->TranslateCoordinates(GetId(),GetParent()->GetId(),0,0,x,y,wdummy);
| ^~~~~~~~~
src/j_env.cpp: In member function ‘void jEnv::HideDir()’:
src/j_env.cpp:417:5: error: ‘gVirtualX’ was not declared in this scope
417 | gVirtualX->TranslateCoordinates(GetId(),GetParent()->GetId(),0,0,x,y,wdummy);
| ^~~~~~~~~
make: *** [Makefile:45: bin/build/j_env.o] Error 1

I have Root 26.8 and I do source the thisis.sh file before using make but it still gives me an error regarding gVirtualX.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.