<!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: StrawHits.StrawHits Class 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> <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 Page</span></a></li> <li><a href="namespaces.html"><span>Packages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceStrawHits.html">StrawHits</a></li><li class="navelem"><a class="el" href="classStrawHits_1_1StrawHits.html">StrawHits</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-methods">Private Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classStrawHits_1_1StrawHits-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">StrawHits.StrawHits Class Reference</div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for StrawHits.StrawHits:</div> <div class="dyncontent"> <div class="center"> <img src="classStrawHits_1_1StrawHits.png" usemap="#StrawHits.StrawHits_map" alt=""/> <map id="StrawHits.StrawHits_map" name="StrawHits.StrawHits_map"> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a48decae5ea4b5f021f560b3b2d322617"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a48decae5ea4b5f021f560b3b2d322617">__init__</a></td></tr> <tr class="separator:a48decae5ea4b5f021f560b3b2d322617"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9bc5a6aa025d639c6fd6a8ad5e492227"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a9bc5a6aa025d639c6fd6a8ad5e492227">getTrIDs</a></td></tr> <tr class="memdesc:a9bc5a6aa025d639c6fd6a8ad5e492227"><td class="mdescLeft"> </td><td class="mdescRight">returns list of keys <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a> (MCtrackIDs>0 with more than <a class="el" href="namespaceRecoSettings.html">RecoSettings</a> .trackMinNofHits hits). <a href="#a9bc5a6aa025d639c6fd6a8ad5e492227">More...</a><br/></td></tr> <tr class="separator:a9bc5a6aa025d639c6fd6a8ad5e492227"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b2f62145f4c30c69e42dfafbbd451c1"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a9b2f62145f4c30c69e42dfafbbd451c1">getTrIDsALL</a></td></tr> <tr class="memdesc:a9b2f62145f4c30c69e42dfafbbd451c1"><td class="mdescLeft"> </td><td class="mdescRight">returns list of keys <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a> (MCtrackIDs>0. <a href="#a9b2f62145f4c30c69e42dfafbbd451c1">More...</a><br/></td></tr> <tr class="separator:a9b2f62145f4c30c69e42dfafbbd451c1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acb97ae2ff666fe817f32fa64cb79b027"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#acb97ae2ff666fe817f32fa64cb79b027">getReFitTrIDs</a></td></tr> <tr class="memdesc:acb97ae2ff666fe817f32fa64cb79b027"><td class="mdescLeft"> </td><td class="mdescRight">returns list of keys <a class="el" href="classStrawHits_1_1StrawHits.html#a62170847a3f9e5961bcdf3dda22d9e40">__reFitTracks</a>. <a href="#acb97ae2ff666fe817f32fa64cb79b027">More...</a><br/></td></tr> <tr class="separator:acb97ae2ff666fe817f32fa64cb79b027"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3767e6b8b7c3d2c72d8ee5cab1780916"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a3767e6b8b7c3d2c72d8ee5cab1780916">getReFitChi2Ndf</a></td></tr> <tr class="separator:a3767e6b8b7c3d2c72d8ee5cab1780916"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a3cd5817218a7bb46d771955ba7b1c2"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a6a3cd5817218a7bb46d771955ba7b1c2">getReFitNdf</a></td></tr> <tr class="separator:a6a3cd5817218a7bb46d771955ba7b1c2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c1e2091baa4551cc510f92400c702e4"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a4c1e2091baa4551cc510f92400c702e4">getReFitVertex</a></td></tr> <tr class="memdesc:a4c1e2091baa4551cc510f92400c702e4"><td class="mdescLeft"> </td><td class="mdescRight">returns vertex (if number of tracks!=2 will return None!). <a href="#a4c1e2091baa4551cc510f92400c702e4">More...</a><br/></td></tr> <tr class="separator:a4c1e2091baa4551cc510f92400c702e4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aefb7ae25c67992b8fa5aa2cadc0a01b1"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#aefb7ae25c67992b8fa5aa2cadc0a01b1">getStepDoca</a></td></tr> <tr class="memdesc:aefb7ae25c67992b8fa5aa2cadc0a01b1"><td class="mdescLeft"> </td><td class="mdescRight">returns doca's of each extrapolation steps (size is defined in <a class="el" href="namespaceRecoSettings.html">RecoSettings</a> .VertexExtrSteps). <a href="#aefb7ae25c67992b8fa5aa2cadc0a01b1">More...</a><br/></td></tr> <tr class="separator:aefb7ae25c67992b8fa5aa2cadc0a01b1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3c32c037cb8638d136b805b62182f5e1"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a3c32c037cb8638d136b805b62182f5e1">getReFitPosDirPval</a></td></tr> <tr class="memdesc:a3c32c037cb8638d136b805b62182f5e1"><td class="mdescLeft"> </td><td class="mdescRight">returns vertex (if number of tracks!=2 will return None!). <a href="#a3c32c037cb8638d136b805b62182f5e1">More...</a><br/></td></tr> <tr class="separator:a3c32c037cb8638d136b805b62182f5e1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a93a1a8fc6260b0bd1ecad3448c1efb00"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a93a1a8fc6260b0bd1ecad3448c1efb00">getNofPHits</a></td></tr> <tr class="memdesc:a93a1a8fc6260b0bd1ecad3448c1efb00"><td class="mdescLeft"> </td><td class="mdescRight">returns number of hits in proper tracker stations (Z>0) calculated from <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a> and <a class="el" href="classStrawHits_1_1StrawHits.html#a0aba6263d7c7d83cee880a3dbaf8931a" title="{MCtrackID : number of hits at Z<0 (veto tracker)}. ">__vetoHits</a>. <a href="#a93a1a8fc6260b0bd1ecad3448c1efb00">More...</a><br/></td></tr> <tr class="separator:a93a1a8fc6260b0bd1ecad3448c1efb00"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a36a22796964abef83666fa091b348df9"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a36a22796964abef83666fa091b348df9">getStartHit</a></td></tr> <tr class="memdesc:a36a22796964abef83666fa091b348df9"><td class="mdescLeft"> </td><td class="mdescRight">returns TVector3 of a tracker entry hit (Z>0) from <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>. <a href="#a36a22796964abef83666fa091b348df9">More...</a><br/></td></tr> <tr class="separator:a36a22796964abef83666fa091b348df9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab67fb92dfa9fe98f6374e677d7e72223"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ab67fb92dfa9fe98f6374e677d7e72223">checkVetoHits</a></td></tr> <tr class="memdesc:ab67fb92dfa9fe98f6374e677d7e72223"><td class="mdescLeft"> </td><td class="mdescRight">returns number of hits with Z<0 of <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a>. <a href="#ab67fb92dfa9fe98f6374e677d7e72223">More...</a><br/></td></tr> <tr class="separator:ab67fb92dfa9fe98f6374e677d7e72223"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad5d90b2675b9763f1c84a7f1a519f736"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ad5d90b2675b9763f1c84a7f1a519f736">PrintNewTracks</a></td></tr> <tr class="separator:ad5d90b2675b9763f1c84a7f1a519f736"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aca9ae66051a12143d8b1d1bd496a8662"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#aca9ae66051a12143d8b1d1bd496a8662">compareFitTracks</a></td></tr> <tr class="separator:aca9ae66051a12143d8b1d1bd496a8662"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad53933e2cc71c51134b86f40904e3458"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ad53933e2cc71c51134b86f40904e3458">readEvent</a></td></tr> <tr class="memdesc:ad53933e2cc71c51134b86f40904e3458"><td class="mdescLeft"> </td><td class="mdescRight">to be called per each event. <a href="#ad53933e2cc71c51134b86f40904e3458">More...</a><br/></td></tr> <tr class="separator:ad53933e2cc71c51134b86f40904e3458"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afce2af1d22711c4291b7cd7f3ca51641"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#afce2af1d22711c4291b7cd7f3ca51641">FitTracks</a></td></tr> <tr class="separator:afce2af1d22711c4291b7cd7f3ca51641"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a> Private Member Functions</h2></td></tr> <tr class="memitem:a05c164606532ecb264d38d320e714020"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a05c164606532ecb264d38d320e714020">__clean</a></td></tr> <tr class="memdesc:a05c164606532ecb264d38d320e714020"><td class="mdescLeft"> </td><td class="mdescRight">to be called for each new event (called in <a class="el" href="classStrawHits_1_1StrawHits.html#ad53933e2cc71c51134b86f40904e3458" title="to be called per each event. ">readEvent()</a>) cleans all dictionaries (<a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#a0aba6263d7c7d83cee880a3dbaf8931a" title="{MCtrackID : number of hits at Z<0 (veto tracker)}. ">__vetoHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#aeb977fd03ff90657c43db0110cffe1fb" title="{MCtrackID: number of crossed stations (exclude veto tracker)}. ">__nStations</a>). <a href="#a05c164606532ecb264d38d320e714020">More...</a><br/></td></tr> <tr class="separator:a05c164606532ecb264d38d320e714020"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad5f6e4bfd1342927d9c683941d787626"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ad5f6e4bfd1342927d9c683941d787626">__hitSmear</a></td></tr> <tr class="memdesc:ad5f6e4bfd1342927d9c683941d787626"><td class="mdescLeft"> </td><td class="mdescRight">returns a dictionary {xtop, ytop, z, ybot, ybot, z, dist} for a smeared hit. <a href="#ad5f6e4bfd1342927d9c683941d787626">More...</a><br/></td></tr> <tr class="separator:ad5f6e4bfd1342927d9c683941d787626"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aca7d347a78937cf8b7384f3f7d2f9cf4"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#aca7d347a78937cf8b7384f3f7d2f9cf4">__getIniDir</a></td></tr> <tr class="separator:aca7d347a78937cf8b7384f3f7d2f9cf4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a76d7648ab2e960d209d7713e175d1031"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a76d7648ab2e960d209d7713e175d1031">__prepareIniPosMomCov</a></td></tr> <tr class="separator:a76d7648ab2e960d209d7713e175d1031"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a166e6a9121b32fa99c5a70986ad26a88"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a166e6a9121b32fa99c5a70986ad26a88">__prepareWireMeasurements</a></td></tr> <tr class="separator:a166e6a9121b32fa99c5a70986ad26a88"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:aaa2456d54ca6081bc8548eb2f8d59219"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#aaa2456d54ca6081bc8548eb2f8d59219">__tree</a></td></tr> <tr class="memdesc:aaa2456d54ca6081bc8548eb2f8d59219"><td class="mdescLeft"> </td><td class="mdescRight">root tree to be read. <a href="#aaa2456d54ca6081bc8548eb2f8d59219">More...</a><br/></td></tr> <tr class="separator:aaa2456d54ca6081bc8548eb2f8d59219"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac9a9101e965e151ba490eb750e57a92"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#aac9a9101e965e151ba490eb750e57a92">__modules</a></td></tr> <tr class="memdesc:aac9a9101e965e151ba490eb750e57a92"><td class="mdescLeft"> </td><td class="mdescRight">geometry description modules. <a href="#aac9a9101e965e151ba490eb750e57a92">More...</a><br/></td></tr> <tr class="separator:aac9a9101e965e151ba490eb750e57a92"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae689f206dc81ded009630c60877dda2c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ae689f206dc81ded009630c60877dda2c">__debug</a></td></tr> <tr class="memdesc:ae689f206dc81ded009630c60877dda2c"><td class="mdescLeft"> </td><td class="mdescRight">debug level [0,3] <a href="#ae689f206dc81ded009630c60877dda2c">More...</a><br/></td></tr> <tr class="separator:ae689f206dc81ded009630c60877dda2c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8361407d10cf89e4233f652d5348919"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ad8361407d10cf89e4233f652d5348919">__resolution</a></td></tr> <tr class="memdesc:ad8361407d10cf89e4233f652d5348919"><td class="mdescLeft"> </td><td class="mdescRight">hit resolition <a href="#ad8361407d10cf89e4233f652d5348919">More...</a><br/></td></tr> <tr class="separator:ad8361407d10cf89e4233f652d5348919"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad0ca7943fa49c8cb139c9d867bb6a63e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e">__trackHits</a></td></tr> <tr class="memdesc:ad0ca7943fa49c8cb139c9d867bb6a63e"><td class="mdescLeft"> </td><td class="mdescRight">{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector3] list of each hit position. <a href="#ad0ca7943fa49c8cb139c9d867bb6a63e">More...</a><br/></td></tr> <tr class="separator:ad0ca7943fa49c8cb139c9d867bb6a63e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac2c5e012bc6b6a78f8008cfb176cde06"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#ac2c5e012bc6b6a78f8008cfb176cde06">__oldSmearedHits</a></td></tr> <tr class="separator:ac2c5e012bc6b6a78f8008cfb176cde06"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a781dcb7594b4cfcfeb8eb2ca129594fd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd">__trackEdgeHits</a></td></tr> <tr class="memdesc:a781dcb7594b4cfcfeb8eb2ca129594fd"><td class="mdescLeft"> </td><td class="mdescRight">{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit. <a href="#a781dcb7594b4cfcfeb8eb2ca129594fd">More...</a><br/></td></tr> <tr class="separator:a781dcb7594b4cfcfeb8eb2ca129594fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0aba6263d7c7d83cee880a3dbaf8931a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a0aba6263d7c7d83cee880a3dbaf8931a">__vetoHits</a></td></tr> <tr class="memdesc:a0aba6263d7c7d83cee880a3dbaf8931a"><td class="mdescLeft"> </td><td class="mdescRight">{MCtrackID : number of hits at Z<0 (veto tracker)}. <a href="#a0aba6263d7c7d83cee880a3dbaf8931a">More...</a><br/></td></tr> <tr class="separator:a0aba6263d7c7d83cee880a3dbaf8931a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb977fd03ff90657c43db0110cffe1fb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#aeb977fd03ff90657c43db0110cffe1fb">__nStations</a></td></tr> <tr class="memdesc:aeb977fd03ff90657c43db0110cffe1fb"><td class="mdescLeft"> </td><td class="mdescRight">{MCtrackID: number of crossed stations (exclude veto tracker)}. <a href="#aeb977fd03ff90657c43db0110cffe1fb">More...</a><br/></td></tr> <tr class="separator:aeb977fd03ff90657c43db0110cffe1fb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8c32e1e97ffc82135a76b564f23ffd54"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a8c32e1e97ffc82135a76b564f23ffd54">__random</a></td></tr> <tr class="memdesc:a8c32e1e97ffc82135a76b564f23ffd54"><td class="mdescLeft"> </td><td class="mdescRight">root random engent for hit smearing (see <a class="el" href="classStrawHits_1_1StrawHits.html#ad5f6e4bfd1342927d9c683941d787626" title="returns a dictionary {xtop, ytop, z, ybot, ybot, z, dist} for a smeared hit. ">__hitSmear</a>). <a href="#a8c32e1e97ffc82135a76b564f23ffd54">More...</a><br/></td></tr> <tr class="separator:a8c32e1e97ffc82135a76b564f23ffd54"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fae7caaa752bb302f3ee108c6957c50"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a1fae7caaa752bb302f3ee108c6957c50">__fitter</a></td></tr> <tr class="separator:a1fae7caaa752bb302f3ee108c6957c50"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62170847a3f9e5961bcdf3dda22d9e40"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a62170847a3f9e5961bcdf3dda22d9e40">__reFitTracks</a></td></tr> <tr class="separator:a62170847a3f9e5961bcdf3dda22d9e40"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0f7aef7f59605a2aad9f286cf034a55a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classStrawHits_1_1StrawHits.html#a0f7aef7f59605a2aad9f286cf034a55a">__docaEval</a></td></tr> <tr class="separator:a0f7aef7f59605a2aad9f286cf034a55a"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><pre class="fragment">StrawHit class</pre> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00012">12</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a48decae5ea4b5f021f560b3b2d322617"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.__init__ </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tree</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>modules</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>resolution</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>debug</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>mhistdict</em> = <code>None</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>ship_geo</em> = <code>None</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00014">14</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a05c164606532ecb264d38d320e714020"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.__clean </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>to be called for each new event (called in <a class="el" href="classStrawHits_1_1StrawHits.html#ad53933e2cc71c51134b86f40904e3458" title="to be called per each event. ">readEvent()</a>) cleans all dictionaries (<a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#a0aba6263d7c7d83cee880a3dbaf8931a" title="{MCtrackID : number of hits at Z<0 (veto tracker)}. ">__vetoHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#aeb977fd03ff90657c43db0110cffe1fb" title="{MCtrackID: number of crossed stations (exclude veto tracker)}. ">__nStations</a>). </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00090">90</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00041">StrawHits.StrawHits.__docaEval</a>.</p> </div> </div> <a class="anchor" id="aca7d347a78937cf8b7384f3f7d2f9cf4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.__getIniDir </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>trID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00330">330</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="MCTrackInfo_8py_source.html#l00016">MCTrackInfo.MCTrackInfo.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00020">StrawHits.StrawHits.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>, <a class="el" href="StrawHits_8py_source.html#l00024">StrawHits.StrawHits.__trackHits</a>, and <a class="el" href="StrawHits_8py_source.html#l00030">StrawHits.StrawHits.__vetoHits</a>.</p> </div> </div> <a class="anchor" id="ad5f6e4bfd1342927d9c683941d787626"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.__hitSmear </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>hid</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>new</em> = <code>False</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>returns a dictionary {xtop, ytop, z, ybot, ybot, z, dist} for a smeared hit. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tid</td><td>- MCtrackID. </td></tr> <tr><td class="paramname">hid</td><td>- hit index of <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a> </td></tr> <tr><td class="paramname">new</td><td>- to generate new smearing (True) or get from SmearedHits (det.position still recalculated!) </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a dictionary {xtop, ytop, z, ybot, ybot, z, dist} for a smeared hit. </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00205">205</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="MCTrackInfo_8py_source.html#l00016">MCTrackInfo.MCTrackInfo.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00020">StrawHits.StrawHits.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00018">StrawHits.StrawHits.__modules</a>, <a class="el" href="StrawHits_8py_source.html#l00022">StrawHits.StrawHits.__resolution</a>, and <a class="el" href="StrawHits_8py_source.html#l00024">StrawHits.StrawHits.__trackHits</a>.</p> </div> </div> <a class="anchor" id="a76d7648ab2e960d209d7713e175d1031"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.__prepareIniPosMomCov </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>original</em> = <code>True</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00343">343</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00330">StrawHits.StrawHits.__getIniDir()</a>, <a class="el" href="StrawHits_8py_source.html#l00022">StrawHits.StrawHits.__resolution</a>, <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>, and <a class="el" href="StrawHits_8py_source.html#l00165">StrawHits.StrawHits.getNofPHits()</a>.</p> </div> </div> <a class="anchor" id="a166e6a9121b32fa99c5a70986ad26a88"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.__prepareWireMeasurements </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>fTrack</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00367">367</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="MCTrackInfo_8py_source.html#l00016">MCTrackInfo.MCTrackInfo.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00020">StrawHits.StrawHits.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00205">StrawHits.StrawHits.__hitSmear()</a>, <a class="el" href="StrawHits_8py_source.html#l00022">StrawHits.StrawHits.__resolution</a>, <a class="el" href="StrawHits_8py_source.html#l00024">StrawHits.StrawHits.__trackHits</a>, and <a class="el" href="StrawHits_8py_source.html#l00030">StrawHits.StrawHits.__vetoHits</a>.</p> </div> </div> <a class="anchor" id="ab67fb92dfa9fe98f6374e677d7e72223"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.checkVetoHits </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>returns number of hits with Z<0 of <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tid</td><td>- MCtrackID. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>number of hits with Z<0 of <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a>. </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00181">181</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00030">StrawHits.StrawHits.__vetoHits</a>.</p> </div> </div> <a class="anchor" id="aca9ae66051a12143d8b1d1bd496a8662"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.compareFitTracks </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>theFitTracks</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00195">195</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="afce2af1d22711c4291b7cd7f3ca51641"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.FitTracks </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>old</em> = <code>True</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00399">399</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="MCTrackInfo_8py_source.html#l00016">MCTrackInfo.MCTrackInfo.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00020">StrawHits.StrawHits.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00041">StrawHits.StrawHits.__docaEval</a>, <a class="el" href="StrawHits_8py_source.html#l00032">StrawHits.StrawHits.__nStations</a>, <a class="el" href="StrawHits_8py_source.html#l00343">StrawHits.StrawHits.__prepareIniPosMomCov()</a>, <a class="el" href="StrawHits_8py_source.html#l00367">StrawHits.StrawHits.__prepareWireMeasurements()</a>, <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>, and <a class="el" href="RecoSettings_8py_source.html#l00017">RecoSettings.chargePDG()</a>.</p> </div> </div> <a class="anchor" id="a93a1a8fc6260b0bd1ecad3448c1efb00"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getNofPHits </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>returns number of hits in proper tracker stations (Z>0) calculated from <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a> and <a class="el" href="classStrawHits_1_1StrawHits.html#a0aba6263d7c7d83cee880a3dbaf8931a" title="{MCtrackID : number of hits at Z<0 (veto tracker)}. ">__vetoHits</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tid</td><td>- MCtrackID. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>number of hits in proper tracker stations (Z>0). </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00165">165</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00024">StrawHits.StrawHits.__trackHits</a>, and <a class="el" href="StrawHits_8py_source.html#l00030">StrawHits.StrawHits.__vetoHits</a>.</p> </div> </div> <a class="anchor" id="a3767e6b8b7c3d2c72d8ee5cab1780916"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getReFitChi2Ndf </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00127">127</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a6a3cd5817218a7bb46d771955ba7b1c2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getReFitNdf </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00132">132</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a3c32c037cb8638d136b805b62182f5e1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getReFitPosDirPval </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>returns vertex (if number of tracks!=2 will return None!). </p> <dl class="section return"><dt>Returns</dt><dd>new vertex (if number of tracks!=2 will return None!). </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00157">157</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="acb97ae2ff666fe817f32fa64cb79b027"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getReFitTrIDs </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>returns list of keys <a class="el" href="classStrawHits_1_1StrawHits.html#a62170847a3f9e5961bcdf3dda22d9e40">__reFitTracks</a>. </p> <dl class="section return"><dt>Returns</dt><dd>list of MCtrackIDs of "good" tracks. </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00122">122</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a4c1e2091baa4551cc510f92400c702e4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getReFitVertex </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>returns vertex (if number of tracks!=2 will return None!). </p> <dl class="section return"><dt>Returns</dt><dd>new vertex (if number of tracks!=2 will return None!). </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00140">140</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a36a22796964abef83666fa091b348df9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getStartHit </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>tid</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>returns TVector3 of a tracker entry hit (Z>0) from <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">tid</td><td>- MCtrackID. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>position of a tracker entry hit (Z>0) from <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>. </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00173">173</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>.</p> </div> </div> <a class="anchor" id="aefb7ae25c67992b8fa5aa2cadc0a01b1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getStepDoca </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><em>step</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>returns doca's of each extrapolation steps (size is defined in <a class="el" href="namespaceRecoSettings.html">RecoSettings</a> .VertexExtrSteps). </p> <dl class="section return"><dt>Returns</dt><dd>new vertex (if number of tracks!=2 will return None!). </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00149">149</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00041">StrawHits.StrawHits.__docaEval</a>.</p> </div> </div> <a class="anchor" id="a9bc5a6aa025d639c6fd6a8ad5e492227"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getTrIDs </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>returns list of keys <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a> (MCtrackIDs>0 with more than <a class="el" href="namespaceRecoSettings.html">RecoSettings</a> .trackMinNofHits hits). </p> <dl class="section return"><dt>Returns</dt><dd>list of MCtrackIDs of "good" tracks. </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00102">102</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>.</p> </div> </div> <a class="anchor" id="a9b2f62145f4c30c69e42dfafbbd451c1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.getTrIDsALL </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>returns list of keys <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a> (MCtrackIDs>0. </p> <dl class="section return"><dt>Returns</dt><dd>list of MCtrackIDs of MC assigned tracks. </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00112">112</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>.</p> </div> </div> <a class="anchor" id="ad5d90b2675b9763f1c84a7f1a519f736"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.PrintNewTracks </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00189">189</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="ad53933e2cc71c51134b86f40904e3458"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">def StrawHits.StrawHits.readEvent </td> <td>(</td> <td class="paramtype"> </td> <td class="paramname"><em>self</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>to be called per each event. </p> <p>Fills <a class="el" href="classStrawHits_1_1StrawHits.html#ad0ca7943fa49c8cb139c9d867bb6a63e" title="{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector...">__trackHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#a0aba6263d7c7d83cee880a3dbaf8931a" title="{MCtrackID : number of hits at Z<0 (veto tracker)}. ">__vetoHits</a>, <a class="el" href="classStrawHits_1_1StrawHits.html#aeb977fd03ff90657c43db0110cffe1fb" title="{MCtrackID: number of crossed stations (exclude veto tracker)}. ">__nStations</a>. </p> <dl class="section return"><dt>Returns</dt><dd>number of "good" tracks (size of <a class="el" href="classStrawHits_1_1StrawHits.html#a781dcb7594b4cfcfeb8eb2ca129594fd" title="{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit...">__trackEdgeHits</a>) </dd></dl> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00232">232</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> <p>References <a class="el" href="MCTrackInfo_8py_source.html#l00040">MCTrackInfo.MCTrackInfo.__clean()</a>, <a class="el" href="StrawHits_8py_source.html#l00090">StrawHits.StrawHits.__clean()</a>, <a class="el" href="MCTrackInfo_8py_source.html#l00016">MCTrackInfo.MCTrackInfo.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00020">StrawHits.StrawHits.__debug</a>, <a class="el" href="StrawHits_8py_source.html#l00032">StrawHits.StrawHits.__nStations</a>, <a class="el" href="StrawHits_8py_source.html#l00028">StrawHits.StrawHits.__trackEdgeHits</a>, <a class="el" href="StrawHits_8py_source.html#l00024">StrawHits.StrawHits.__trackHits</a>, and <a class="el" href="StrawHits_8py_source.html#l00030">StrawHits.StrawHits.__vetoHits</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a class="anchor" id="ae689f206dc81ded009630c60877dda2c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__debug</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>debug level [0,3] </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00020">20</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a0f7aef7f59605a2aad9f286cf034a55a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__docaEval</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00041">41</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a1fae7caaa752bb302f3ee108c6957c50"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__fitter</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00038">38</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="aac9a9101e965e151ba490eb750e57a92"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__modules</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>geometry description modules. </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00018">18</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="aeb977fd03ff90657c43db0110cffe1fb"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__nStations</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>{MCtrackID: number of crossed stations (exclude veto tracker)}. </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00032">32</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="ac2c5e012bc6b6a78f8008cfb176cde06"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__oldSmearedHits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00025">25</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a8c32e1e97ffc82135a76b564f23ffd54"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__random</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>root random engent for hit smearing (see <a class="el" href="classStrawHits_1_1StrawHits.html#ad5f6e4bfd1342927d9c683941d787626" title="returns a dictionary {xtop, ytop, z, ybot, ybot, z, dist} for a smeared hit. ">__hitSmear</a>). </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00034">34</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a62170847a3f9e5961bcdf3dda22d9e40"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__reFitTracks</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00040">40</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="ad8361407d10cf89e4233f652d5348919"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__resolution</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>hit resolition </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00022">22</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a781dcb7594b4cfcfeb8eb2ca129594fd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__trackEdgeHits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>{MCtrackID : {X : TVector3}} where x='entry' or 'exit', TVector3 coordinates of last or first hit. </p> <p>Created for tracks with more than <a class="el" href="namespaceRecoSettings.html">RecoSettings</a> .trackMinNofHits hits. </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00028">28</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="ad0ca7943fa49c8cb139c9d867bb6a63e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__trackHits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>{MCtrackID : [{'pos':TVector3, 'det':detID, 'dw':distance to wire, 'smdw': smeared dw} where [TVector3] list of each hit position. </p> <p>Created if MCtrackID>0. </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00024">24</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="aaa2456d54ca6081bc8548eb2f8d59219"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__tree</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>root tree to be read. </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00016">16</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <a class="anchor" id="a0aba6263d7c7d83cee880a3dbaf8931a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">StrawHits.StrawHits.__vetoHits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>{MCtrackID : number of hits at Z<0 (veto tracker)}. </p> <p>Definition at line <a class="el" href="StrawHits_8py_source.html#l00030">30</a> of file <a class="el" href="StrawHits_8py_source.html">StrawHits.py</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="StrawHits_8py_source.html">StrawHits.py</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>