Commit Graph
120 Commits
Author SHA1 Message Date
suter_aandClaude Opus 4.8 1399a75ceb PRun*: use reduction(+:mllh) instead of deprecated reduction(-:mllh)
OpenMP 5.2 deprecates the '-' reduction operator (-Wdeprecated-openmp)
because it is functionally identical to '+': the private reduction copy
is initialised to 0 and partial results are combined by addition in both
cases. All affected loops accumulate with 'mllh += ...', so switching to
reduction(+:mllh) is results-identical and silences the warning.

Fixes the pragma in PRunMuMinus.cpp and the two in PRunSingleHisto.cpp,
and corrects the now-inaccurate "for subtraction" doc comment.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 09:33:14 +02:00
suter_a 7d102a2604 move DeadTimeCorrection to PRunBase. Make ADDRUN part in PrepareData more readable. 2026-03-02 10:46:39 +01:00
suter_a 9a48487220 updated the copyright info. 2026-02-13 13:59:49 +01:00
suter_a ecb6a4e063 fixed a AI glich in the docu. 2025-11-26 18:01:12 +01:00
suter_a 06056db491 improve the doxygen docu of PRunSingleHisto.* 2025-11-26 18:00:58 +01:00
suter_a bb3d53761a added more histo length versus fgb, lgb checks. 2025-07-11 13:17:35 +02:00
suter_a 44821cb8cd updated the copyright info. 2025-01-30 12:00:49 +01:00
suter_a 17339e191d updated copyright info. 2024-02-07 15:29:08 +01:00
suter_a de5763d5cc start adding CSV like data reading routine with the FileFormat label DAT. 2023-02-17 10:01:35 +01:00
suter_a a356534e6a updated the copyright info. 2023-01-05 11:04:42 +01:00
suter_a 19c1875442 fixed a typo. 2022-03-14 10:20:33 +01:00
suter_a 1bdccae1d6 improve the readability of the time with packing in the code. 2021-06-08 07:30:37 +02:00
suter_a 8c604cc02b fix an error number of theory points for the view data. 2021-04-06 14:40:38 +02:00
suter_a a7b540cfdb update of the copyright info. 2021-03-29 08:30:43 +02:00
suter_a 3b5060c061 musrview gets the new feature: calculate theory points only at data points.
Conflicts:
	doc/html/searchindex.js
	doc/html/setup-dks.html
	src/classes/PMusrCanvas.cpp
	src/include/PMusrCanvas.h
	src/musrview.cpp
2020-08-29 11:49:49 +02:00
suter_a 32bac0e197 Functions can now not only operate on parameters and maps but also on meta information
obtained from the data files. Currently the following meta information can be accessed
if available:
field in (G): B or b
energy in (keV): En or en
temperature in (K): since some data files contain a vector of temperature, they have
                    to be accessed with an index, like T0 or t0, etc.
2020-06-18 08:16:43 +02:00
suter_a 8acb5474a9 add field, temperature values from meta-data of the data-files to the runs. This will be needed if functions want to access this information (not yet implemented). 2020-06-18 08:16:28 +02:00
suter_a b6dba8965b update of the copyright info. 2020-04-30 17:46:10 +02:00
suter_a 3797c73aeb first full implementation of the sector command.
Conflicts resolved:
	src/classes/PFitter.cpp
	src/classes/PFitterFcn.cpp
	src/classes/PRunListCollection.cpp
2020-02-04 08:20:30 +01:00
suter_a 1ea877621f adopted to the SECTOR command in combination with DKS. 2020-02-03 10:25:01 +01:00
suter_a c64c74dbf8 modernized code to C++11 and newer.
This allows to analyze the code by external code analyzers. Since a lot is adopted,
the version is changed to 1.4.3

Conflicts:
	src/classes/PFitter.cpp
	src/classes/PFourier.cpp
	src/classes/PMsrHandler.cpp
	src/classes/PMusrCanvas.cpp
	src/classes/PRunAsymmetry.cpp
	src/classes/PRunAsymmetryRRF.cpp
	src/classes/PRunListCollection.cpp
	src/classes/PRunSingleHisto.cpp
	src/classes/PRunSingleHistoRRF.cpp
	src/classes/PStartupHandler.cpp
	src/include/PFourier.h
	src/include/PRunListCollection.h
	src/musrFT.cpp
2019-04-24 17:44:58 +02:00
suter_a 5617cf2925 cleaned up signed/unsigned int issues. 2018-06-06 16:24:42 +02:00
suter_a bc7ddcfc6d Changed behaviour for the case where LGB > Histo Size. New: LGB = (Histo Size - 1) together with a warning instead of issuing an error. 2017-11-09 10:37:27 +01:00
suter_a c768c27898 for maxLH it is now possible to get the per-run-block maxLH, and the expected maxLH 2016-12-18 10:36:02 +01:00
suter_a af7b729a5a start-/endTimeBin are now class members. This reduces the number of recalculations. 2016-04-26 12:39:27 +02:00
suter_a 82ba938c2d make sure that N0 is only estimated if N0 is NOT fixed. 2016-04-11 11:11:31 +02:00
suter_a 8e399fa04e first steps towards asymmetry RRF fit. 2016-01-15 17:16:07 +01:00
suter_a 5a00d49bbd fixed error in view_packing for single histo (wrong norm of the theory). 2015-09-08 13:08:41 +02:00
suter_a 11ea9f5457 'final' changes towards a to-be-tested GLOBAL block implementation 2014-12-18 15:42:16 +01:00
suter_a e87672f632 try to setup a much cleaner handling for t0's, fgb/lgb, and fit-range 2014-12-17 15:51:26 +01:00
suter_a f13fa554bf added global section to non-muSR, and mu-minus. Added mu-minus to musrt0. 2014-12-12 12:50:12 +01:00
suter_a 075c259971 transferred lifetimecorrection from RUN block to the PLOT block. More work towards a working GLOBAL block 2014-12-10 16:02:32 +01:00
suter_a 918f1eb110 more work on the global section 2014-12-09 15:47:13 +01:00
suter_a bbb8550f96 since we moved to git, I cleaned up the svn prop's from the sources and added a GIT_REVISION through git-revision.h 2014-02-12 12:43:32 +01:00
suter_a e2712ce3f7 changed normalization of log max likelihood 2013-11-12 08:36:30 +00:00
suter_a 392cd0b4b3 (1) changed normalization of maximum likelihood. (2) ascii export from canvas adds initial space for empty column for easier parsing. (3) fix of some typos 2013-11-08 11:55:43 +00:00
suter_a c8222754ce some minor issues with run block names messages in case of missing t0's 2013-03-01 08:10:48 +00:00
suter_a 310eedf190 add N0 estimate to single histogram fit. Some improvements in musredit (see ChangLog) 2013-02-14 09:16:27 +00:00
suter_a 22c7702cfe docu updated 2013-01-15 12:25:48 +00:00
suter_a 17d7ef4b99 improved Fourier transform. For details see the ChangeLog 2012-11-19 13:27:37 +00:00
suter_a 6c8ce66e1d (i) add PRINT_LEVEL to the command block (0='nothing' to
3='everything'). This allows to tune the Minuit2 output. (ii) added the
possibilty to give the fit range in bins. For details see the docu.
2012-10-25 14:44:16 +00:00
suter_a d2e28d33ec fixed bug in RRF single histo. Update docu 2012-05-30 06:01:04 +00:00
suter_a 99c24a146d added negative muon fitting support. Fixed at the same time bugs related to logx/logy plotting. Allow now comments after functions in the FUNCTION block. 2012-04-24 10:52:20 +00:00
nemu 3830229ac0 fixed some double/int inconsistencies 2012-03-22 14:23:43 +00:00
suter_a 138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
suter_a d2e6eacad2 fixed a bug in PRunAsymmetry::PrepareData relevant when combining addrun's and grouping (MUSR-209). Removed some obsolate out-commented parts from PRunSingleHisto 2012-01-05 15:50:00 +00:00
suter_a 379345496b if the background is estimated from an interval rather than fitted, it will be added as a comment to the background interval tag. (MUSR-192) 2011-11-15 08:46:00 +00:00
suter_a d9a83c6c19 when release or restore is called (command block commands), the
corresponding parameter error is set to 2% of its parameter value (MUSR-188).
At the same time removed a left-over unused variable.
2011-10-17 08:26:12 +00:00
suter_a cbacba3f2c proper normalization for NOT lifetime corrected signals 2011-10-14 13:23:31 +00:00
suter_a 57d68e7133 better handling of all the various normalization issues, expecially fixed the wrong normalization when using "SCALE_N0_BKG FALSE" together with view_packing (MUSR-184) 2011-10-14 05:18:52 +00:00