<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi all,<br>
<br>
I added the DIRC detector into the HDGeant HDDS geometry. For more
details, refer to the following elog entry: <br>
<a class="moz-txt-link-freetext"
href="https://halldweb1.jlab.org/elog-halld/PID_Upgrade/10">https://halldweb1.jlab.org/elog-halld/PID_Upgrade/10</a><br>
<br>
The RICH library has also been updated with a new RichTruthHit
factory to extract all useful information of particles entering the
DIRC. Accordingly, the JANA plugin mc_tree has been updated too to
utilize this new factory.<br>
<br>
Let me know if you have any questions using the new codes, and
attached is an example of accumulated hits generated by 4GeV pions
(1000 events).<br>
<br>
Cheers,<br>
Yi
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
</th>
<td>[Halld-elog][PID-Upgrade] HDGeant (GEANT3) Simulation of
DIRC</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date: </th>
<td>Tue, 08 Oct 2013 16:04:33 -0400</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">From: </th>
<td>Yi Qiang <a class="moz-txt-link-rfc2396E" href="mailto:yqiang@jlab.org"><yqiang@jlab.org></a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
<td>Yi Qiang <a class="moz-txt-link-rfc2396E" href="mailto:yqiang@jlab.org"><yqiang@jlab.org></a>, Baptiste Guegan
<a class="moz-txt-link-rfc2396E" href="mailto:guegan@mit.edu"><guegan@mit.edu></a>, Mark Dalton
<a class="moz-txt-link-rfc2396E" href="mailto:dalton@jlab.org"><dalton@jlab.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<title>PID_Upgrade - HDGeant (GEANT3) Simulation of DIRC</title>
<link rel="stylesheet" type="text/css"
href="https://halldweb1.jlab.org/elog-halld/PID_Upgrade/default.css">
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.png" type="image/png">
<table class="frame" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<table class="listframe" width="100%" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td class="title1">
An old ELOG entry has been updated:</td>
</tr>
<tr>
<td class="attribhead">
<input name="Author" value="Yi Qiang"
type="hidden">
<input name="Project" value="DIRC" type="hidden">
<input name="Category" value="Simulation"
type="hidden">
<input name="Subject" value="HDGeant (GEANT3)
Simulation of DIRC" type="hidden">
<input name="browsing" value="1" type="hidden">
Logbook: <b>PID_Upgrade</b> Message ID: <a
moz-do-not-send="true"
href="https://halldweb1.jlab.org/elog-halld/PID_Upgrade/10"><b>10</b></a> Entry
time: <b>10/08/2013 13:00</b>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td class="attribname" nowrap="nowrap">Author:</td>
<td class="attribvalue">
Yi Qiang </td>
</tr>
<tr>
<td class="attribname" nowrap="nowrap">Project:</td>
<td class="attribvalue">
DIRC </td>
</tr>
<tr>
<td class="attribname" nowrap="nowrap">Category:</td>
<td class="attribvalue">
Simulation </td>
</tr>
<tr>
<td class="attribname" nowrap="nowrap">Subject:</td>
<td class="attribvalue">
HDGeant (GEANT3) Simulation of DIRC </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- listframe -->
</td>
</tr>
<tr>
<td class="messageframe">
<h2>hdds-1.5d</h2>
<p>Three files in existing hdds-1.5 has been
added/modified to include a DIRC detector in HDGeant:</p>
<ol>
<li>DIRC_HDDS.xml</li>
<li>main_HDDS.xml</li>
<li>Material_HDDS.xml</li>
</ol>
<p>At this momentum, since the detector is still
preliminary, the files are not included in the standard
Hall-D hdds release. Instead, one can check out these
three files from:</p>
<p><a moz-do-not-send="true"
href="https://halldsvn.jlab.org/repos/trunk/home/yqiang/HDDS/hdds-1.5d/">https://halldsvn.jlab.org/repos/trunk/home/yqiang/HDDS/hdds-1.5d/</a></p>
<p>Two sensitive volumes used to save hits are</p>
<ol>
<li><strong>RAWN</strong>: DIRC window, used to save
tracks entering DIRC sensitive area, produces <code><strong>RichTruthHit</strong></code></li>
<li><strong>RDCD</strong>: DIRC photo-cathode, used to
save photoelectrons collected by the readout, produce
<strong><code>RichHit</code></strong></li>
</ol>
<p>The geometry of the detector follows the attached
drawing. An aluminum box with 1mm wall thickness is used
to contain the detector, and the thickness is derived
from the effective radiation length brought by the BaBar
DIRC package ~ 17%(total) - 14%(quartz bar) = 3%(box).</p>
<h2>Visualization in HDGeant++</h2>
<h2>RICH Factories in sim-recon</h2>
<p>Since rev9775, the standard Hall-D reconstruction
package (<strong>sim-recon</strong>) includes the
necessary RICH library to process hits in RICH window (<strong>RAWN</strong>)
through <code>DMCTrackHit</code> factory and
photo-cathode (<strong>RDCD</strong>) through <code>DRichHit</code>
factory.</p>
<p>In order to extract all information of particles
entering RICH window, a new factory, <code><strong>DRichTruthHit</strong></code>,
has been added and checked in rev11686. The factory can
be used to save all information such as: <code>x, y, z,
px, py, pz, t, E, track, primary </code><code>and
ptype</code>:</p>
<p>RICH library: <a moz-do-not-send="true"
href="https://halldsvn.jlab.org/repos/trunk/sim-recon/src/libraries/RICH/">https://halldsvn.jlab.org/repos/trunk/sim-recon/src/libraries/RICH/</a></p>
<p>HDDM library: <a moz-do-not-send="true"
href="https://halldsvn.jlab.org/repos/trunk/sim-recon/src/libraries/HDDM/">https://halldsvn.jlab.org/repos/trunk/sim-recon/src/libraries/HDDM/</a></p>
<h2>JANA Plug-in</h2>
<p><strong>mc_tree</strong>: <a moz-do-not-send="true"
href="https://halldsvn.jlab.org/repos/trunk/sim-recon/src/programs/Analysis/plugins/mc_tree/">https://halldsvn.jlab.org/repos/trunk/sim-recon/src/programs/Analysis/plugins/mc_tree/</a></p>
<p>mc_tree has been updated to use the newly created <code><strong>DRichTruthHit</strong></code>
factory in rev11687.</p>
</td>
</tr>
</tbody>
</table>
<!-- show_standard_title -->
<center><a moz-do-not-send="true" class="bottomlink" title="Goto
ELOG home page" href="https://midas.psi.ch/elog/">ELOG
V2.9.0-2411</a></center>
<br>
</div>
<br>
</body>
</html>