Files
musrfit/dump__header_8cpp.html
Gitea Actions 7039af84d2 Deploy site
2026-03-15 08:59:40 +00:00

632 lines
40 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 &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="1148,5,1318,50"/>
<area shape="rect" title=" " alt="" coords="5,98,75,126"/>
<area shape="poly" title=" " alt="" coords="1148,31,959,33,698,42,398,63,243,79,90,101,89,95,242,74,398,57,698,36,959,27,1148,26"/>
<area shape="rect" title=" " alt="" coords="99,98,160,126"/>
<area shape="poly" title=" " alt="" coords="1148,31,972,33,732,42,457,63,315,79,175,101,174,95,314,74,456,58,732,37,972,27,1148,26"/>
<area shape="rect" title=" " alt="" coords="184,98,243,126"/>
<area shape="poly" title=" " alt="" coords="1148,32,983,37,762,48,513,68,386,83,262,101,259,101,258,96,261,95,385,77,512,63,762,42,983,31,1147,27"/>
<area shape="rect" title=" " alt="" coords="141,174,203,201"/>
<area shape="poly" title=" " alt="" coords="1148,33,958,39,720,51,490,71,396,84,325,101,290,114,257,131,202,166,199,162,255,126,288,109,323,95,395,79,489,66,719,46,958,34,1148,28"/>
<area shape="rect" title=" " alt="" coords="1477,98,1531,126"/>
<area shape="poly" title=" " alt="" coords="1306,48,1463,95,1461,100,1304,53"/>
<area shape="rect" title=" " alt="" coords="1555,98,1618,126"/>
<area shape="poly" title=" " alt="" coords="1320,44,1540,95,1539,100,1318,49"/>
<area shape="rect" title=" " alt="" coords="1643,98,1709,126"/>
<area shape="poly" title=" " alt="" coords="1319,39,1460,62,1628,95,1627,100,1459,67,1319,44"/>
<area shape="rect" title=" " alt="" coords="227,174,301,201"/>
<area shape="poly" title=" " alt="" coords="1148,32,968,37,744,47,530,68,443,82,378,100,352,113,328,130,288,164,284,160,325,125,350,109,376,96,442,77,529,62,744,42,967,31,1148,27"/>
<area shape="rect" title=" " alt="" coords="326,174,394,201"/>
<area shape="poly" title=" " alt="" coords="1148,34,957,42,726,55,522,74,450,87,409,100,396,112,385,127,370,160,365,158,380,125,392,109,407,96,448,81,521,69,726,50,957,37,1147,29"/>
<area shape="rect" title=" " alt="" coords="1733,98,1803,126"/>
<area shape="poly" title=" " alt="" coords="1319,35,1499,58,1719,95,1718,100,1498,63,1319,41"/>
<area shape="rect" title=" " alt="" coords="552,174,608,201"/>
<area shape="poly" title=" " alt="" coords="1148,32,1016,35,864,46,790,54,723,66,668,81,628,100,615,112,604,127,589,160,585,158,599,125,611,109,625,96,666,76,722,61,789,49,863,40,1016,30,1148,26"/>
<area shape="rect" title=" " alt="" coords="603,249,661,277"/>
<area shape="poly" title=" " alt="" coords="1148,35,1037,41,913,53,799,73,754,85,721,100,690,129,667,165,651,202,640,235,635,234,646,200,662,162,686,125,719,96,752,80,798,67,912,48,1037,36,1148,29"/>
<area shape="rect" title=" " alt="" coords="1827,98,1898,126"/>
<area shape="poly" title=" " alt="" coords="1319,33,1539,55,1674,72,1812,95,1811,100,1673,78,1538,60,1319,38"/>
<area shape="rect" title=" " alt="" coords="1922,98,2110,126"/>
<area shape="poly" title=" " alt="" coords="1319,35,1906,95,1906,100,1319,40"/>
<area shape="rect" title=" " alt="" coords="1038,174,1117,201"/>
<area shape="poly" title=" " alt="" coords="1202,53,1145,100,1118,131,1096,162,1091,159,1113,128,1141,96,1199,49"/>
<area shape="rect" title=" " alt="" coords="1254,174,1346,201"/>
<area shape="poly" title=" " alt="" coords="1196,53,1175,69,1159,86,1151,106,1151,115,1155,124,1168,135,1188,146,1240,166,1238,171,1185,151,1164,139,1151,127,1146,116,1145,105,1154,84,1172,65,1193,49"/>
<area shape="rect" title=" " alt="" coords="1646,174,1743,201"/>
<area shape="poly" title=" " alt="" coords="1258,48,1308,87,1339,107,1372,123,1440,146,1497,156,1556,161,1631,171,1630,176,1555,166,1496,161,1439,151,1370,128,1337,112,1305,92,1255,52"/>
<area shape="rect" title=" " alt="" coords="2134,98,2196,126"/>
<area shape="poly" title=" " alt="" coords="1319,27,1468,31,1666,42,1890,62,2120,95,2119,100,1889,68,1665,47,1468,37,1319,32"/>
<area shape="rect" title=" " alt="" coords="1768,174,1848,201"/>
<area shape="poly" title=" " alt="" coords="1275,48,1422,123,1511,145,1584,154,1658,158,1753,171,1752,176,1658,164,1583,159,1510,151,1420,128,1273,53"/>
<area shape="rect" title=" " alt="" coords="846,249,922,277"/>
<area shape="poly" title=" " alt="" coords="1295,48,1413,96,1439,111,1466,123,1537,136,1616,139,1772,132,1834,131,1858,134,1875,140,1886,149,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,1883,162,1881,152,1873,144,1856,139,1834,137,1773,137,1616,144,1536,141,1465,128,1437,115,1411,100,1293,53"/>
<area shape="rect" title=" " alt="" coords="2221,98,2286,126"/>
<area shape="poly" title=" " alt="" coords="1319,27,1481,30,1700,41,1950,61,2079,76,2206,96,2206,101,2078,82,1949,67,1700,46,1481,36,1319,32"/>
<area shape="rect" href="PFindRun_8h.html" title=" " alt="" coords="732,98,822,126"/>
<area shape="poly" title=" " alt="" coords="1148,47,839,102,838,97,1147,42"/>
<area shape="rect" href="PStartupHandler_8h.html" title=" " alt="" coords="896,98,1029,126"/>
<area shape="poly" title=" " alt="" coords="1162,53,1021,96,1020,91,1161,48"/>
<area shape="rect" href="TMusrRunHeader_8h.html" title=" " alt="" coords="1165,98,1302,126"/>
<area shape="poly" title=" " alt="" coords="1236,50,1236,82,1231,82,1231,50"/>
<area shape="rect" title=" " alt="" coords="2309,98,2443,126"/>
<area shape="poly" title=" " alt="" coords="1319,29,1735,49,2011,69,2294,95,2294,100,2010,74,1734,55,1319,35"/>
<area shape="rect" href="MuSR__td__PSI__bin_8h.html" title=" " alt="" coords="419,98,557,126"/>
<area shape="poly" title=" " alt="" coords="1148,40,892,65,576,101,572,101,572,96,576,95,891,60,1147,34"/>
<area shape="rect" href="mud_8h.html" title=" " alt="" coords="2466,98,2526,126"/>
<area shape="poly" title=" " alt="" coords="1319,29,1882,49,2205,69,2342,81,2451,95,2451,101,2342,87,2204,74,1882,55,1319,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="1301,124,1404,147,1445,160,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,1443,165,1402,153,1299,129"/>
<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="2605,174,2667,201"/>
<area shape="poly" title=" " alt="" coords="2522,124,2599,164,2596,169,2520,129"/>
<area shape="rect" title=" " alt="" coords="2691,174,2757,201"/>
<area shape="poly" title=" " alt="" coords="2527,120,2677,168,2675,173,2525,125"/>
<area shape="rect" title=" " alt="" coords="2214,174,2282,201"/>
<area shape="poly" title=" " alt="" coords="2467,125,2455,128,2297,175,2296,170,2454,123,2465,120"/>
<area shape="rect" title=" " alt="" coords="2306,174,2377,201"/>
<area shape="poly" title=" " alt="" coords="2469,129,2384,169,2381,164,2467,124"/>
<area shape="rect" title=" " alt="" coords="2402,174,2489,201"/>
<area shape="poly" title=" " alt="" coords="2489,128,2465,162,2461,159,2485,125"/>
<area shape="rect" title=" " alt="" coords="2513,174,2580,201"/>
<area shape="poly" title=" " alt="" coords="2507,125,2531,159,2527,162,2503,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#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#l00122">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#l00075">75</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#l00122">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#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#l00122">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#l00838">838</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#l00865">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#l00418">418</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#l00483">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#l00591">591</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#l00865">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#l00366">366</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#l00865">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#l00483">483</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#l00418">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#l00865">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#l00122">122</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#l00077">DH_LEM_ROOT</a>, <a class="el" href="dump__header_8cpp_source.html#l00075">DH_MUSR_ROOT</a>, and <a class="el" href="dump__header_8cpp_source.html#l00076">DH_MUSR_ROOT_DIR</a>.</p>
<p class="reference">Referenced by <a class="el" href="dump__header_8cpp_source.html#l00865">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#l00083">83</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#l00865">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#l00785">785</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#l00865">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#l00816">816</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#l00865">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#l00865">865</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#l00838">dump_current_year()</a>, <a class="el" href="dump__header_8cpp_source.html#l00591">dump_header_mud()</a>, <a class="el" href="dump__header_8cpp_source.html#l00366">dump_header_nexus()</a>, <a class="el" href="dump__header_8cpp_source.html#l00483">dump_header_psi_bin()</a>, <a class="el" href="dump__header_8cpp_source.html#l00122">dump_header_root()</a>, <a class="el" href="dump__header_8cpp_source.html#l00083">dump_header_syntax()</a>, <a class="el" href="dump__header_8cpp_source.html#l00785">dump_header_wkm()</a>, <a class="el" href="dump__header_8cpp_source.html#l00816">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>