Skip to content

Commit

Permalink
Deploying to gh-pages from @ 0a4b703 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Nov 27, 2024
1 parent defedd1 commit d01e85b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GenieGenerator_8cxx_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160; <span class="comment">//cout &lt;&lt; &quot;Info GenieGenerator: prob2int &quot; &lt;&lt; prob2int &lt;&lt; &quot;, &quot; &lt;&lt; count &lt;&lt; endl;</span></div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; </div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; Double_t zrelative=<a class="code" href="namespacegeometry__config.html#a4487257c46b838ef1172b356289460c4">z</a>-<a class="code" href="classGenieGenerator.html#a0b934c83601ea29b2d32f9a2635ec686">ztarget</a>;</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; Double_t tof=TMath::Sqrt(<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a>*<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a>+<a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a>*<a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a>+zrelative*zrelative)/2.99792458e+6;</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; Double_t tof = TMath::Sqrt(<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a> * <a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a> + <a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a> * <a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a> + zrelative * zrelative) / 2.99792458e+10; <span class="comment">// speed of light in cm/s</span></div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; cpg-&gt;AddTrack(<a class="code" href="classGenieGenerator.html#a1c0fa21753f252e11ebbbd43ac06a6df">neu</a>,pout[0],pout[1],pout[2],<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a>,<a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a>,<a class="code" href="namespacegeometry__config.html#a4487257c46b838ef1172b356289460c4">z</a>,-1,<span class="keyword">false</span>,TMath::Sqrt(pout[0]*pout[0]+pout[1]*pout[1]+pout[2]*pout[2]),tof,<a class="code" href="namespacegetInteractionAndRadiationLength.html#aa0e9918aaad753c9ae2ef7d1cf39dc05">mparam</a>[0]*<a class="code" href="namespacegetInteractionAndRadiationLength.html#aa0e9918aaad753c9ae2ef7d1cf39dc05">mparam</a>[4]);</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; <span class="keywordflow">if</span> (not <a class="code" href="classGenieGenerator.html#a4569f26c9518a1c247b6ac4b043c4c49">fNuOnly</a>){</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; <span class="comment">// second, outgoing lepton</span></div>
Expand Down
2 changes: 1 addition & 1 deletion classGenieGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a98dd71c509748749882f3685
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160; <span class="comment">//cout &lt;&lt; &quot;Info GenieGenerator: prob2int &quot; &lt;&lt; prob2int &lt;&lt; &quot;, &quot; &lt;&lt; count &lt;&lt; endl;</span></div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; </div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; Double_t zrelative=<a class="code" href="namespacegeometry__config.html#a4487257c46b838ef1172b356289460c4">z</a>-<a class="code" href="classGenieGenerator.html#a0b934c83601ea29b2d32f9a2635ec686">ztarget</a>;</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; Double_t tof=TMath::Sqrt(<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a>*<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a>+<a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a>*<a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a>+zrelative*zrelative)/2.99792458e+6;</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; Double_t tof = TMath::Sqrt(<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a> * <a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a> + <a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a> * <a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a> + zrelative * zrelative) / 2.99792458e+10; <span class="comment">// speed of light in cm/s</span></div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; cpg-&gt;AddTrack(<a class="code" href="classGenieGenerator.html#a1c0fa21753f252e11ebbbd43ac06a6df">neu</a>,pout[0],pout[1],pout[2],<a class="code" href="namespacegeometry__config.html#a1286b5c01494c311eb3a950d1ac8857c">x</a>,<a class="code" href="namespacegeometry__config.html#aa7c54d6eeebcc821b55222c6926f6740">y</a>,<a class="code" href="namespacegeometry__config.html#a4487257c46b838ef1172b356289460c4">z</a>,-1,<span class="keyword">false</span>,TMath::Sqrt(pout[0]*pout[0]+pout[1]*pout[1]+pout[2]*pout[2]),tof,<a class="code" href="namespacegetInteractionAndRadiationLength.html#aa0e9918aaad753c9ae2ef7d1cf39dc05">mparam</a>[0]*<a class="code" href="namespacegetInteractionAndRadiationLength.html#aa0e9918aaad753c9ae2ef7d1cf39dc05">mparam</a>[4]);</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; <span class="keywordflow">if</span> (not <a class="code" href="classGenieGenerator.html#a4569f26c9518a1c247b6ac4b043c4c49">fNuOnly</a>){</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; <span class="comment">// second, outgoing lepton</span></div>
Expand Down
1 change: 1 addition & 0 deletions md_CHANGELOG.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ <h2><a class="anchor" id="autotoc_md3"></a>
<ul>
<li>Use ConstructedAt instead of remove pythonization for TClonesArray</li>
<li>Octant symmetry was incorrect for B_z when using field maps (reported and fixed by M. Ferro-Luzzi)</li>
<li>Tof calculation corrected in <a class="el" href="GenieGenerator_8cxx.html">GenieGenerator.cxx</a>, wrong units previously used.</li>
</ul>
<h2><a class="anchor" id="autotoc_md4"></a>
Changed</h2>
Expand Down

0 comments on commit d01e85b

Please sign in to comment.