Files
musrfit/dump__header_8cpp.html
Gitea Actions b6fac619f9 Deploy site
2026-05-28 07:32:41 +00:00

635 lines
41 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>musrfit: /workspace/LMU/musrfit/src/dump_header.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="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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">musrfit<span id="projectnumber">&#160;1.10.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 */
$(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('',false,false,'search.php','Search',true);
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('dump__header_8cpp.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">dump_header.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;unistd.h&gt;</code><br />
<code>#include &lt;cerrno&gt;</code><br />
<code>#include &lt;cctype&gt;</code><br />
<code>#include &lt;cstring&gt;</code><br />
<code>#include &lt;ctime&gt;</code><br />
<code>#include &lt;cassert&gt;</code><br />
<code>#include &lt;cstddef&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;fstream&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;boost/algorithm/string.hpp&gt;</code><br />
<code>#include &lt;TObject.h&gt;</code><br />
<code>#include &lt;TObjArray.h&gt;</code><br />
<code>#include &lt;TObjString.h&gt;</code><br />
<code>#include &lt;TFile.h&gt;</code><br />
<code>#include &lt;TFolder.h&gt;</code><br />
<code>#include &lt;TString.h&gt;</code><br />
<code>#include &lt;TH1F.h&gt;</code><br />
<code>#include &lt;TKey.h&gt;</code><br />
<code>#include &quot;<a class="el" href="PFindRun_8h_source.html">PFindRun.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="PStartupHandler_8h_source.html">PStartupHandler.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="TMusrRunHeader_8h_source.html">TMusrRunHeader.h</a>&quot;</code><br />
<code>#include &quot;TLemRunHeader.h&quot;</code><br />
<code>#include &quot;<a class="el" href="MuSR__td__PSI__bin_8h_source.html">MuSR_td_PSI_bin.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mud_8h_source.html">mud.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for dump_header.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="dump__header_8cpp__incl.png" border="0" usemap="#a_2workspace_2LMU_2musrfit_2src_2dump__header_8cpp" alt=""/></div>
<map name="a_2workspace_2LMU_2musrfit_2src_2dump__header_8cpp" id="a_2workspace_2LMU_2musrfit_2src_2dump__header_8cpp">
<area shape="rect" title=" " alt="" coords="1200,5,1370,50"/>
<area shape="rect" title=" " alt="" coords="5,98,75,126"/>
<area shape="poly" title=" " alt="" coords="1200,31,1003,32,730,40,414,61,251,78,90,101,90,95,250,73,414,56,730,35,1003,26,1200,25"/>
<area shape="rect" title=" " alt="" coords="99,98,160,126"/>
<area shape="poly" title=" " alt="" coords="1200,31,1016,32,763,40,473,62,323,79,175,101,174,95,322,73,472,56,763,35,1016,26,1200,25"/>
<area shape="rect" title=" " alt="" coords="184,98,243,126"/>
<area shape="poly" title=" " alt="" coords="1200,32,1027,36,794,46,529,67,394,82,262,101,259,101,258,96,261,95,393,76,528,61,793,41,1027,30,1200,27"/>
<area shape="rect" title=" " alt="" coords="141,174,203,201"/>
<area shape="poly" title=" " alt="" coords="1200,33,1000,38,746,49,501,70,400,84,325,101,290,114,257,131,202,166,199,162,255,126,288,109,323,95,399,78,500,64,746,44,1000,33,1200,28"/>
<area shape="rect" title=" " alt="" coords="1477,98,1531,126"/>
<area shape="poly" title=" " alt="" coords="1344,48,1463,92,1461,97,1342,53"/>
<area shape="rect" title=" " alt="" coords="1555,98,1618,126"/>
<area shape="poly" title=" " alt="" coords="1368,48,1540,95,1539,100,1366,53"/>
<area shape="rect" title=" " alt="" coords="1643,98,1709,126"/>
<area shape="poly" title=" " alt="" coords="1371,42,1628,95,1627,100,1370,47"/>
<area shape="rect" title=" " alt="" coords="227,174,301,201"/>
<area shape="poly" title=" " alt="" coords="1200,32,1009,35,770,45,650,54,540,66,447,81,377,100,351,113,327,130,288,164,284,160,324,125,348,109,375,96,445,76,539,60,650,48,770,40,1009,30,1200,27"/>
<area shape="rect" title=" " alt="" coords="326,174,394,201"/>
<area shape="poly" title=" " alt="" coords="1200,34,997,41,750,53,529,73,452,86,408,100,394,112,384,127,369,160,364,158,379,125,391,109,405,96,450,80,529,68,750,48,997,35,1200,28"/>
<area shape="rect" title=" " alt="" coords="1733,98,1803,126"/>
<area shape="poly" title=" " alt="" coords="1371,37,1529,60,1719,95,1718,100,1528,66,1371,42"/>
<area shape="rect" title=" " alt="" coords="552,174,608,201"/>
<area shape="poly" title=" " alt="" coords="1200,31,1057,33,889,43,807,51,733,64,672,80,628,100,615,112,604,127,589,160,585,158,599,125,611,109,625,96,670,75,732,58,806,46,888,37,1057,28,1200,26"/>
<area shape="rect" title=" " alt="" coords="603,249,661,277"/>
<area shape="poly" title=" " alt="" coords="1200,33,1078,39,938,50,809,70,758,84,721,100,690,129,667,165,650,202,640,235,635,234,645,200,662,162,686,125,719,96,757,79,808,65,937,45,1077,34,1200,28"/>
<area shape="rect" title=" " alt="" coords="1827,98,1898,126"/>
<area shape="poly" title=" " alt="" coords="1371,34,1569,57,1689,74,1812,95,1811,100,1688,79,1568,62,1371,39"/>
<area shape="rect" title=" " alt="" coords="1922,98,2110,126"/>
<area shape="poly" title=" " alt="" coords="1371,36,1907,95,1906,100,1371,41"/>
<area shape="rect" title=" " alt="" coords="1038,174,1117,201"/>
<area shape="poly" title=" " alt="" coords="1225,53,1183,73,1143,100,1115,130,1094,162,1089,159,1111,127,1140,96,1180,69,1222,48"/>
<area shape="rect" title=" " alt="" coords="1254,174,1346,201"/>
<area shape="poly" title=" " alt="" coords="1215,53,1185,67,1162,84,1150,103,1151,113,1155,124,1168,135,1188,146,1240,166,1238,171,1185,151,1164,139,1151,127,1145,114,1145,102,1158,80,1182,62,1213,48"/>
<area shape="rect" title=" " alt="" coords="1646,174,1743,201"/>
<area shape="poly" title=" " alt="" coords="1300,49,1330,88,1350,107,1372,123,1407,141,1437,151,1494,160,1555,163,1631,171,1630,176,1554,168,1494,166,1436,157,1404,145,1369,128,1346,112,1326,92,1296,52"/>
<area shape="rect" title=" " alt="" coords="2134,98,2196,126"/>
<area shape="poly" title=" " alt="" coords="1371,28,1512,33,1697,44,1906,64,2119,95,2118,100,1905,69,1696,49,1512,38,1371,33"/>
<area shape="rect" title=" " alt="" coords="1768,174,1848,201"/>
<area shape="poly" title=" " alt="" coords="1314,48,1372,92,1422,123,1469,140,1510,150,1582,157,1658,160,1752,171,1752,176,1657,165,1582,163,1509,155,1468,145,1420,128,1369,96,1311,53"/>
<area shape="rect" title=" " alt="" coords="846,249,922,277"/>
<area shape="poly" title=" " alt="" coords="1329,48,1419,96,1442,111,1466,123,1500,132,1536,137,1616,140,1772,133,1834,132,1857,135,1875,140,1886,150,1888,163,1880,181,1862,203,1847,210,1820,216,1731,227,1462,244,1162,257,938,263,938,258,1162,251,1462,239,1730,221,1819,211,1846,205,1858,199,1875,178,1882,163,1881,152,1872,145,1856,140,1833,138,1772,139,1616,146,1536,142,1499,137,1464,128,1439,116,1416,100,1327,53"/>
<area shape="rect" title=" " alt="" coords="2221,98,2286,126"/>
<area shape="poly" title=" " alt="" coords="1371,27,1525,32,1731,42,1966,63,2206,96,2206,101,1965,68,1731,48,1525,37,1371,33"/>
<area shape="rect" title=" " alt="" coords="2309,98,2371,126"/>
<area shape="poly" title=" " alt="" coords="1371,26,1539,28,1767,38,2028,59,2162,75,2294,95,2294,101,2161,80,2027,64,1767,43,1539,34,1371,31"/>
<area shape="rect" href="PFindRun_8h.html" title=" " alt="" coords="732,98,822,126"/>
<area shape="poly" title=" " alt="" coords="1200,45,838,103,837,98,1199,40"/>
<area shape="rect" href="PStartupHandler_8h.html" title=" " alt="" coords="896,98,1029,126"/>
<area shape="poly" title=" " alt="" coords="1200,53,1030,96,1028,91,1199,48"/>
<area shape="rect" href="TMusrRunHeader_8h.html" title=" " alt="" coords="1165,98,1302,126"/>
<area shape="poly" title=" " alt="" coords="1274,52,1252,86,1248,83,1269,49"/>
<area shape="rect" title=" " alt="" coords="2395,98,2528,126"/>
<area shape="poly" title=" " alt="" coords="1371,29,1800,49,2086,68,2379,95,2379,100,2085,73,1800,54,1371,34"/>
<area shape="rect" href="MuSR__td__PSI__bin_8h.html" title=" " alt="" coords="419,98,557,126"/>
<area shape="poly" title=" " alt="" coords="1200,39,923,64,576,101,572,101,572,96,576,95,922,59,1200,33"/>
<area shape="rect" href="mud_8h.html" title=" " alt="" coords="2552,98,2611,126"/>
<area shape="poly" title=" " alt="" coords="1371,28,1619,36,1950,49,2283,69,2425,81,2537,95,2536,101,2424,86,2283,74,1950,54,1619,41,1371,34"/>
<area shape="rect" href="PMusr_8h.html" title=" " alt="" coords="683,174,752,201"/>
<area shape="poly" title=" " alt="" coords="769,128,740,163,736,160,765,125"/>
<area shape="poly" title=" " alt="" coords="704,204,660,241,657,237,700,200"/>
<area shape="poly" title=" " alt="" coords="748,199,841,240,839,245,746,204"/>
<area shape="rect" title=" " alt="" coords="773,249,822,277"/>
<area shape="poly" title=" " alt="" coords="733,200,774,237,770,241,730,204"/>
<area shape="rect" title=" " alt="" coords="685,249,750,277"/>
<area shape="poly" title=" " alt="" coords="720,202,720,234,715,234,715,202"/>
<area shape="poly" title=" " alt="" coords="985,124,1046,163,1043,167,982,128"/>
<area shape="poly" title=" " alt="" coords="945,128,922,149,902,175,892,205,887,235,882,234,887,204,898,172,918,145,942,124"/>
<area shape="poly" title=" " alt="" coords="920,129,767,174,766,169,918,124"/>
<area shape="rect" title=" " alt="" coords="1141,174,1230,201"/>
<area shape="poly" title=" " alt="" coords="1003,124,1132,166,1130,171,1002,129"/>
<area shape="rect" title=" " alt="" coords="776,174,837,201"/>
<area shape="poly" title=" " alt="" coords="936,129,849,169,847,164,934,124"/>
<area shape="rect" title=" " alt="" coords="912,174,1013,201"/>
<area shape="poly" title=" " alt="" coords="965,126,965,158,960,158,960,126"/>
<area shape="poly" title=" " alt="" coords="1302,119,1400,139,1441,154,1467,172,1474,188,1467,203,1450,214,1421,223,1337,236,1226,243,1100,246,849,248,676,253,676,247,849,243,1100,241,1226,237,1336,230,1420,218,1447,209,1463,200,1469,188,1463,175,1439,158,1398,144,1301,124"/>
<area shape="poly" title=" " alt="" coords="1207,129,1120,169,1118,164,1204,124"/>
<area shape="poly" title=" " alt="" coords="1247,124,1280,160,1276,164,1243,128"/>
<area shape="poly" title=" " alt="" coords="1303,121,1631,171,1630,176,1302,126"/>
<area shape="poly" title=" " alt="" coords="1302,117,1532,142,1753,171,1752,176,1531,147,1302,123"/>
<area shape="poly" title=" " alt="" coords="1227,128,1204,162,1200,159,1223,125"/>
<area shape="rect" title=" " alt="" coords="1370,174,1454,201"/>
<area shape="poly" title=" " alt="" coords="1266,124,1367,165,1365,170,1264,129"/>
<area shape="rect" title=" " alt="" coords="1528,174,1622,201"/>
<area shape="poly" title=" " alt="" coords="1295,124,1513,170,1511,175,1294,129"/>
<area shape="poly" title=" " alt="" coords="424,129,219,175,218,170,423,124"/>
<area shape="poly" title=" " alt="" coords="449,129,316,172,315,167,447,124"/>
<area shape="poly" title=" " alt="" coords="466,129,397,168,394,164,464,124"/>
<area shape="poly" title=" " alt="" coords="506,124,554,162,550,166,503,128"/>
<area shape="poly" title=" " alt="" coords="496,125,514,160,542,200,567,221,594,239,591,243,564,225,538,203,509,163,491,127"/>
<area shape="rect" title=" " alt="" coords="418,174,478,201"/>
<area shape="poly" title=" " alt="" coords="483,127,465,161,460,159,479,125"/>
<area shape="rect" title=" " alt="" coords="2690,174,2752,201"/>
<area shape="poly" title=" " alt="" coords="2608,124,2684,164,2682,169,2605,129"/>
<area shape="rect" title=" " alt="" coords="2776,174,2842,201"/>
<area shape="poly" title=" " alt="" coords="2612,120,2762,168,2760,173,2611,125"/>
<area shape="rect" title=" " alt="" coords="2300,174,2367,201"/>
<area shape="poly" title=" " alt="" coords="2552,125,2541,128,2383,175,2381,170,2539,123,2550,120"/>
<area shape="rect" title=" " alt="" coords="2391,174,2462,201"/>
<area shape="poly" title=" " alt="" coords="2555,129,2469,169,2467,164,2553,124"/>
<area shape="rect" title=" " alt="" coords="2487,174,2574,201"/>
<area shape="poly" title=" " alt="" coords="2574,128,2551,162,2546,159,2570,125"/>
<area shape="rect" title=" " alt="" coords="2598,174,2666,201"/>
<area shape="poly" title=" " alt="" coords="2593,125,2616,159,2612,162,2588,128"/>
</map>
</div>
</div>
<p><a href="dump__header_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="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a1d41f0db5a60150b4f0c9bf2b98fed17" id="r_a1d41f0db5a60150b4f0c9bf2b98fed17"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d41f0db5a60150b4f0c9bf2b98fed17">DH_MUSR_ROOT</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a1d41f0db5a60150b4f0c9bf2b98fed17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86dde1d29179889f862c59fd3b27b6b" id="r_aa86dde1d29179889f862c59fd3b27b6b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa86dde1d29179889f862c59fd3b27b6b">DH_MUSR_ROOT_DIR</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:aa86dde1d29179889f862c59fd3b27b6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95ab559d00da8521283eb5b53b04af3b" id="r_a95ab559d00da8521283eb5b53b04af3b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a95ab559d00da8521283eb5b53b04af3b">DH_LEM_ROOT</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a95ab559d00da8521283eb5b53b04af3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a1ed3cfe1d4f77ae160d0bb23a02dcd9c" id="r_a1ed3cfe1d4f77ae160d0bb23a02dcd9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1ed3cfe1d4f77ae160d0bb23a02dcd9c">dump_header_syntax</a> ()</td></tr>
<tr class="separator:a1ed3cfe1d4f77ae160d0bb23a02dcd9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62aecdaddde303f4662ee5d9b754bf0d" id="r_a62aecdaddde303f4662ee5d9b754bf0d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a62aecdaddde303f4662ee5d9b754bf0d">dump_header_root</a> (const std::string fileName, const bool summary, const bool counts)</td></tr>
<tr class="separator:a62aecdaddde303f4662ee5d9b754bf0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abce939086c619ee7f91fbddb6270ffee" id="r_abce939086c619ee7f91fbddb6270ffee"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abce939086c619ee7f91fbddb6270ffee">dump_header_nexus</a> (const std::string fileName, const bool counts)</td></tr>
<tr class="separator:abce939086c619ee7f91fbddb6270ffee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae10345811c05e3bcebeeefba215bacd" id="r_aae10345811c05e3bcebeeefba215bacd"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aae10345811c05e3bcebeeefba215bacd">dump_header_instrument_info</a> (std::string fileName)</td></tr>
<tr class="separator:aae10345811c05e3bcebeeefba215bacd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ea711783a01d8c9e129eba6d7b23147" id="r_a7ea711783a01d8c9e129eba6d7b23147"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ea711783a01d8c9e129eba6d7b23147">dump_header_psi_bin</a> (const std::string fileName, const std::string fileFormat, const bool counts)</td></tr>
<tr class="separator:a7ea711783a01d8c9e129eba6d7b23147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebd3fbc177c00c44f9cde70cfeece5da" id="r_aebd3fbc177c00c44f9cde70cfeece5da"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aebd3fbc177c00c44f9cde70cfeece5da">dump_header_mud</a> (const std::string fileName, const bool counts)</td></tr>
<tr class="separator:aebd3fbc177c00c44f9cde70cfeece5da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f83ccb6ab8c1ead4c61c8814dc1101f" id="r_a8f83ccb6ab8c1ead4c61c8814dc1101f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8f83ccb6ab8c1ead4c61c8814dc1101f">dump_header_wkm</a> (const std::string fileName)</td></tr>
<tr class="separator:a8f83ccb6ab8c1ead4c61c8814dc1101f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67c5950a99d2b6f1996f4c0ceba0605d" id="r_a67c5950a99d2b6f1996f4c0ceba0605d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a67c5950a99d2b6f1996f4c0ceba0605d">dump_is_number</a> (const char *s)</td></tr>
<tr class="separator:a67c5950a99d2b6f1996f4c0ceba0605d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dffb5ad204da2c2729a761338784a6c" id="r_a1dffb5ad204da2c2729a761338784a6c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1dffb5ad204da2c2729a761338784a6c">dump_current_year</a> ()</td></tr>
<tr class="separator:a1dffb5ad204da2c2729a761338784a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97" id="r_a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a95ab559d00da8521283eb5b53b04af3b" name="a95ab559d00da8521283eb5b53b04af3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95ab559d00da8521283eb5b53b04af3b">&#9670;&#160;</a></span>DH_LEM_ROOT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DH_LEM_ROOT&#160;&#160;&#160;2</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00078">78</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00123">dump_header_root()</a>.</p>
</div>
</div>
<a id="a1d41f0db5a60150b4f0c9bf2b98fed17" name="a1d41f0db5a60150b4f0c9bf2b98fed17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d41f0db5a60150b4f0c9bf2b98fed17">&#9670;&#160;</a></span>DH_MUSR_ROOT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DH_MUSR_ROOT&#160;&#160;&#160;0</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00076">76</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00123">dump_header_root()</a>.</p>
</div>
</div>
<a id="aa86dde1d29179889f862c59fd3b27b6b" name="aa86dde1d29179889f862c59fd3b27b6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa86dde1d29179889f862c59fd3b27b6b">&#9670;&#160;</a></span>DH_MUSR_ROOT_DIR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DH_MUSR_ROOT_DIR&#160;&#160;&#160;1</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00077">77</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00123">dump_header_root()</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a1dffb5ad204da2c2729a761338784a6c" name="a1dffb5ad204da2c2729a761338784a6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dffb5ad204da2c2729a761338784a6c">&#9670;&#160;</a></span>dump_current_year()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dump_current_year </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>reads the current year from the system and converts it to a string.</p>
<dl class="section return"><dt>Returns</dt><dd>the current year as a string. </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00854">854</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="aae10345811c05e3bcebeeefba215bacd" name="aae10345811c05e3bcebeeefba215bacd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae10345811c05e3bcebeeefba215bacd">&#9670;&#160;</a></span>dump_header_instrument_info()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; std::string &gt; dump_header_instrument_info </td>
<td>(</td>
<td class="paramtype">std::string</td> <td class="paramname"><span class="paramname"><em>fileName</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>dump the instrument specific info for the PSI-BIN format.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileName</td><td>file name of the PSI-BIN.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string vector with the instrument specific info. </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00434">434</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00499">dump_header_psi_bin()</a>.</p>
</div>
</div>
<a id="aebd3fbc177c00c44f9cde70cfeece5da" name="aebd3fbc177c00c44f9cde70cfeece5da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebd3fbc177c00c44f9cde70cfeece5da">&#9670;&#160;</a></span>dump_header_mud()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dump_header_mud </td>
<td>(</td>
<td class="paramtype">const std::string</td> <td class="paramname"><span class="paramname"><em>fileName</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool</td> <td class="paramname"><span class="paramname"><em>counts</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>dump the header information of a MUD file. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileName</td><td>file name of the MUD file </td></tr>
<tr><td class="paramname">counts</td><td>bool, if true dump detector counts</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, 1 otherwise </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00607">607</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">References <a class="el" href="mud__friendly_8c_source.html#l00326">MUD_closeRead()</a>, <a class="el" href="mud__friendly_8c_source.html#l01646">MUD_getHistSecondsPerBin()</a>, and <a class="el" href="mud__friendly_8c_source.html#l00236">MUD_openRead()</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="abce939086c619ee7f91fbddb6270ffee" name="abce939086c619ee7f91fbddb6270ffee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abce939086c619ee7f91fbddb6270ffee">&#9670;&#160;</a></span>dump_header_nexus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dump_header_nexus </td>
<td>(</td>
<td class="paramtype">const std::string</td> <td class="paramname"><span class="paramname"><em>fileName</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool</td> <td class="paramname"><span class="paramname"><em>counts</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>dumps the header information of a NeXus file.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileName</td><td>file name of the NeXus file. </td></tr>
<tr><td class="paramname">counts</td><td>bool, if true dump detector counts</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, 1 otherwise </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00382">382</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">References <a class="el" href="PNeXus_8cpp_source.html#l00100">nxs::checkHDFType()</a>, <a class="el" href="PNeXus_8h_source.html#l00142">nxs::HDF4</a>, <a class="el" href="PNeXus_8h_source.html#l00143">nxs::HDF5</a>, and <a class="el" href="PNeXus_8h_source.html#l00144">nxs::Unknown</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="a7ea711783a01d8c9e129eba6d7b23147" name="a7ea711783a01d8c9e129eba6d7b23147"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ea711783a01d8c9e129eba6d7b23147">&#9670;&#160;</a></span>dump_header_psi_bin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dump_header_psi_bin </td>
<td>(</td>
<td class="paramtype">const std::string</td> <td class="paramname"><span class="paramname"><em>fileName</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string</td> <td class="paramname"><span class="paramname"><em>fileFormat</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool</td> <td class="paramname"><span class="paramname"><em>counts</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>dump the header information of a PSI-BIN file.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileName</td><td>file name of the PSI-BIN </td></tr>
<tr><td class="paramname">fileFormat</td><td>either PSI-BIN or PSI-MDU </td></tr>
<tr><td class="paramname">counts</td><td>bool, if true dump detector counts</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, 1 otherwise </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00499">499</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">References <a class="el" href="dump__header_8cpp_source.html#l00434">dump_header_instrument_info()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03287">MuSR_td_PSI_bin::GetBinWidthNanoSec()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03896">MuSR_td_PSI_bin::GetComment()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l04139">MuSR_td_PSI_bin::GetDevTemperaturesVector()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03341">MuSR_td_PSI_bin::GetEventsHistoLong()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03818">MuSR_td_PSI_bin::GetField()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03488">MuSR_td_PSI_bin::GetFirstGoodInt()</a>, <a class="el" href="MuSR__td__PSI__bin_8h_source.html#l00269">MuSR_td_PSI_bin::GetHistoLengthBin()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03546">MuSR_td_PSI_bin::GetLastGoodInt()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03934">MuSR_td_PSI_bin::GetNameHisto()</a>, <a class="el" href="MuSR__td__PSI__bin_8h_source.html#l00272">MuSR_td_PSI_bin::GetNumberHistoInt()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03779">MuSR_td_PSI_bin::GetOrient()</a>, <a class="el" href="MuSR__td__PSI__bin_8h_source.html#l00317">MuSR_td_PSI_bin::GetRunNumberInt()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03701">MuSR_td_PSI_bin::GetSample()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03408">MuSR_td_PSI_bin::GetT0Int()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l03740">MuSR_td_PSI_bin::GetTemp()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l04097">MuSR_td_PSI_bin::GetTemperaturesVector()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l04182">MuSR_td_PSI_bin::GetTimeStartVector()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l04236">MuSR_td_PSI_bin::GetTimeStopVector()</a>, <a class="el" href="MuSR__td__PSI__bin_8cpp_source.html#l00081">MuSR_td_PSI_bin::Read()</a>, and <a class="el" href="PStartupHandler_8cpp_source.html#l00106">status</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="a62aecdaddde303f4662ee5d9b754bf0d" name="a62aecdaddde303f4662ee5d9b754bf0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62aecdaddde303f4662ee5d9b754bf0d">&#9670;&#160;</a></span>dump_header_root()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dump_header_root </td>
<td>(</td>
<td class="paramtype">const std::string</td> <td class="paramname"><span class="paramname"><em>fileName</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool</td> <td class="paramname"><span class="paramname"><em>summary</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool</td> <td class="paramname"><span class="paramname"><em>counts</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>dumps header of a ROOT file.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileName</td><td>file name of the ROOT file </td></tr>
<tr><td class="paramname">summary</td><td>bool, if true dump the summary </td></tr>
<tr><td class="paramname">counts</td><td>bool, if true dump detector counts</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise 1. </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00123">123</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">References <a class="el" href="dump__header_8cpp_source.html#l00078">DH_LEM_ROOT</a>, <a class="el" href="dump__header_8cpp_source.html#l00076">DH_MUSR_ROOT</a>, and <a class="el" href="dump__header_8cpp_source.html#l00077">DH_MUSR_ROOT_DIR</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="a1ed3cfe1d4f77ae160d0bb23a02dcd9c" name="a1ed3cfe1d4f77ae160d0bb23a02dcd9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ed3cfe1d4f77ae160d0bb23a02dcd9c">&#9670;&#160;</a></span>dump_header_syntax()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dump_header_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>dump help to stdout. </p>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00084">84</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="a8f83ccb6ab8c1ead4c61c8814dc1101f" name="a8f83ccb6ab8c1ead4c61c8814dc1101f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f83ccb6ab8c1ead4c61c8814dc1101f">&#9670;&#160;</a></span>dump_header_wkm()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dump_header_wkm </td>
<td>(</td>
<td class="paramtype">const std::string</td> <td class="paramname"><span class="paramname"><em>fileName</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>dump the header information of a WKM file. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileName</td><td>file name of the WKM file.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, 1 otherwise </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00801">801</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="a67c5950a99d2b6f1996f4c0ceba0605d" name="a67c5950a99d2b6f1996f4c0ceba0605d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67c5950a99d2b6f1996f4c0ceba0605d">&#9670;&#160;</a></span>dump_is_number()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool dump_is_number </td>
<td>(</td>
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>s</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>checks if a string is a number</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>number string to be checked</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if 's' is a number, false otherwise </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00832">832</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00881">main()</a>.</p>
</div>
</div>
<a id="a0ddf1224851353fc92bfbff6f499fa97" name="a0ddf1224851353fc92bfbff6f499fa97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ddf1224851353fc92bfbff6f499fa97">&#9670;&#160;</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>[]&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>dump_header allows to dump the header (meta) information for various muSR specific file formats.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">argc</td><td>argument count </td></tr>
<tr><td class="paramname">argv</td><td>argument list</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, 1 otherwise </dd></dl>
<p class="definition">Definition at line <a class="el" href="dump__header_8cpp_source.html#l00881">881</a> of file <a class="el" href="dump__header_8cpp_source.html">dump_header.cpp</a>.</p>
<p class="reference">References <a class="el" href="dump__header_8cpp_source.html#l00854">dump_current_year()</a>, <a class="el" href="dump__header_8cpp_source.html#l00607">dump_header_mud()</a>, <a class="el" href="dump__header_8cpp_source.html#l00382">dump_header_nexus()</a>, <a class="el" href="dump__header_8cpp_source.html#l00499">dump_header_psi_bin()</a>, <a class="el" href="dump__header_8cpp_source.html#l00123">dump_header_root()</a>, <a class="el" href="dump__header_8cpp_source.html#l00084">dump_header_syntax()</a>, <a class="el" href="dump__header_8cpp_source.html#l00801">dump_header_wkm()</a>, <a class="el" href="dump__header_8cpp_source.html#l00832">dump_is_number()</a>, <a class="el" href="PFindRun_8cpp_source.html#l00133">PFindRun::FoundPathName()</a>, <a class="el" href="PFindRun_8h_source.html#l00128">PFindRun::GetPathName()</a>, <a class="el" href="PStartupHandler_8h.html#a2f473e587e18e6a64b260870ec870a5e">parseXmlFile()</a>, <a class="el" href="PStartupHandler_8cpp_source.html#l00084">startup_path_name</a>, and <a class="el" href="PStartupHandler_8cpp_source.html#l00106">status</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dump__header_8cpp.html">dump_header.cpp</a></li>
<li class="footer">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 </li>
</ul>
</div>
</body>
</html>