102 Commits

Author SHA1 Message Date
nemu
28260beba0 fix of a variable mix-up 2010-09-04 07:20:22 +00:00
nemu
6774573f7a fixed fitting issue for boundaries none/none (MUSR-136), and some minor cleanup in PFitter 2010-08-31 06:02:06 +00:00
nemu
1688a904f6 implemented more checks on the integrity of the msr-file (MUSR-145) 2010-08-27 04:54:40 +00:00
Bastian M. Wojek
fb8523d8bf Minor changes to the global input file generation 2010-06-10 12:01:40 +00:00
Bastian M. Wojek
ce6819b741 To AS
---

Added a "global" option to msr2data

First, I hope, this major "surgery" does not cause any regressions in the standard features.
If so, please revert to an older version and file a bug report.

This new option is not yet documented and should be considered as experimental.

Also the newly added code still needs some cleanup - many things have simply been written as a proof of concept.
This will be done during further testing and fine-tuning stages.
2010-06-09 19:08:30 +00:00
Bastian M. Wojek
52d91435c1 Added some minor extensions to PMsrHandler and PMsrRunBlock 2010-06-08 21:35:19 +00:00
Bastian M. Wojek
dbd9350522 Added a new method PWriteMsrFile to the PMsrHandler
The purpose of this method is to be able to write heavily modified msr-files using all the msr-handler support.
The further existing method PWriteMsrLogFile can only handle small changes to the msr-file (like changing parameter values or fixing the formatting),
however, it is e.g. not possible to add parameters or run blocks that have not existed before since during the mlog-file writing the original
msr-file is streamed again and then only things are handled which are present in the msr-file.

For writing the output the new method does _not_ read in the originally handled msr-file again!
Only the information stored in the internal data structures are used to recreate a full msr-file (including all changes that might have been made).
Since comments in the original msr-file are not stored internally these are lost.
At the moment it is however possible to add single lines of comments in the FITPARAMETER, THEORY, FUNCTIONS und between different RUN blocks.
This feature could easily be added also to the other blocks, if needed.

For now I skipped all checks for missing tags in the RUN blocks.

Nothing is tested, therefore:
THIS METHOD NEEDS TO BE REVIEWED AND TESTED BEFORE IT CAN BE USED SERIOUSLY!
2010-06-06 18:08:44 +00:00
nemu
5d124b3d79 added more docu 2010-05-31 08:25:57 +00:00
nemu
a8043ce89c massive cleanup 2010-05-12 13:10:22 +00:00
nemu
643dd1fa9d fix of wrong 'fixed background feeding'. Removed signed/unsigned warning by proper casting 2010-03-08 07:41:15 +00:00
nemu
d5d36d21fd improved handling for grouping and addrun 2010-02-22 06:55:49 +00:00
nemu
f2bd5b124f first implementation of histogram grouping. Probably still some more testing needed. 2010-02-08 14:01:41 +00:00
nemu
673c5b4f41 Improved issue described in MuSR-121 (wrong run numbers in plot block). Started with the implementation of MuSR-120 (adding histos; no adding implemented yet). 2010-01-28 08:16:40 +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
6837ba3cdf added a first implementation of RRF view representation for asymmetry view 2010-01-06 13:09:55 +00:00
nemu
e0c893503f first implementation of a RRF. So far, for single histo only. 2009-12-23 13:43:23 +00:00
nemu
162d6eff39 strikter handling of ADDRUN (MUSR-106) 2009-12-18 06:58:20 +00:00
nemu
3635df7fc9 fixed MUSR-107, namely that difference of Fourier != Fourier of difference. At the same time fixed left-over from MUSR-109, namely the inserted additional empty line after map for non-musr-fit. 2009-12-16 14:52:28 +00:00
nemu
fddc258401 corrected handling such that the proper initial phase is fitted 2009-12-16 06:30:02 +00:00
nemu
0e5d18160c added default background estimate if not present. Update the PSIBIN/MDU class from AA/AR. 2009-12-09 08:03:51 +00:00
nemu
da50f1d18c check for subsequent numbered parameters added according to the suggestion of the Royal Highness pointed out in MUSR-103. 2009-11-18 06:41:18 +00:00
nemu
c2b898a246 improved handling for musrt0 2009-11-11 12:42:55 +00:00
nemu
4bb5b7e979 adopted to comment MUSR-99 2009-11-09 07:20:16 +00:00
nemu
588747bd13 some more work towards a full encapsulation 2009-11-05 06:42:33 +00:00
nemu
208e6b97c2 some more work towards a full encapsulation 2009-11-04 21:09:54 +00:00
nemu
15ddd28644 some more work towards a full encapsulation 2009-11-04 11:42:51 +00:00
nemu
73b70defaa some more work on the encapsulation 2009-11-03 08:28:27 +00:00
nemu
90807030f1 started with the next step of encapsulation, will take a while 2009-11-02 08:40:47 +00:00
nemu
2a03bb7f61 changed variables to comply with the ROOT standards. Error messages now sent to stderr rather than stdout 2009-10-30 08:29:27 +00:00
nemu
c3aebf04d6 fixed 'unwanted empty line problem of mlog-files' see MUSR-95 2009-10-16 07:04:16 +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
nemu
0cfd715ed3 merge in Bastian M. Wojek's cpp-version of msr2data. This should help to step towards a real platform independent musrfit package. 2009-08-31 11:57:42 +00:00
nemu
9ac709451c merge in Bastian M. Wojek's cpp-version of msr2data. This should help to step towards a real platform independent musrfit package. 2009-08-31 11:19:03 +00:00
nemu
97618c5ce4 minor more sensible handling of strings (pointed out by BMW) 2009-07-09 20:06:07 +00:00
nemu
c8fc4a95fe option "title from data file" added to musrfit 2009-06-25 14:15:00 +00:00
nemu
2114c1670c added missing *** FIT DID NOT CONVERGE *** check :-( 2009-06-25 08:38:22 +00:00
nemu
8cb69a2011 some more rigrous checking of the STATISTIC block when reading it 2009-06-25 08:31:15 +00:00
nemu
e60a6fc1bd fixed the doppelt-gemoppelt STATISTIC block writing 2009-06-25 07:49:11 +00:00
nemu
8ec9c10a24 made writting mlog-file BMW tighter (MUSR-82), and moved the all parameter == 0 to the appropriate place (MUSR-83) 2009-06-25 06:36:08 +00:00
nemu
a2844ad03d first implementation of 'use_fit_ranges' and 'sub_ranges' in the PLOT block. Testing still to be performed. 2009-06-02 07:58:33 +00:00
nemu
9b7ff5cad4 fixed bug of forgotten addRun counter reset according to MUSR-71 2009-06-02 05:45:03 +00:00
nemu
f287ef666c added skeleton for some additional PLOT block commands. No functionality yet. 2009-05-28 08:49:42 +00:00
nemu
21f3d22a11 increased read buffer size (see MUSR-62, MUSR-65) 2009-05-25 05:58:28 +00:00
nemu
5d99f6cf8c fixed handling of new mlog file writer for musrt0 2009-05-22 11:39:47 +00:00
nemu
b9ac099b52 amendement concerning new mlog file handling (thank's to BMW) 2009-05-20 12:02:02 +00:00
nemu
2c9f392b81 write mlog-file routine fully rewritten to make it more robust. BMW is to prefect guy to test it since he is most creative in complex msr-files ;-) 2009-05-20 08:52:41 +00:00
nemu
e44bc91a03 some minor changes needed for proper msr-file handling with musrt0 (see MUSR-45) 2009-05-01 06:51:46 +00:00
nemu
e0c5b1c018 different handling for log-filename 2009-04-30 10:31:56 +00:00
nemu
28c9ff7784 added msr-file-directory-path-handling. Rigorous tests still due 2009-04-30 08:23:51 +00:00
nemu
8e4ee09aee added to possibilty to use a parameter rather than a number in the phase Fourier block: now all what is needed. Elimated debug flag from the Makefiles 2009-04-24 15:07:54 +00:00