<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Hi Parishan,
<div><br>
</div>
<div>Have you tried the hadd command? You can read more about here: <a href="https://opengate.readthedocs.io/en/latest/data_output_management.html?highlight=Hadd#how-to-merge-root-files">https://opengate.readthedocs.io/en/latest/data_output_management.html?highlight=Hadd#how-to-merge-root-files</a>.</div>
<div><br>
Regards,<br>
<div dir="ltr">Matthew</div>
<div dir="ltr"><br>
<blockquote type="cite">On Dec 15, 2020, at 5:12 AM, Mohammad Reza Parishan <parishanmohammadreza@yahoo.com> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr"><!-- START CAUTION Box Code -->
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding:10px 0 10px 0" width="100%">
<tbody>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background:#707372;background-color:#707372;width:100%;border-radius:5px;overflow:hidden;">
<tbody>
<tr>
<td style="border-top:solid 8px #fbe122;padding:4px 8px;text-align:left;vertical-align:top;">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left">
<div style="font-family:Arial,sans-serif;font-size:12px;line-height:16px;text-align:left;color:#ffffff;">
<span style="font-weight:bold;font-size:12px;">CAUTION:</span> The Sender of this email is not from within Dalhousie.</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END CAUTION Box Code -->
<div>
<div class="ydp667d4c12yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">
<div dir="ltr" data-setdir="false">
<div><font face="verdana, helvetica, sans-serif">Dear Gate Users,<br>
<br>
<br>
I want to merge "db-*.root" files produced with run of "runall-elements.sh" in  "~/GateContrib-master/imaging/vpgtle/stage0" directory. The 25 produced "db-*.root" files are in "output" directory. I run "$python pgdb.merge.py 25 output", but ".root" files are
 not find. Screenshot of terminal is attached.<br>
<br>
Thank you for your help!<br>
<br>
Best,<br>
<br>
<br>
Parishan</font></div>
<div><br>
</div>
</div>
</div>
</div>
<div><terminalScreenshot.png></div>
<span>_______________________________________________</span><br>
<span>Gate-users mailing list</span><br>
<span>Gate-users@lists.opengatecollaboration.org</span><br>
<span>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</span></div>
</blockquote>
</div>
</body>
</html>