545 lines
39 KiB
HTML
545 lines
39 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>mupp: /workspace/LMU/musrfit/src/musredit_qt6/mupp/mupp.cpp File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">mupp<span id="projectnumber"> 1.1.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',false);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){ initResizable(false); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6ae224fd33464317177bff8e805aed3f.html">musredit_qt6</a></li><li class="navelem"><a class="el" href="dir_83a32f49a02a169727e3032b3fd1abe7.html">mupp</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">mupp.cpp File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Implementation of mupp (muon parameter plotter) main application.
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include <iostream></code><br />
|
|
<code>#include <QObject></code><br />
|
|
<code>#include <QScopedPointer></code><br />
|
|
<code>#include <QApplication></code><br />
|
|
<code>#include <QCoreApplication></code><br />
|
|
<code>#include <QFile></code><br />
|
|
<code>#include <QString></code><br />
|
|
<code>#include <QStringList></code><br />
|
|
<code>#include <QVector></code><br />
|
|
<code>#include <QTextStream></code><br />
|
|
<code>#include <QTimer></code><br />
|
|
<code>#include "mupp_version.h"</code><br />
|
|
<code>#include "<a class="el" href="PmuppScript_8h_source.html">PmuppScript.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="PmuppGui_8h_source.html">PmuppGui.h</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for mupp.cpp:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="mupp_8cpp__incl.png" border="0" usemap="#a_2workspace_2LMU_2musrfit_2src_2musredit__qt6_2mupp_2mupp_8cpp" alt=""/></div>
|
|
<map name="a_2workspace_2LMU_2musrfit_2src_2musredit__qt6_2mupp_2mupp_8cpp" id="a_2workspace_2LMU_2musrfit_2src_2musredit__qt6_2mupp_2mupp_8cpp">
|
|
<area shape="rect" title="Implementation of mupp (muon parameter plotter) main application." alt="" coords="654,5,824,67"/>
|
|
<area shape="rect" title=" " alt="" coords="56,115,130,143"/>
|
|
<area shape="poly" title=" " alt="" coords="654,49,425,76,149,118,145,118,144,113,148,112,425,71,654,44"/>
|
|
<area shape="rect" title=" " alt="" coords="671,342,741,370"/>
|
|
<area shape="poly" title=" " alt="" coords="654,39,532,42,394,53,328,63,271,77,225,95,195,117,190,129,195,141,252,168,382,222,660,333,658,338,380,227,250,173,191,144,184,128,191,113,222,90,269,72,327,58,393,48,531,37,654,34"/>
|
|
<area shape="rect" title=" " alt="" coords="205,115,324,143"/>
|
|
<area shape="poly" title=" " alt="" coords="654,56,340,116,339,111,653,51"/>
|
|
<area shape="rect" title=" " alt="" coords="348,115,448,143"/>
|
|
<area shape="poly" title=" " alt="" coords="654,63,463,113,462,108,653,58"/>
|
|
<area shape="rect" title=" " alt="" coords="471,115,600,143"/>
|
|
<area shape="poly" title=" " alt="" coords="672,70,580,111,578,106,670,65"/>
|
|
<area shape="rect" title=" " alt="" coords="623,115,677,143"/>
|
|
<area shape="poly" title=" " alt="" coords="711,69,675,106,672,102,708,66"/>
|
|
<area shape="rect" title=" " alt="" coords="890,342,957,370"/>
|
|
<area shape="poly" title=" " alt="" coords="755,67,803,169,837,232,875,292,903,329,899,332,870,296,832,234,798,172,750,69"/>
|
|
<area shape="rect" title=" " alt="" coords="771,342,860,370"/>
|
|
<area shape="poly" title=" " alt="" coords="734,68,726,114,721,171,725,234,732,264,743,293,758,314,779,331,775,335,754,318,738,295,727,266,720,234,716,171,721,113,729,67"/>
|
|
<area shape="rect" title=" " alt="" coords="2062,342,2132,370"/>
|
|
<area shape="poly" title=" " alt="" coords="825,35,1260,38,1558,45,1871,58,2174,76,2439,103,2548,121,2638,140,2704,163,2728,175,2744,189,2754,207,2750,225,2734,240,2709,255,2635,280,2539,302,2431,320,2322,335,2148,353,2147,348,2322,329,2430,315,2538,297,2634,275,2707,250,2731,236,2745,222,2748,208,2740,192,2725,180,2702,168,2636,145,2547,126,2438,109,2174,82,1871,63,1557,51,1260,44,825,40"/>
|
|
<area shape="rect" title=" " alt="" coords="936,115,1036,143"/>
|
|
<area shape="poly" title=" " alt="" coords="823,65,937,107,935,112,821,70"/>
|
|
<area shape="rect" title=" " alt="" coords="1061,115,1127,143"/>
|
|
<area shape="poly" title=" " alt="" coords="825,56,1046,112,1045,117,824,61"/>
|
|
<area shape="rect" title=" " alt="" coords="1151,115,1269,143"/>
|
|
<area shape="poly" title=" " alt="" coords="826,51,1137,111,1136,116,825,57"/>
|
|
<area shape="rect" href="PmuppScript_8h.html" title="Scripting interface for mupp batch processing." alt="" coords="802,115,911,143"/>
|
|
<area shape="poly" title=" " alt="" coords="780,65,829,103,826,107,777,70"/>
|
|
<area shape="rect" href="PmuppGui_8h.html" title="Main GUI interface for the mupp (MusrFit Parameter Plotter) application." alt="" coords="1821,115,1916,143"/>
|
|
<area shape="poly" title=" " alt="" coords="825,42,1806,120,1805,125,825,47"/>
|
|
<area shape="poly" title=" " alt="" coords="860,143,867,208,876,251,888,293,907,328,902,330,884,295,871,252,862,209,855,143"/>
|
|
<area shape="poly" title=" " alt="" coords="856,144,845,191,822,327,817,326,839,190,851,142"/>
|
|
<area shape="rect" title=" " alt="" coords="1324,342,1395,370"/>
|
|
<area shape="poly" title=" " alt="" coords="872,141,958,213,1020,255,1087,292,1145,313,1204,329,1309,347,1308,352,1203,334,1143,318,1085,296,1017,260,955,217,869,145"/>
|
|
<area shape="rect" href="PmuppAdmin_8h.html" title="Administration and configuration management for mupp application." alt="" coords="1161,191,1275,218"/>
|
|
<area shape="poly" title=" " alt="" coords="912,139,1146,186,1145,191,911,144"/>
|
|
<area shape="rect" href="Pmupp_8h.html" title="Core data structures and handler classes for mupp parameter management." alt="" coords="898,266,973,294"/>
|
|
<area shape="poly" title=" " alt="" coords="866,142,924,251,919,253,861,144"/>
|
|
<area shape="rect" href="PVarHandler_8h.html" title=" " alt="" coords="557,191,666,218"/>
|
|
<area shape="poly" title=" " alt="" coords="814,146,670,188,669,183,812,141"/>
|
|
<area shape="poly" title=" " alt="" coords="1189,221,1087,269,961,336,958,332,1085,264,1187,217"/>
|
|
<area shape="poly" title=" " alt="" coords="1276,207,1512,229,1636,245,1726,264,1751,278,1776,292,1848,313,1922,329,2047,347,2046,353,1921,334,1847,318,1774,296,1749,282,1724,269,1635,250,1512,234,1275,213"/>
|
|
<area shape="rect" title=" " alt="" coords="1263,266,1320,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1233,217,1269,253,1266,257,1229,221"/>
|
|
<area shape="rect" title=" " alt="" coords="1344,266,1420,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1248,216,1340,257,1338,262,1246,221"/>
|
|
<area shape="rect" title=" " alt="" coords="1098,266,1239,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1211,220,1188,255,1184,252,1207,217"/>
|
|
<area shape="rect" href="mupp_8h.html" title="Header file for mupp (muon parameter plotter) main application." alt="" coords="1646,266,1713,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1276,212,1631,268,1630,274,1275,218"/>
|
|
<area shape="rect" title=" " alt="" coords="1584,342,1671,370"/>
|
|
<area shape="poly" title=" " alt="" coords="1672,296,1647,331,1643,328,1668,293"/>
|
|
<area shape="rect" title=" " alt="" coords="1695,342,1768,370"/>
|
|
<area shape="poly" title=" " alt="" coords="1691,293,1716,328,1711,331,1686,296"/>
|
|
<area shape="rect" title=" " alt="" coords="1792,342,1873,370"/>
|
|
<area shape="poly" title=" " alt="" coords="1708,292,1793,333,1791,337,1706,297"/>
|
|
<area shape="rect" title=" " alt="" coords="1482,342,1560,370"/>
|
|
<area shape="poly" title=" " alt="" coords="1652,297,1564,338,1561,333,1650,292"/>
|
|
<area shape="poly" title=" " alt="" coords="898,296,757,341,755,336,897,291"/>
|
|
<area shape="poly" title=" " alt="" coords="936,295,931,327,925,326,931,294"/>
|
|
<area shape="poly" title=" " alt="" coords="915,297,851,336,848,332,912,292"/>
|
|
<area shape="poly" title=" " alt="" coords="973,282,1086,291,2046,349,2046,354,1086,297,973,288"/>
|
|
<area shape="poly" title=" " alt="" coords="974,288,992,291,1166,322,1309,344,1308,350,1165,327,991,297,973,293"/>
|
|
<area shape="rect" title=" " alt="" coords="1097,342,1174,370"/>
|
|
<area shape="poly" title=" " alt="" coords="972,292,1086,334,1085,339,970,297"/>
|
|
<area shape="poly" title=" " alt="" coords="629,217,678,253,742,292,811,320,875,340,874,345,809,325,739,296,675,258,626,221"/>
|
|
<area shape="poly" title=" " alt="" coords="667,216,883,264,882,270,666,221"/>
|
|
<area shape="rect" title=" " alt="" coords="527,342,584,370"/>
|
|
<area shape="poly" title=" " alt="" coords="609,219,568,328,563,326,604,218"/>
|
|
<area shape="rect" title=" " alt="" coords="320,342,378,370"/>
|
|
<area shape="poly" title=" " alt="" coords="557,213,498,220,436,232,382,248,362,257,349,268,342,281,340,296,343,327,337,327,334,296,337,279,345,265,359,253,380,243,435,226,498,215,556,208"/>
|
|
<area shape="rect" href="PAst_8hpp.html" title=" " alt="" coords="402,342,477,370"/>
|
|
<area shape="poly" title=" " alt="" coords="598,221,467,334,464,330,595,216"/>
|
|
<area shape="rect" href="PProgram_8hpp.html" title=" " alt="" coords="359,266,469,294"/>
|
|
<area shape="poly" title=" " alt="" coords="577,221,464,263,462,258,575,216"/>
|
|
<area shape="rect" title=" " alt="" coords="5,418,159,462"/>
|
|
<area shape="poly" title=" " alt="" coords="402,370,391,372,175,419,173,414,389,367,400,364"/>
|
|
<area shape="rect" title=" " alt="" coords="182,418,342,462"/>
|
|
<area shape="poly" title=" " alt="" coords="412,373,324,413,322,408,410,368"/>
|
|
<area shape="rect" title=" " alt="" coords="366,418,512,462"/>
|
|
<area shape="poly" title=" " alt="" coords="442,370,442,402,437,402,437,370"/>
|
|
<area shape="rect" title=" " alt="" coords="537,418,683,462"/>
|
|
<area shape="poly" title=" " alt="" coords="468,368,552,408,550,413,466,373"/>
|
|
<area shape="rect" title=" " alt="" coords="707,426,846,454"/>
|
|
<area shape="poly" title=" " alt="" coords="478,363,696,415,712,419,711,424,695,420,477,369"/>
|
|
<area shape="poly" title=" " alt="" coords="440,292,518,332,515,337,438,297"/>
|
|
<area shape="poly" title=" " alt="" coords="404,296,372,332,368,329,400,293"/>
|
|
<area shape="poly" title=" " alt="" coords="421,294,432,326,427,328,416,295"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,135,1572,155,1452,172,1412,182,1390,193,1382,207,1383,215,1391,221,1407,227,1445,240,1464,250,1478,265,1483,281,1477,296,1412,308,1271,324,973,353,972,347,1271,318,1412,302,1474,292,1478,281,1473,268,1460,254,1443,244,1405,232,1389,226,1378,218,1376,205,1387,189,1410,177,1451,166,1571,149,1820,130"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,135,1705,142,1563,154,1439,171,1396,181,1375,192,1369,205,1374,216,1404,240,1434,265,1440,280,1433,296,1420,304,1399,311,1336,322,1162,334,984,340,878,345,875,345,874,340,878,339,984,335,1162,329,1336,317,1397,306,1418,300,1429,292,1435,280,1430,269,1401,245,1370,220,1364,205,1371,189,1395,176,1438,166,1563,149,1704,137,1820,130"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,131,2054,148,2137,164,2218,188,2291,219,2329,241,2354,265,2362,292,2353,314,2331,330,2299,342,2222,354,2148,358,2147,353,2222,349,2298,337,2328,326,2348,311,2356,292,2349,268,2326,246,2288,224,2216,193,2135,170,2053,153,1916,136"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,143,1750,163,1674,193,1631,219,1601,244,1570,269,1527,296,1468,323,1411,343,1409,338,1466,318,1525,292,1567,265,1597,240,1628,214,1671,188,1748,158,1820,138"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,137,1593,159,1294,193,1291,194,1290,188,1294,188,1593,153,1820,132"/>
|
|
<area shape="poly" title=" " alt="" coords="1902,141,1930,155,1956,174,1970,196,1970,208,1964,220,1931,235,1869,250,1729,274,1728,269,1868,245,1929,230,1960,216,1965,207,1965,197,1952,178,1927,160,1899,145"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,132,1701,132,1534,140,1342,158,1244,173,1149,193,1101,208,1053,225,974,262,972,257,1051,220,1099,202,1148,188,1243,168,1341,153,1533,134,1701,127,1821,126"/>
|
|
<area shape="poly" title=" " alt="" coords="1887,141,1904,157,1919,177,1927,199,1926,210,1920,220,1898,236,1866,247,1784,258,1699,263,1634,269,1527,297,1342,329,1190,350,1189,345,1341,324,1525,291,1634,264,1699,257,1784,253,1864,242,1895,232,1916,217,1921,208,1922,199,1915,180,1900,161,1883,145"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,136,682,202,681,196,1820,130"/>
|
|
<area shape="rect" title=" " alt="" coords="1696,191,1806,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1849,145,1786,185,1783,180,1846,141"/>
|
|
<area shape="rect" title=" " alt="" coords="1831,191,1906,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1871,143,1871,175,1866,175,1866,143"/>
|
|
<area shape="rect" title=" " alt="" coords="2306,191,2399,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,134,2081,156,2288,188,2291,189,2290,194,2287,193,2080,162,1916,139"/>
|
|
<area shape="rect" title=" " alt="" coords="2424,191,2521,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,131,2126,152,2409,188,2408,193,2126,157,1917,137"/>
|
|
<area shape="rect" title=" " alt="" coords="2546,191,2610,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,129,2176,144,2350,161,2531,188,2530,193,2350,166,2175,149,1917,134"/>
|
|
<area shape="rect" title=" " alt="" coords="2634,191,2709,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,129,2038,133,2210,143,2411,160,2619,188,2618,193,2410,166,2209,148,2037,138,1917,134"/>
|
|
<area shape="rect" title=" " alt="" coords="1787,266,1884,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,134,1786,139,1749,149,1714,166,1687,192,1681,205,1682,216,1688,226,1700,236,1733,252,1773,264,1771,269,1731,257,1697,240,1684,230,1677,218,1676,204,1683,189,1711,162,1747,144,1785,134,1820,129"/>
|
|
<area shape="rect" title=" " alt="" coords="1907,266,2009,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1918,134,1944,141,1970,152,1995,168,2015,189,2020,208,2015,226,2004,243,1989,258,1986,254,2000,240,2011,224,2015,208,2010,192,1992,172,1968,157,1942,146,1916,139"/>
|
|
<area shape="rect" title=" " alt="" coords="1400,191,1481,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,139,1680,161,1497,193,1496,188,1679,156,1820,134"/>
|
|
<area shape="rect" title=" " alt="" coords="2134,266,2246,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,129,1989,134,2073,145,2147,162,2176,174,2195,189,2203,204,2206,220,2202,252,2197,251,2200,220,2198,205,2191,192,2173,179,2146,167,2072,150,1989,140,1916,135"/>
|
|
<area shape="rect" title=" " alt="" coords="1505,191,1571,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1821,143,1591,193,1587,194,1585,189,1589,188,1820,138"/>
|
|
<area shape="rect" title=" " alt="" coords="2270,266,2340,294"/>
|
|
<area shape="poly" title=" " alt="" coords="1917,127,2107,128,2363,135,2488,143,2596,154,2678,169,2706,178,2723,189,2729,204,2723,220,2697,239,2659,253,2612,264,2559,272,2448,280,2356,282,2355,277,2448,275,2558,266,2611,259,2657,248,2694,234,2719,217,2724,204,2719,192,2703,183,2677,174,2596,159,2487,148,2363,141,2107,133,1917,133"/>
|
|
<area shape="rect" href="PVarDialog_8h.html" title=" " alt="" coords="2082,191,2181,218"/>
|
|
<area shape="poly" title=" " alt="" coords="1916,141,2070,183,2069,189,1915,146"/>
|
|
<area shape="poly" title=" " alt="" coords="2131,219,2106,327,2101,326,2126,218"/>
|
|
<area shape="poly" title=" " alt="" coords="2122,221,2081,260,2053,280,2022,296,1970,311,1904,322,1749,333,1592,338,1470,345,1411,351,1410,346,1470,339,1591,333,1748,328,1903,316,1969,306,2020,292,2050,276,2077,256,2118,217"/>
|
|
<area shape="poly" title=" " alt="" coords="2082,221,1899,266,1898,261,2080,216"/>
|
|
<area shape="poly" title=" " alt="" coords="2101,221,2004,263,2001,258,2099,216"/>
|
|
<area shape="poly" title=" " alt="" coords="2144,217,2172,252,2168,256,2140,221"/>
|
|
<area shape="poly" title=" " alt="" coords="2163,216,2261,258,2259,263,2161,221"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="mupp_8cpp_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a6589b0ef0ca734e9a6be8315ad22038c" id="r_a6589b0ef0ca734e9a6be8315ad22038c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6589b0ef0ca734e9a6be8315ad22038c">mupp_script_syntax</a> ()</td></tr>
|
|
<tr class="memdesc:a6589b0ef0ca734e9a6be8315ad22038c"><td class="mdescLeft"> </td><td class="mdescRight">Displays the mupp script syntax help to stdout. <br /></td></tr>
|
|
<tr class="separator:a6589b0ef0ca734e9a6be8315ad22038c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2fb65ad93020c94b6c076dfb674cb5a" id="r_ae2fb65ad93020c94b6c076dfb674cb5a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#ae2fb65ad93020c94b6c076dfb674cb5a">mupp_syntax</a> ()</td></tr>
|
|
<tr class="memdesc:ae2fb65ad93020c94b6c076dfb674cb5a"><td class="mdescLeft"> </td><td class="mdescRight">Displays the mupp application syntax and usage help to stdout. <br /></td></tr>
|
|
<tr class="separator:ae2fb65ad93020c94b6c076dfb674cb5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad4959607f9e981fab5c8b39315172802" id="r_ad4959607f9e981fab5c8b39315172802"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ad4959607f9e981fab5c8b39315172802">mupp_script_read</a> (const char *fln, QStringList &list)</td></tr>
|
|
<tr class="memdesc:ad4959607f9e981fab5c8b39315172802"><td class="mdescLeft"> </td><td class="mdescRight">Reads a mupp script file and parses its content into a string list. <br /></td></tr>
|
|
<tr class="separator:ad4959607f9e981fab5c8b39315172802"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4c785ec34157437e7e230d504c1a75ac" id="r_a4c785ec34157437e7e230d504c1a75ac"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a4c785ec34157437e7e230d504c1a75ac">mupp_bash_variable_exists</a> (const QString str)</td></tr>
|
|
<tr class="memdesc:a4c785ec34157437e7e230d504c1a75ac"><td class="mdescLeft"> </td><td class="mdescRight">Checks if a bash environment variable exists and is non-empty. <br /></td></tr>
|
|
<tr class="separator:a4c785ec34157437e7e230d504c1a75ac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a17955d57352a6e39dd0763703b6dd84e" id="r_a17955d57352a6e39dd0763703b6dd84e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a17955d57352a6e39dd0763703b6dd84e">mupp_script_syntax_check</a> (QStringList &list)</td></tr>
|
|
<tr class="memdesc:a17955d57352a6e39dd0763703b6dd84e"><td class="mdescLeft"> </td><td class="mdescRight">Validates the syntax of mupp script commands. <br /></td></tr>
|
|
<tr class="separator:a17955d57352a6e39dd0763703b6dd84e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d36097aec9e5c8de0efcaa80fff6d49" id="r_a2d36097aec9e5c8de0efcaa80fff6d49"><td class="memItemLeft" align="right" valign="top">QCoreApplication * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2d36097aec9e5c8de0efcaa80fff6d49">createApplication</a> (int &argc, char *argv[], bool gui)</td></tr>
|
|
<tr class="memdesc:a2d36097aec9e5c8de0efcaa80fff6d49"><td class="mdescLeft"> </td><td class="mdescRight">Factory function to create the appropriate Qt application object. <br /></td></tr>
|
|
<tr class="separator:a2d36097aec9e5c8de0efcaa80fff6d49"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
|
|
<tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">Main entry point of the mupp application. <br /></td></tr>
|
|
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Implementation of mupp (muon parameter plotter) main application. </p>
|
|
<p>mupp is a tool for plotting muon spin spectroscopy (muSR) fit parameters as a function of various experimental conditions (temperature, field, etc.). The application supports both GUI and script-based modes. It can handle parameter files in db, dat, and msr formats, allowing users to visualize trends in fit parameters across multiple runs.</p>
|
|
<p>The main functionality includes:</p><ul>
|
|
<li>Loading and parsing parameter files (db, dat, msr)</li>
|
|
<li>Interactive GUI for data selection and visualization</li>
|
|
<li>Script-based batch processing for automated plotting</li>
|
|
<li>Export of plots in various formats (pdf, png, svg, etc.)</li>
|
|
<li>Generation of ROOT macros for further analysis </li>
|
|
</ul>
|
|
|
|
<p class="definition">Definition in file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
</div><h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a2d36097aec9e5c8de0efcaa80fff6d49" name="a2d36097aec9e5c8de0efcaa80fff6d49"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2d36097aec9e5c8de0efcaa80fff6d49">◆ </a></span>createApplication()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QCoreApplication * createApplication </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int &</td> <td class="paramname"><span class="paramname"><em>argc</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char *</td> <td class="paramname"><span class="paramname"><em>argv</em></span>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool</td> <td class="paramname"><span class="paramname"><em>gui</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Factory function to create the appropriate Qt application object. </p>
|
|
<p>This function selects and creates the proper Qt application class based on whether GUI or console mode is required. It creates a QApplication instance for GUI mode (which supports widgets and graphics) or a QCoreApplication instance for script/console mode (which is lighter and has no GUI support).</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">argc</td><td>reference to the argument count from <a class="el" href="#a0ddf1224851353fc92bfbff6f499fa97" title="Main entry point of the mupp application.">main()</a> </td></tr>
|
|
<tr><td class="paramname">argv</td><td>argument vector from <a class="el" href="#a0ddf1224851353fc92bfbff6f499fa97" title="Main entry point of the mupp application.">main()</a> containing command-line arguments </td></tr>
|
|
<tr><td class="paramname">gui</td><td>if true, a GUI application (QApplication) is created; if false, a console application (QCoreApplication) is created</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the created Qt application object (either QApplication or QCoreApplication depending on the gui parameter)</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a0ddf1224851353fc92bfbff6f499fa97" title="Main entry point of the mupp application.">main()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00567">567</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0ddf1224851353fc92bfbff6f499fa97" name="a0ddf1224851353fc92bfbff6f499fa97"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0ddf1224851353fc92bfbff6f499fa97">◆ </a></span>main()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int main </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>argc</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char *</td> <td class="paramname"><span class="paramname"><em>argv</em></span>[] )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Main entry point of the mupp application. </p>
|
|
<p>mupp (muon parameter plotter) is an application designed to visualize muSR fit parameters from db-files, dat-files, or msr-files. The typical use case is plotting fit parameters as a function of experimental conditions such as temperature, pressure, magnetic field, energy, etc.</p>
|
|
<p>The application supports two operational modes:</p><ul>
|
|
<li><b>GUI mode</b>: Interactive graphical interface for data exploration, parameter selection, and plot generation</li>
|
|
<li><b>Script mode</b>: Batch processing using script files for automated plotting and analysis</li>
|
|
</ul>
|
|
<p>Command-line usage: </p><div class="fragment"><div class="line"><a class="code hl_namespace" href="namespacemupp.html">mupp</a> [OPTIONS] [[--path <fit-param-path>] <fit-param-file-names>]</div>
|
|
<div class="ttc" id="anamespacemupp_html"><div class="ttname"><a href="namespacemupp.html">mupp</a></div><div class="ttdef"><b>Definition</b> <a href="PAnnotation_8hpp_source.html#l00042">PAnnotation.hpp:43</a></div></div>
|
|
</div><!-- fragment --><p>Processing flow:</p><ol type="1">
|
|
<li>Parse command-line arguments</li>
|
|
<li>Handle help (-h, –help) and version (-v, –version) requests</li>
|
|
<li>Process script mode (-s, –script) or file list mode</li>
|
|
<li>Create appropriate Qt application (GUI or console)</li>
|
|
<li>Initialize either <a class="el" href="classPmuppGui.html" title="Main GUI window for the mupp application.">PmuppGui</a> or <a class="el" href="classPmuppScript.html" title="Script interpreter for mupp batch processing.">PmuppScript</a></li>
|
|
<li>Enter Qt event loop</li>
|
|
</ol>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">argc</td><td>argument count from the command line </td></tr>
|
|
<tr><td class="paramname">argv</td><td>argument vector containing command-line arguments</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on successful execution, negative values on error: -1: file or script errors, invalid arguments</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPmuppGui.html" title="Main GUI window for the mupp application.">PmuppGui</a>, <a class="el" href="classPmuppScript.html" title="Script interpreter for mupp batch processing.">PmuppScript</a>, <a class="el" href="#a2d36097aec9e5c8de0efcaa80fff6d49" title="Factory function to create the appropriate Qt application object.">createApplication()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00611">611</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4c785ec34157437e7e230d504c1a75ac" name="a4c785ec34157437e7e230d504c1a75ac"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c785ec34157437e7e230d504c1a75ac">◆ </a></span>mupp_bash_variable_exists()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool mupp_bash_variable_exists </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>str</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Checks if a bash environment variable exists and is non-empty. </p>
|
|
<p>This function verifies the existence of a bash environment variable by querying the system environment. The variable name can be specified with or without the leading '$' symbol, as it will be removed internally.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">str</td><td>name of the bash variable to be checked (with or without '$' prefix)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if the bash variable exists and has a non-empty value, false otherwise</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a17955d57352a6e39dd0763703b6dd84e" title="Validates the syntax of mupp script commands.">mupp_script_syntax_check()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00251">251</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad4959607f9e981fab5c8b39315172802" name="ad4959607f9e981fab5c8b39315172802"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad4959607f9e981fab5c8b39315172802">◆ </a></span>mupp_script_read()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int mupp_script_read </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>fln</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QStringList &</td> <td class="paramname"><span class="paramname"><em>list</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reads a mupp script file and parses its content into a string list. </p>
|
|
<p>This function reads a mupp script file line by line, processes each line by:</p><ul>
|
|
<li>Removing leading and trailing whitespace</li>
|
|
<li>Skipping empty lines</li>
|
|
<li>Skipping comment lines (starting with '#', '', or '//')</li>
|
|
<li>Removing trailing comments from command lines</li>
|
|
<li>Adding valid command lines to the output list</li>
|
|
</ul>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">fln</td><td>the mupp script file name (path) to be read </td></tr>
|
|
<tr><td class="paramname">list</td><td>reference to QStringList that will contain the parsed script commands</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 if the file cannot be opened</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a17955d57352a6e39dd0763703b6dd84e" title="Validates the syntax of mupp script commands.">mupp_script_syntax_check()</a>, <a class="el" href="#a6589b0ef0ca734e9a6be8315ad22038c" title="Displays the mupp script syntax help to stdout.">mupp_script_syntax()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00170">170</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6589b0ef0ca734e9a6be8315ad22038c" name="a6589b0ef0ca734e9a6be8315ad22038c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6589b0ef0ca734e9a6be8315ad22038c">◆ </a></span>mupp_script_syntax()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void mupp_script_syntax </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Displays the mupp script syntax help to stdout. </p>
|
|
<p>This function prints detailed information about the mupp script commands, including available commands, their syntax, and descriptions. The script commands allow for batch processing and automated plotting of parameter data without user interaction.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#ae2fb65ad93020c94b6c076dfb674cb5a" title="Displays the mupp application syntax and usage help to stdout.">mupp_syntax()</a>, <a class="el" href="#ad4959607f9e981fab5c8b39315172802" title="Reads a mupp script file and parses its content into a string list.">mupp_script_read()</a>, <a class="el" href="#a17955d57352a6e39dd0763703b6dd84e" title="Validates the syntax of mupp script commands.">mupp_script_syntax_check()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00080">80</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a17955d57352a6e39dd0763703b6dd84e" name="a17955d57352a6e39dd0763703b6dd84e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a17955d57352a6e39dd0763703b6dd84e">◆ </a></span>mupp_script_syntax_check()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int mupp_script_syntax_check </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QStringList &</td> <td class="paramname"><span class="paramname"><em>list</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Validates the syntax of mupp script commands. </p>
|
|
<p>This function performs comprehensive validation of mupp script commands, including:</p><ul>
|
|
<li>Verification of command syntax and required parameters</li>
|
|
<li>Validation of file paths and bash environment variables</li>
|
|
<li>Checking file extensions for plot and macro outputs</li>
|
|
<li>Ensuring variable definitions are properly linked to collections</li>
|
|
<li>Verifying collection indices are within valid ranges</li>
|
|
</ul>
|
|
<p>The function tracks defined variables and ensures they are properly linked to collections before use. It also validates that all collections referenced in the script have been loaded.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">list</td><td>reference to QStringList containing the parsed mupp script commands</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 on success, negative values indicating different types of errors: -1: general syntax error -2: invalid file extension or empty bash variable -3: unrecognized command or collection out of range -4: no data loaded or internal consistency error -5: variable not defined before linking</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#ad4959607f9e981fab5c8b39315172802" title="Reads a mupp script file and parses its content into a string list.">mupp_script_read()</a>, <a class="el" href="#a4c785ec34157437e7e230d504c1a75ac" title="Checks if a bash environment variable exists and is non-empty.">mupp_bash_variable_exists()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00291">291</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae2fb65ad93020c94b6c076dfb674cb5a" name="ae2fb65ad93020c94b6c076dfb674cb5a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2fb65ad93020c94b6c076dfb674cb5a">◆ </a></span>mupp_syntax()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void mupp_syntax </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Displays the mupp application syntax and usage help to stdout. </p>
|
|
<p>This function prints the complete usage information for the mupp application, including command-line options, file path specifications, and supported file formats. It also calls <a class="el" href="#a6589b0ef0ca734e9a6be8315ad22038c" title="Displays the mupp script syntax help to stdout.">mupp_script_syntax()</a> to display script-specific help.</p>
|
|
<p>Command-line options include:</p><ul>
|
|
<li>Help and version information</li>
|
|
<li>Script mode execution</li>
|
|
<li>File path and file name specifications</li>
|
|
</ul>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a6589b0ef0ca734e9a6be8315ad22038c" title="Displays the mupp script syntax help to stdout.">mupp_script_syntax()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="mupp_8cpp_source.html#l00137">137</a> of file <a class="el" href="mupp_8cpp_source.html">mupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2
|
|
</small></address>
|
|
</div><!-- doc-content -->
|
|
</body>
|
|
</html>
|