Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RooWorkspace.factory() parse dependence on LC_NUMERIC settings #17797

Open
1 task
anigamova opened this issue Feb 21, 2025 · 0 comments
Open
1 task

RooWorkspace.factory() parse dependence on LC_NUMERIC settings #17797

anigamova opened this issue Feb 21, 2025 · 0 comments

Comments

@anigamova
Copy link

anigamova commented Feb 21, 2025

Check duplicate issues.

  • Checked for duplicates

Description

Combine users with CMSSW installation at DESY noticed a dependence on LC_NUMERIC settings. The variables created with RooWorkspace.factory() if LC_NUMERIC='de_DE.UTF-8' get rounded to int, see the details below

Reproducer

export LC_NUMERIC='de_DE.UTF-8'

Python 3.9.14 (main, May  3 2024, 09:33:06) 
[GCC 12.3.1 20230527] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
>>> 
>>> ws = ROOT.RooWorkspace("ws")
>>> ws.factory("x[3.33,0,5]")
<cppyy.gbl.RooRealVar object at 0x4daec80>
>>> ws.Print()

RooWorkspace(ws) ws contents

variables
---------
(x)

>>> ws.var("x").Print()
RooRealVar::x = 3  L(0 - 5) 

ROOT version

6.30/07

Installation method

combine CMSSW installation https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/latest/#combine-v10-recommended-version

Operating system

el9_amd64_gcc12

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants