Newer
Older
FairShipTools / Katerina / doc / html / FitTrackInfo_8py_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Python: FitTrackInfo.py Source File</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>
<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 style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Python
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">FitTrackInfo.py</div>  </div>
</div><!--header-->
<div class="contents">
<a href="FitTrackInfo_8py.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="namespaceFitTrackInfo.html">    1</a></span>&#160;<span class="keyword">import</span> ROOT,os,sys,getopt</div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="keyword">import</span> rootUtils <span class="keyword">as</span> ut</div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">import</span> shipunit <span class="keyword">as</span> u</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html">    5</a></span>&#160;<span class="keyword">class </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html">FitTrackInfo</a>(object):</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;  </div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#af3e907074fbe06aab3d699849853be64">    7</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af3e907074fbe06aab3d699849853be64">__init__</a>(self, tree, debug=0):</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#af1381264a949de89496214a21a357ad0">    8</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af1381264a949de89496214a21a357ad0">tree</a>     = tree</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a3c02c618bd7f3f40c33ee3f771ff7b46">    9</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a3c02c618bd7f3f40c33ee3f771ff7b46">debug</a>    = debug</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a35e23328aa14739db53b3611db5aaf41">   10</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a35e23328aa14739db53b3611db5aaf41">count</a>         = 0</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">   11</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>      = {}</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">   12</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>     = {}</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">   13</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>      = {}</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">   14</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>          = {}</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a1c85842aa6432c7dce5ebfc3a85d66cc">   15</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a1c85842aa6432c7dce5ebfc3a85d66cc">Vertex</a>        = <span class="keywordtype">None</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#aabec328dcedc75c3e695969e94da19e1">   16</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aabec328dcedc75c3e695969e94da19e1">Doca</a>          = <span class="keywordtype">None</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="comment"># 0 orig, 1 refit, -1 failed refit</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#af6bf8ba5acc60709e6de5fe8894c6b72">   18</a></span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af6bf8ba5acc60709e6de5fe8894c6b72">vertexEFlag</a>    = 0 </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#aef5feed98b17982ab58e5d8734d34fbf">   20</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aef5feed98b17982ab58e5d8734d34fbf">clean</a>(self): </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a35e23328aa14739db53b3611db5aaf41">count</a> = 0</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    self.Momentum.clear()</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    self.Direction.clear()</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    self.Position.clear()</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    self.__info.clear()</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a1c85842aa6432c7dce5ebfc3a85d66cc">Vertex</a> = <span class="keywordtype">None</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aabec328dcedc75c3e695969e94da19e1">Doca</a>   = <span class="keywordtype">None</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#ad1f3fa11bc3f13e1721c3ff89d63a05a">   29</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#ad1f3fa11bc3f13e1721c3ff89d63a05a">Print</a>(self):</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;FitTrackInfo:&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keywordflow">for</span> tid <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>:</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;\t&quot;</span>, tid, <span class="stringliteral">&quot;{:10.4f}&quot;</span>.format(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[tid][<span class="stringliteral">&#39;Ndf&#39;</span>]), <span class="stringliteral">&quot;{:10.4f}&quot;</span>.format(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[tid][<span class="stringliteral">&#39;Chi2&#39;</span>]), </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;  pos:&quot;</span>, <span class="stringliteral">&quot;  &quot;</span>.join(<span class="stringliteral">&quot;{:10.4f}&quot;</span>.format(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[tid](ii)) <span class="keywordflow">for</span> ii <span class="keywordflow">in</span> range(0,3)),</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;  mom:&quot;</span>, <span class="stringliteral">&quot;  &quot;</span>.join(<span class="stringliteral">&quot;{:10.4f}&quot;</span>.format(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[tid](ii)*self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>[tid]) <span class="keywordflow">for</span> ii <span class="keywordflow">in</span> range(0,3)), </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;  P:&quot;</span>, <span class="stringliteral">&quot;{:10.4f}&quot;</span>.format(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>[tid])</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;      </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <span class="comment">## \brief returns list of keys #__info .</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <span class="comment">#  \return list of MCtrackIDs of fitted tracks.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a6b5f1bb99d9c2afb5fd80d6f3d63ca54">   39</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a6b5f1bb99d9c2afb5fd80d6f3d63ca54">getTrIDs</a>(self):</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    trID = []</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordflow">for</span> tid <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>:</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;      trID.append(tid)</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordflow">return</span> trID</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#ae2c9feeabdb2fc695e12632a3ae55b4d">   45</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#ae2c9feeabdb2fc695e12632a3ae55b4d">getNtracks</a>(self) : </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keywordflow">return</span> len(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>)</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a92f458683ebf715d843368f9578769bd">   48</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a92f458683ebf715d843368f9578769bd">getChi2Ndf</a>(self, tid):</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordflow">return</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[tid][<span class="stringliteral">&#39;Chi2&#39;</span>]/self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[tid][<span class="stringliteral">&#39;Ndf&#39;</span>]</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#ad589516aca8554502cc3bda88e1eac35">   51</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#ad589516aca8554502cc3bda88e1eac35">getNdf</a>(self, tid):</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordflow">return</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[tid][<span class="stringliteral">&#39;Ndf&#39;</span>]</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a0ebfe7a83bb63bc4c12a03cc6421ba9c">   54</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a0ebfe7a83bb63bc4c12a03cc6421ba9c">compareTracks</a>(self, tid, Pos, Dir, Pval):</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    false2 = (Pos==<span class="keywordtype">None</span> <span class="keywordflow">or</span> Dir==<span class="keywordtype">None</span> <span class="keywordflow">or</span> Pval==<span class="keywordtype">None</span>)</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    false1 = (<span class="keywordflow">not</span> tid <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordflow">if</span> (false2 <span class="keywordflow">and</span> false1): <span class="keywordflow">return</span> <span class="keyword">True</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordflow">if</span> (false2  <span class="keywordflow">or</span> false1): <span class="keywordflow">return</span> <span class="keyword">False</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordflow">return</span> ( (self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[tid]==Dir) <span class="keywordflow">and</span> (self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[tid]==Pos) <span class="keywordflow">and</span> (self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>[tid]==Pval) )</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#ab5f07a017a5aeb258f5628e86e91ffe4">   62</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#ab5f07a017a5aeb258f5628e86e91ffe4">getPosDirPval</a>(self, tid):</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordflow">if</span> <span class="keywordflow">not</span> tid <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>: <span class="keywordflow">return</span> <span class="keywordtype">None</span>, <span class="keywordtype">None</span>, <span class="keywordtype">None</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordflow">return</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[tid], self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[tid], self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>[tid]</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a6476ec8e615ad0eb0477cf349e6fce62">   66</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a6476ec8e615ad0eb0477cf349e6fce62">getVertex</a>(self)  : </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">return</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a1c85842aa6432c7dce5ebfc3a85d66cc">Vertex</a></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#afbb6f6755199352b214e2ce3530c1212">   69</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#afbb6f6755199352b214e2ce3530c1212">getDoca</a>(self):</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordflow">return</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aabec328dcedc75c3e695969e94da19e1">Doca</a></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a43c37531ba0e30d0aff01503e660768e">   72</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a43c37531ba0e30d0aff01503e660768e">myVertex2</a>(self, t1,t2):</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    deltaPos =(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[t1]-self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[t2])       <span class="comment"># A1-A2</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    dotDir   = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t1].Dot(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t2])   <span class="comment"># a1.a2</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    crossDir = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t1].Cross(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t2]) <span class="comment"># a1xa2</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    uPerpend = crossDir*(1./crossDir.Mag())     <span class="comment"># (a1xa2)/|a1xa2| from a1 to a2</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    minDist = deltaPos.Dot(uPerpend) <span class="comment"># (A1-A2).(a1xa2)/|a1xa2|</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="comment"># A1 + a1*t1 + (minDist * uPerpend)  is  (A1 + a1*t1) projected to the plane: </span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="comment">#                             1) A2+a2*t2 belons to the plane,  </span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="comment">#                             2) A1+a1*t1 is parallel to the plane</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="comment"># cross at t1,t2: A1+a1*t1+(minDist*uPerpend) = A2+a2*t2</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    t2X   = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t2].X()</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordflow">if</span> (t2X == 0) : t2X = 0.00000000001</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    a2a   = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t2].Y()/t2X</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    alpha = deltaPos - minDist*uPerpend</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    nomin = alpha.Y() - a2a*alpha.X()</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    denom = a2a*self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t1].X() - self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t1].Y()</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    s1    = nomin/denom</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    s2    = ( alpha.X() + self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t1].X()*s1 ) / t2X<span class="comment">#self.Direction[t2].X()</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    vec1 = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[t1]+s1*self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t1]</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    vec2 = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[t2]+s2*self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[t2]</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    ave  = (vec1+vec2)*0.5</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    dif  = vec1-vec2</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    debugNeed = <span class="keyword">False</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    if(abs(abs(minDist)-dif.Mag())&gt;0.00000001):</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;myVertex2 - problem:&quot;</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;      debugNeed = <span class="keyword">True</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    if(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a3c02c618bd7f3f40c33ee3f771ff7b46">debug</a>&gt;2 <span class="keywordflow">or</span> debugNeed):</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      <span class="keywordflow">for</span> tid <span class="keywordflow">in</span> (t1,t2):</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordflow">print</span> str(tid)+<span class="stringliteral">&quot;: Pos : &quot;</span>, <span class="stringliteral">&quot;&quot;</span>.join(str(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[tid](ii)) +<span class="stringliteral">&quot;   &quot;</span> <span class="keywordflow">for</span> ii <span class="keywordflow">in</span> range(0,3)),</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">print</span> <span class="stringliteral">&quot;\t\tMom : &quot;</span>,       <span class="stringliteral">&quot;&quot;</span>.join(str(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[tid](ii))+<span class="stringliteral">&quot;   &quot;</span> <span class="keywordflow">for</span> ii <span class="keywordflow">in</span> range(0,3))</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;uPerpend: &quot;</span>,<span class="stringliteral">&quot;&quot;</span>.join(str(uPerpend(ii))+<span class="stringliteral">&quot;  &quot;</span> <span class="keywordflow">for</span> ii <span class="keywordflow">in</span> range(0,3))</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    if(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a3c02c618bd7f3f40c33ee3f771ff7b46">debug</a>&gt;0 <span class="keywordflow">or</span> debugNeed):</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;fit vertex: -&gt; 1st poing : &quot;</span>, vec1.X(), vec1.Y(), vec1.Z()</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;fit vertex: -&gt; 2nd point : &quot;</span>, vec2.X(), vec2.Y(), vec2.Z()</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;fit vertex: -&gt; average   : &quot;</span>, ave.X(),  ave.Y(),  ave.Z()</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;distance&quot;</span>, abs(minDist), dif.Mag()</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordflow">return</span> ave, abs(minDist)</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a538cb3b5603337225459b3e902c4718b">  113</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a538cb3b5603337225459b3e902c4718b">readEvent</a>(self):</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aef5feed98b17982ab58e5d8734d34fbf">clean</a>()</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    indx = -1</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordflow">for</span> atrack <span class="keywordflow">in</span> self.tree.FitTracks:</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="comment">#  kill tracks outside fiducial volume</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="comment">#  if not checkFiducialVolume(sTree,key,dy): continue      </span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;      fitStatus   = atrack.getFitStatus()</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;      <span class="keywordflow">if</span> <span class="keywordflow">not</span> fitStatus.isFitConverged() : <span class="keywordflow">continue</span>    </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;      </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;      indx+=1</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      mcTrID = self.tree.fitTrack2MC[indx]</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;      </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[mcTrID]      = {}</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[mcTrID][<span class="stringliteral">&#39;Ndf&#39;</span>]  = fitStatus.getNdf()</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[mcTrID][<span class="stringliteral">&#39;Chi2&#39;</span>] = fitStatus.getChi2()</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;      fittedState = atrack.getFittedState()</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>[mcTrID]  = fittedState.getMomMag()</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[mcTrID] = fittedState.getDir()</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[mcTrID]  = fittedState.getPos()</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    </div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    if(indx&gt;0):</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      if(indx==1):</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a6eb621cf7b8404cd79595d1938dc3f8f">createVertex</a>(self.__info.keys()[0], self.__info.keys()[1])</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;      <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keywordflow">pass</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="comment">#print &quot;More than 2 fitterd tracks&quot;</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordflow">return</span> len(self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>) </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#a6eb621cf7b8404cd79595d1938dc3f8f">  142</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a6eb621cf7b8404cd79595d1938dc3f8f">createVertex</a>(self, tid1, tid2, flag=0):</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    if( (tid1 <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>) <span class="keywordflow">and</span> (tid2 <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>) ):</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a1c85842aa6432c7dce5ebfc3a85d66cc">Vertex</a>, self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aabec328dcedc75c3e695969e94da19e1">Doca</a> = self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a43c37531ba0e30d0aff01503e660768e">myVertex2</a>(tid1, tid2)</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;      self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af6bf8ba5acc60709e6de5fe8894c6b72">vertexEFlag</a> = flag</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classFitTrackInfo_1_1FitTrackInfo.html#acd14bb3925e318f81e429473a00e51b6">  147</a></span>&#160;  <span class="keyword">def </span><a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acd14bb3925e318f81e429473a00e51b6">addNewTrack</a>(self, mcTrID, position, direction, Pval, ndf, chi2, verb = True):</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordflow">if</span> (verb <span class="keywordflow">and</span> mcTrID <span class="keywordflow">in</span> self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>):</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;      <span class="keywordflow">print</span> <span class="stringliteral">&quot;FotTrackInfo WARNING - trID &quot;</span>, mcTrID, <span class="stringliteral">&quot;already filled! Will rewrite all records for this trID!&quot;</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[mcTrID]={}</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[mcTrID][<span class="stringliteral">&#39;Ndf&#39;</span>]  = ndf</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">__info</a>[mcTrID][<span class="stringliteral">&#39;Chi2&#39;</span>] = chi2</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">Momentum</a>[mcTrID]  = Pval</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">Direction</a>[mcTrID] = direction</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    self.<a class="code" href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">Position</a>[mcTrID]  = position</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;      </div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_ab5f07a017a5aeb258f5628e86e91ffe4"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#ab5f07a017a5aeb258f5628e86e91ffe4">FitTrackInfo.FitTrackInfo.getPosDirPval</a></div><div class="ttdeci">def getPosDirPval</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00062">FitTrackInfo.py:62</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_acea29ecb571c7e46afcffd23277df61a"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#acea29ecb571c7e46afcffd23277df61a">FitTrackInfo.FitTrackInfo.Momentum</a></div><div class="ttdeci">Momentum</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00011">FitTrackInfo.py:11</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_ad1f3fa11bc3f13e1721c3ff89d63a05a"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#ad1f3fa11bc3f13e1721c3ff89d63a05a">FitTrackInfo.FitTrackInfo.Print</a></div><div class="ttdeci">def Print</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00029">FitTrackInfo.py:29</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_af1381264a949de89496214a21a357ad0"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#af1381264a949de89496214a21a357ad0">FitTrackInfo.FitTrackInfo.tree</a></div><div class="ttdeci">tree</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00008">FitTrackInfo.py:8</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_af6bf8ba5acc60709e6de5fe8894c6b72"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#af6bf8ba5acc60709e6de5fe8894c6b72">FitTrackInfo.FitTrackInfo.vertexEFlag</a></div><div class="ttdeci">vertexEFlag</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00018">FitTrackInfo.py:18</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_ad589516aca8554502cc3bda88e1eac35"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#ad589516aca8554502cc3bda88e1eac35">FitTrackInfo.FitTrackInfo.getNdf</a></div><div class="ttdeci">def getNdf</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00051">FitTrackInfo.py:51</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_af89a28a152ac5d4f4eb1585c73b77d42"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#af89a28a152ac5d4f4eb1585c73b77d42">FitTrackInfo.FitTrackInfo.Position</a></div><div class="ttdeci">Position</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00013">FitTrackInfo.py:13</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_aef5feed98b17982ab58e5d8734d34fbf"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#aef5feed98b17982ab58e5d8734d34fbf">FitTrackInfo.FitTrackInfo.clean</a></div><div class="ttdeci">def clean</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00020">FitTrackInfo.py:20</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a538cb3b5603337225459b3e902c4718b"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a538cb3b5603337225459b3e902c4718b">FitTrackInfo.FitTrackInfo.readEvent</a></div><div class="ttdeci">def readEvent</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00113">FitTrackInfo.py:113</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a35e23328aa14739db53b3611db5aaf41"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a35e23328aa14739db53b3611db5aaf41">FitTrackInfo.FitTrackInfo.count</a></div><div class="ttdeci">count</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00010">FitTrackInfo.py:10</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_acd14bb3925e318f81e429473a00e51b6"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#acd14bb3925e318f81e429473a00e51b6">FitTrackInfo.FitTrackInfo.addNewTrack</a></div><div class="ttdeci">def addNewTrack</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00147">FitTrackInfo.py:147</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_aab50f46b140006973ecd1234940ee5e6"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#aab50f46b140006973ecd1234940ee5e6">FitTrackInfo.FitTrackInfo.Direction</a></div><div class="ttdeci">Direction</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00012">FitTrackInfo.py:12</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_af3e907074fbe06aab3d699849853be64"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#af3e907074fbe06aab3d699849853be64">FitTrackInfo.FitTrackInfo.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00007">FitTrackInfo.py:7</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a3c02c618bd7f3f40c33ee3f771ff7b46"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a3c02c618bd7f3f40c33ee3f771ff7b46">FitTrackInfo.FitTrackInfo.debug</a></div><div class="ttdeci">debug</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00009">FitTrackInfo.py:9</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a6476ec8e615ad0eb0477cf349e6fce62"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a6476ec8e615ad0eb0477cf349e6fce62">FitTrackInfo.FitTrackInfo.getVertex</a></div><div class="ttdeci">def getVertex</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00066">FitTrackInfo.py:66</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html">FitTrackInfo.FitTrackInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00005">FitTrackInfo.py:5</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_ae2c9feeabdb2fc695e12632a3ae55b4d"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#ae2c9feeabdb2fc695e12632a3ae55b4d">FitTrackInfo.FitTrackInfo.getNtracks</a></div><div class="ttdeci">def getNtracks</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00045">FitTrackInfo.py:45</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a6b5f1bb99d9c2afb5fd80d6f3d63ca54"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a6b5f1bb99d9c2afb5fd80d6f3d63ca54">FitTrackInfo.FitTrackInfo.getTrIDs</a></div><div class="ttdeci">def getTrIDs</div><div class="ttdoc">returns list of keys __info . </div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00039">FitTrackInfo.py:39</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a6eb621cf7b8404cd79595d1938dc3f8f"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a6eb621cf7b8404cd79595d1938dc3f8f">FitTrackInfo.FitTrackInfo.createVertex</a></div><div class="ttdeci">def createVertex</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00142">FitTrackInfo.py:142</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a43c37531ba0e30d0aff01503e660768e"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a43c37531ba0e30d0aff01503e660768e">FitTrackInfo.FitTrackInfo.myVertex2</a></div><div class="ttdeci">def myVertex2</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00072">FitTrackInfo.py:72</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a1c85842aa6432c7dce5ebfc3a85d66cc"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a1c85842aa6432c7dce5ebfc3a85d66cc">FitTrackInfo.FitTrackInfo.Vertex</a></div><div class="ttdeci">Vertex</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00015">FitTrackInfo.py:15</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a92f458683ebf715d843368f9578769bd"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a92f458683ebf715d843368f9578769bd">FitTrackInfo.FitTrackInfo.getChi2Ndf</a></div><div class="ttdeci">def getChi2Ndf</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00048">FitTrackInfo.py:48</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a38658894a9742492680bc5de039e0329"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a38658894a9742492680bc5de039e0329">FitTrackInfo.FitTrackInfo.__info</a></div><div class="ttdeci">__info</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00014">FitTrackInfo.py:14</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_aabec328dcedc75c3e695969e94da19e1"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#aabec328dcedc75c3e695969e94da19e1">FitTrackInfo.FitTrackInfo.Doca</a></div><div class="ttdeci">Doca</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00016">FitTrackInfo.py:16</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_a0ebfe7a83bb63bc4c12a03cc6421ba9c"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#a0ebfe7a83bb63bc4c12a03cc6421ba9c">FitTrackInfo.FitTrackInfo.compareTracks</a></div><div class="ttdeci">def compareTracks</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00054">FitTrackInfo.py:54</a></div></div>
<div class="ttc" id="classFitTrackInfo_1_1FitTrackInfo_html_afbb6f6755199352b214e2ce3530c1212"><div class="ttname"><a href="classFitTrackInfo_1_1FitTrackInfo.html#afbb6f6755199352b214e2ce3530c1212">FitTrackInfo.FitTrackInfo.getDoca</a></div><div class="ttdeci">def getDoca</div><div class="ttdef"><b>Definition:</b> <a href="FitTrackInfo_8py_source.html#l00069">FitTrackInfo.py:69</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>