Deploy site

This commit is contained in:
Gitea Actions
2026-05-28 07:32:41 +00:00
commit b6fac619f9
7260 changed files with 1005898 additions and 0 deletions
+250
View File
@@ -0,0 +1,250 @@
<!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/PmuppScript.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">&#160;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&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;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&amp;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&amp;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="headertitle"><div class="title">PmuppScript.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Implementation of the mupp scripting interface for batch processing.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;cmath&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;QProcessEnvironment&gt;</code><br />
<code>#include &lt;QString&gt;</code><br />
<code>#include &lt;QFile&gt;</code><br />
<code>#include &lt;QTextStream&gt;</code><br />
<code>#include &lt;QDateTime&gt;</code><br />
<code>#include &lt;QProcess&gt;</code><br />
<code>#include &lt;QtGlobal&gt;</code><br />
<code>#include &quot;<a class="el" href="PmuppScript_8h_source.html">PmuppScript.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for PmuppScript.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="PmuppScript_8cpp__incl.png" border="0" usemap="#a_2workspace_2LMU_2musrfit_2src_2musredit__qt6_2mupp_2PmuppScript_8cpp" alt=""/></div>
<map name="a_2workspace_2LMU_2musrfit_2src_2musredit__qt6_2mupp_2PmuppScript_8cpp" id="a_2workspace_2LMU_2musrfit_2src_2musredit__qt6_2mupp_2PmuppScript_8cpp">
<area shape="rect" title="Implementation of the mupp scripting interface for batch processing." alt="" coords="2416,5,2586,67"/>
<area shape="rect" title=" " alt="" coords="2061,115,2120,143"/>
<area shape="poly" title=" " alt="" coords="2416,57,2139,118,2136,118,2135,113,2138,112,2415,52"/>
<area shape="rect" title=" " alt="" coords="2935,426,3009,454"/>
<area shape="poly" title=" " alt="" coords="2587,35,2783,42,2899,51,3015,65,3122,86,3209,115,3243,133,3269,153,3286,177,3292,203,3292,282,3290,331,3283,351,3266,372,3236,394,3207,407,3179,412,3152,412,3092,410,3059,412,3022,420,3015,423,3013,418,3020,415,3058,407,3092,404,3152,407,3179,406,3206,401,3233,389,3262,368,3278,349,3285,330,3287,281,3287,203,3281,179,3265,157,3240,138,3207,120,3120,92,3014,71,2899,56,2783,47,2587,40"/>
<area shape="rect" title=" " alt="" coords="2194,115,2350,143"/>
<area shape="poly" title=" " alt="" coords="2426,70,2320,111,2318,106,2424,65"/>
<area shape="rect" title=" " alt="" coords="2350,342,2418,370"/>
<area shape="poly" title=" " alt="" coords="2456,69,2433,91,2414,116,2394,171,2384,230,2382,284,2384,327,2378,327,2376,284,2379,229,2388,170,2409,114,2429,87,2452,65"/>
<area shape="rect" title=" " alt="" coords="2424,115,2477,143"/>
<area shape="poly" title=" " alt="" coords="2487,69,2468,103,2463,100,2482,66"/>
<area shape="rect" title=" " alt="" coords="2502,115,2602,143"/>
<area shape="poly" title=" " alt="" coords="2520,66,2539,100,2535,103,2516,69"/>
<area shape="rect" title=" " alt="" coords="2626,115,2715,143"/>
<area shape="poly" title=" " alt="" coords="2559,65,2634,105,2631,110,2556,70"/>
<area shape="rect" title=" " alt="" coords="2249,342,2326,370"/>
<area shape="poly" title=" " alt="" coords="2416,49,2348,59,2279,74,2220,93,2199,104,2185,117,2177,132,2179,144,2188,154,2201,163,2234,177,2255,189,2273,223,2283,260,2291,326,2285,326,2278,261,2268,225,2251,193,2232,182,2199,167,2184,158,2174,146,2172,131,2180,113,2196,100,2218,88,2277,69,2347,54,2415,44"/>
<area shape="rect" title=" " alt="" coords="2873,115,2950,143"/>
<area shape="poly" title=" " alt="" coords="2587,53,2858,112,2857,117,2586,58"/>
<area shape="rect" href="PmuppScript_8h.html" title="Scripting interface for mupp batch processing." alt="" coords="2740,115,2849,143"/>
<area shape="poly" title=" " alt="" coords="2588,61,2738,107,2736,112,2586,66"/>
<area shape="poly" title=" " alt="" coords="2740,143,2668,162,2592,193,2537,226,2487,264,2409,333,2406,329,2483,260,2534,222,2589,188,2666,157,2739,138"/>
<area shape="rect" title=" " alt="" coords="2648,342,2720,370"/>
<area shape="poly" title=" " alt="" coords="2791,144,2699,329,2694,327,2786,142"/>
<area shape="rect" title=" " alt="" coords="2441,342,2529,370"/>
<area shape="poly" title=" " alt="" coords="2752,146,2703,164,2646,190,2587,225,2535,268,2513,298,2498,329,2493,326,2509,295,2531,265,2584,221,2643,185,2701,159,2750,141"/>
<area shape="rect" href="PmuppAdmin_8h.html" title="Administration and configuration management for mupp application." alt="" coords="2819,266,2933,294"/>
<area shape="poly" title=" " alt="" coords="2804,142,2864,251,2859,254,2799,144"/>
<area shape="rect" href="Pmupp_8h.html" title="Core data structures and handler classes for mupp parameter management." alt="" coords="2545,266,2620,294"/>
<area shape="poly" title=" " alt="" coords="2778,145,2615,260,2612,255,2775,141"/>
<area shape="rect" href="PVarHandler_8h.html" title=" " alt="" coords="2132,191,2241,218"/>
<area shape="poly" title=" " alt="" coords="2740,143,2728,145,2468,178,2257,200,2257,194,2468,173,2727,140,2739,138"/>
<area shape="poly" title=" " alt="" coords="2819,289,2650,309,2433,344,2432,339,2649,304,2818,284"/>
<area shape="rect" title=" " alt="" coords="2743,342,2814,370"/>
<area shape="poly" title=" " alt="" coords="2860,297,2809,335,2806,331,2857,292"/>
<area shape="rect" title=" " alt="" coords="3194,342,3251,370"/>
<area shape="poly" title=" " alt="" coords="2934,288,3044,309,3179,339,3178,344,3043,314,2933,294"/>
<area shape="rect" title=" " alt="" coords="2838,342,2914,370"/>
<area shape="poly" title=" " alt="" coords="2878,295,2878,326,2873,326,2873,295"/>
<area shape="rect" title=" " alt="" coords="3030,342,3170,370"/>
<area shape="poly" title=" " alt="" coords="2917,292,3047,334,3045,339,2915,297"/>
<area shape="rect" href="mupp_8h.html" title="Header file for mupp (muon parameter plotter) main application." alt="" coords="2938,342,3006,370"/>
<area shape="poly" title=" " alt="" coords="2895,292,2944,330,2941,334,2891,297"/>
<area shape="rect" title=" " alt="" coords="3135,426,3222,454"/>
<area shape="poly" title=" " alt="" coords="3006,368,3132,418,3130,423,3004,373"/>
<area shape="rect" title=" " alt="" coords="2733,426,2805,454"/>
<area shape="poly" title=" " alt="" coords="2939,373,2820,420,2814,422,2812,417,2817,415,2937,368"/>
<area shape="rect" title=" " alt="" coords="2830,426,2911,454"/>
<area shape="poly" title=" " alt="" coords="2957,372,2900,418,2896,414,2954,368"/>
<area shape="rect" title=" " alt="" coords="3033,426,3111,454"/>
<area shape="poly" title=" " alt="" coords="2990,368,3046,414,3043,418,2986,372"/>
<area shape="poly" title=" " alt="" coords="2548,297,2433,339,2431,334,2546,292"/>
<area shape="poly" title=" " alt="" coords="2545,293,2343,344,2341,339,2544,288"/>
<area shape="poly" title=" " alt="" coords="2602,292,2655,331,2652,335,2599,297"/>
<area shape="poly" title=" " alt="" coords="2567,297,2516,335,2513,331,2563,292"/>
<area shape="poly" title=" " alt="" coords="2618,292,2731,334,2729,339,2617,297"/>
<area shape="rect" title=" " alt="" coords="2554,342,2624,370"/>
<area shape="poly" title=" " alt="" coords="2586,294,2589,326,2584,327,2581,295"/>
<area shape="poly" title=" " alt="" coords="2205,217,2356,330,2353,335,2202,221"/>
<area shape="poly" title=" " alt="" coords="2242,213,2530,266,2529,272,2241,219"/>
<area shape="rect" title=" " alt="" coords="933,426,989,454"/>
<area shape="poly" title=" " alt="" coords="2131,210,1853,221,1463,245,1271,262,1103,285,1034,298,977,312,936,327,913,344,906,360,910,378,921,397,936,413,932,417,917,400,905,380,901,360,908,340,934,323,976,307,1032,293,1102,280,1270,257,1463,239,1853,215,2131,205"/>
<area shape="rect" title=" " alt="" coords="2120,426,2178,454"/>
<area shape="poly" title=" " alt="" coords="2187,219,2156,411,2151,410,2182,218"/>
<area shape="rect" href="PAst_8hpp.html" title=" " alt="" coords="536,342,611,370"/>
<area shape="poly" title=" " alt="" coords="2131,209,1870,212,1493,221,1110,239,950,252,830,269,771,283,713,301,617,338,615,333,712,296,770,278,829,264,949,247,1109,234,1493,216,1870,207,2131,204"/>
<area shape="rect" href="PProgram_8hpp.html" title=" " alt="" coords="1401,266,1510,294"/>
<area shape="poly" title=" " alt="" coords="2132,214,1526,274,1526,269,2131,209"/>
<area shape="rect" title=" " alt="" coords="586,418,739,462"/>
<area shape="poly" title=" " alt="" coords="589,368,629,405,626,409,586,372"/>
<area shape="rect" title=" " alt="" coords="403,418,562,462"/>
<area shape="poly" title=" " alt="" coords="560,372,519,409,516,405,557,368"/>
<area shape="rect" title=" " alt="" coords="763,418,909,462"/>
<area shape="poly" title=" " alt="" coords="612,366,753,410,751,415,611,372"/>
<area shape="rect" title=" " alt="" coords="5,418,152,462"/>
<area shape="poly" title=" " alt="" coords="535,364,379,385,167,420,166,415,378,380,535,359"/>
<area shape="rect" title=" " alt="" coords="176,426,315,454"/>
<area shape="poly" title=" " alt="" coords="536,369,327,420,311,424,309,419,326,415,534,364"/>
<area shape="rect" title=" " alt="" coords="339,426,378,454"/>
<area shape="poly" title=" " alt="" coords="536,369,467,390,392,420,391,420,388,416,389,415,466,385,534,364"/>
<area shape="poly" title=" " alt="" coords="1401,286,1276,293,1126,304,994,321,949,332,926,344,919,359,921,377,929,396,941,413,937,416,925,398,916,379,914,359,922,340,947,327,993,316,1125,299,1276,288,1401,281"/>
<area shape="poly" title=" " alt="" coords="1511,280,1664,286,1857,297,2030,314,2091,326,2125,340,2138,355,2146,373,2153,410,2147,411,2141,375,2134,358,2122,344,2090,331,2029,319,1857,302,1664,291,1511,286"/>
<area shape="poly" title=" " alt="" coords="1401,289,626,353,626,347,1400,283"/>
<area shape="rect" title=" " alt="" coords="1314,342,1363,370"/>
<area shape="poly" title=" " alt="" coords="1436,297,1373,336,1370,332,1433,292"/>
<area shape="rect" href="PErrorHandler_8hpp.html" title=" " alt="" coords="936,342,1072,370"/>
<area shape="poly" title=" " alt="" coords="1401,293,1088,344,1087,338,1400,288"/>
<area shape="rect" title=" " alt="" coords="1387,342,1525,370"/>
<area shape="poly" title=" " alt="" coords="1458,295,1458,326,1453,326,1453,295"/>
<area shape="rect" title=" " alt="" coords="1549,342,1704,370"/>
<area shape="poly" title=" " alt="" coords="1487,292,1583,333,1581,338,1485,297"/>
<area shape="rect" title=" " alt="" coords="1728,342,1896,370"/>
<area shape="poly" title=" " alt="" coords="1512,290,1734,336,1733,341,1511,295"/>
<area shape="rect" title=" " alt="" coords="1920,342,2112,370"/>
<area shape="poly" title=" " alt="" coords="1511,286,1905,337,1904,343,1511,291"/>
<area shape="rect" title=" " alt="" coords="1096,342,1290,370"/>
<area shape="poly" title=" " alt="" coords="1410,297,1256,340,1254,335,1408,292"/>
<area shape="poly" title=" " alt="" coords="1073,366,1084,367,1264,376,1487,378,2007,372,2274,370,2525,375,2747,389,2842,400,2924,415,2934,418,2932,423,2923,420,2841,406,2747,394,2525,381,2274,376,2007,377,1487,383,1263,381,1084,372,1072,371"/>
<area shape="poly" title=" " alt="" coords="999,371,977,414,973,411,995,369"/>
<area shape="poly" title=" " alt="" coords="1073,366,1084,367,1389,395,1687,415,2104,435,2104,440,1687,421,1389,401,1084,372,1072,371"/>
<area shape="rect" title=" " alt="" coords="1014,426,1082,454"/>
<area shape="poly" title=" " alt="" coords="1013,369,1036,411,1031,414,1009,372"/>
</map>
</div>
</div>
<p><a href="PmuppScript_8cpp_source.html">Go to the source code of this file.</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of the mupp scripting interface for batch processing. </p>
<p>This file implements the non-interactive scripting system for mupp, enabling automated batch processing of parameter data analysis and plotting tasks.</p>
<p>Key functionality implemented:</p><ul>
<li>Script command parsing and execution</li>
<li>Path management with environment variable expansion</li>
<li>Data collection loading and selection</li>
<li>X-Y axis parameter configuration</li>
<li>Variable expression evaluation and storage</li>
<li>ROOT macro generation with full plot specification</li>
<li>Batch mode plot creation via ROOT subprocess</li>
<li>Label formatting for publication-quality plots</li>
</ul>
<p>Script command processing: The executeScript() method processes commands sequentially, maintaining state throughout execution. Each command type (loadPath, load, select, x, y, var, norm, plot, macro) has a dedicated handler method.</p>
<p>ROOT macro generation: The macro() method creates complete ROOT C++ macros including:</p><ul>
<li>Data array definitions</li>
<li>TGraphAsymmErrors objects for error bars</li>
<li>Canvas and styling setup</li>
<li>Axis labels and ranges</li>
<li>Marker and color configuration</li>
<li>Optional normalization</li>
</ul>
<p>Variable system: Variables are mathematical expressions combining collection parameters. The var_cmd() method integrates with <a class="el" href="classPVarHandler.html" title="The PVarHandler class handles variable parsing, evaluation, and data management.">PVarHandler</a> for expression parsing and evaluation, enabling derived quantity calculations. </p>
<p class="definition">Definition in file <a class="el" href="PmuppScript_8cpp_source.html">PmuppScript.cpp</a>.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>