71 Commits

Author SHA1 Message Date
44821cb8cd updated the copyright info. 2025-01-30 12:00:49 +01:00
Ryan M. L. McFadden
1a1e756d77 fix segfault
This patch provides a memory-safe alternative to the changes introduced in commit 418adfde670b8d911a6a313e11a2ee4fc98feeee, which causes a segfault when the "batch mode" flag is required (i.e., for ascii/graphic export).

Note: the program name (i.e., argv[0]) has been added the list arguments passed to ROOT's TApplication. This ensures that the TApplication name matches that of the program (see 542b98b2cc/core/base/src/TApplication.cxx (L179-L180)).
2024-06-18 12:55:10 +02:00
6a7178b3a9 propagate only necessary root flags to TApplication. 2024-06-06 10:04:03 +02:00
17339e191d updated copyright info. 2024-02-07 15:29:08 +01:00
f9d0d7f18f more work to get rid of raw pointers. 2023-10-25 09:12:10 +02:00
8f2891c0a7 replaced raw pointers by smart pointers for musrview.cpp. 2023-10-25 09:00:09 +02:00
a356534e6a updated the copyright info. 2023-01-05 11:04:42 +01:00
e32aa61643 replaced sprintf -> snprintf throughout. 2022-11-25 10:16:20 +01:00
d3d55f8719 make sure that git repo info is only added if the musrfit project source is indeed a git repo, and not e.g. a download. 2021-07-12 16:46:10 +02:00
aa2766bbaf add info on how musrfit is compiled Debug or Release. 2021-05-21 08:02:37 +02:00
2a531bd58d add ROOT version information for better diagnostics. 2021-04-09 16:03:04 +02:00
a7b540cfdb update of the copyright info. 2021-03-29 08:30:43 +02:00
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
b6dba8965b update of the copyright info. 2020-04-30 17:46:10 +02:00
edad7a4c53 proper cleanup. 2020-02-10 09:16:05 +01:00
f5344e29f0 added some more specifc error codes. 2019-04-25 21:02:45 +02:00
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
f6ee484baf Dynamic Search Path for ROOT Dictionary
Added by default the dynamic search path '/usr/local/lib' to ROOT.
This is needed to find the necessary dictionaries for musrfit,
musrview, musrt0. Furthermore, added an option '--show-dynamic-path'
to these programs which allow the user to dump the currently used
dynamic search paths. This is potentially handy for diagnostics.
2019-02-05 10:08:15 +01:00
7f432cc58e adopted the technical docu, according to the new sphinx user docu.
Conflicts:
	doc/musrfit_dox.cfg
2018-07-04 12:48:17 +02:00
e8a12653a6 improved the close canvas mechanism (from the global to the object level) 2017-12-01 08:55:10 +01:00
1729055385 merged from root6. Compiles but has issues with DKS linking yet. 2017-05-15 21:30:42 +02:00
fca13283e1 changed generation of git-revision.h which allows to keep it up-to-date. Aditionally git-branch info has been added. 2017-02-22 09:42:07 +01:00
e8f692b42c more changes towards musrfit/DKS/root6. 2017-02-08 11:16:27 +01:00
ceb7aa6818 changed from legacy rootcint to the new rootcling ROOT dictionary generator. 2017-02-08 09:47:35 +01:00
38c4293d58 resolved merge conflicts with master 2016-12-23 14:16:22 +01:00
63516fc499 added a first version of a optimized phase correction for the real Fourier transform 2016-12-18 10:37:50 +01:00
a2601348cf first working FFT including DKS. 2015-04-13 17:21:27 +02:00
7be8b4c2ea add a switch to musrview that it plots initially the Fouier data rather than the time domain data. 2015-02-20 12:22:24 +01:00
0e6ceecf24 changed the data export handling from musrview. It is now more main line and follows the implementation of musrFT. At the same time removed an autodated comment in PFourierCanvas.h. 2015-02-16 17:23:39 +01:00
2d2594c903 first almost feature complete version of musrFT 2015-02-13 16:56:19 +01:00
acb5a1af09 Remove redundant and optimize code for saving data to ascii in batch mode. 2015-01-27 11:17:06 +01:00
55fb9df820 Turn on batch mode for --ascii option. 2015-01-26 16:56:36 +01:00
8035bafec4 Added option to save data from canvas a quit for non-interactive mode (web). 2015-01-23 17:17:08 +01:00
da6fa2f544 changed timeout check 2014-06-30 14:56:29 +02:00
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
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
1d6f8082f0 newly added dump_header, which dumps the header information of a muSR data file. Furthermore some minor cleanup took place. 2012-05-12 14:08:27 +00:00
7368884482 added timeout facility for musrfit, musrview, musrt0. Adopted musredit/musrgui accordingly. 2012-04-15 08:39:30 +00:00
138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
Bastian M. Wojek
caa3fdfc12 * Define a function for the XML-reading workaround in order to clean up a bit.
For the moment we keep to copies of it -- one for the use within the various
  musrfit programs, one that can be used in user functions.

* musrt0 is now again activated in musrgui/musredit by default.
2011-06-23 11:00:09 +00:00
Bastian M. Wojek
dc48ea9712 * Suggestion how to "solve" the XML-reading problems in certain environments:
A workaround has been implemented where it is not tried any more to "directly
  parse the file" but rather the file is read into a memory buffer which then
  is parsed.
  For further information, see MUSR-122.

* Fixed a linking problem when only shared libraries are built on Cygwin
  (introduced with the split-off of libPUserFcnBase).
2011-06-16 22:00:33 +00:00
Bastian M. Wojek
8dc31cad54 Fixed crash of musrview in case the XML startup file is present but cannot be parsed correctly 2011-06-14 17:53:33 +00:00
nemu
49619fcffb added NeXus support. Still a lot of testing will be needed, documentation updated, etc. 2011-04-08 09:24:32 +00:00
Bastian M. Wojek
34e462e05f Put in line the time-resolution output of single-histogram and asymmetry data.
Now both have a line break at the end--before this has only been true for the asymmetry data.
(If the line break is not needed it should be consistently removed and replaced by a cout.flush()
followed by a line break when musrview is terminated.)
2011-03-03 13:49:22 +00:00
nemu
5386342cf4 some more docu 2010-06-04 19:51:20 +00:00
nemu
41c5d45d8b replace RRF Asymmetry Fit dummy, by Mu Minus Single Histo Fit dummy 2010-01-12 16:00:12 +00:00
nemu
6f49067095 improved handling for invalid MUSRFITPATH 2010-01-05 10:13:12 +00:00
nemu
90807030f1 started with the next step of encapsulation, will take a while 2009-11-02 08:40:47 +00:00
nemu
fe71e7b9c8 improved ascii export (MUSR-87,MUSR-92). Produce now two files, one for the data and one for the theory. There are still some issues concerning root ownership which sometimes result in crashes at the exit of the musrview. db export still needs to be done. 2009-10-22 11:07:50 +00:00
nemu
33222b675c started with the encapsulation of the data structure which should reduce the number of crashes and help to reduce memory leaks 2009-10-07 12:26:41 +00:00