<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The errors on the hits are underestimated for this sample of simulated events.  I am investigating.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Simon<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Halld-offline <halld-offline-bounces@jlab.org> on behalf of Naomi Jarvis <nsj@cmu.edu><br>
<b>Sent:</b> Wednesday, May 6, 2020 9:57 AM<br>
<b>To:</b> Richard Jones <richard.t.jones@uconn.edu>; HallD Software Group <HallD-Offline@jlab.org><br>
<b>Subject:</b> Re: [Halld-offline] [EXTERNAL] request for help from tracking group</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>Hi,<br>
<br>
</div>
<div>I think there might be something wrong with the FOMs from the timebased tracks but I'm not really sure what I should expect.   The plots below are for timebased tracks in the CDC with no reaction specified.  The code snippet is below.  It's from the plugin
 CDC_TimeToDistance, maybe there's a mistake in here.</div>
<div><br>
</div>
<div>I have been looking at track DOCA with time and found that selecting larger FOMs made very little difference to this, although so far I only looked at values from 1e-8 to 0.1. I have a few jobs with minimum FOM between 0.1 and 1 still running.</div>
<div><br>
</div>
<div>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">   </span>vector <const DChargedTrack *> chargedTrackVector;</span></p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">  
</span>loop->Get(chargedTrackVector);</span></p>
<p class="x_gmail-p2" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214); min-height:15px">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">  
</span>for (unsigned int iTrack = 0; iTrack < chargedTrackVector.size(); iTrack++){</span></p>
<p class="x_gmail-p2" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214); min-height:15px">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">     
</span>const DChargedTrackHypothesis* bestHypothesis = chargedTrackVector[iTrack]->Get_BestTrackingFOM();</span></p>
<p class="x_gmail-p2" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214); min-height:15px">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures">      </span><span style="font-variant-ligatures:no-common-ligatures">// Cut very loosely on the track quality</span><br>
</p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">     
</span>auto thisTimeBasedTrack = bestHypothesis->Get_TrackTimeBased();</span></p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">     
</span>if(!thisTimeBasedTrack->IsSmoothed) continue;</span></p>
<p class="x_gmail-p2" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214); min-height:15px">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br>
</p>
<p class="x_gmail-p1" style="margin:0px; font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:13px; line-height:normal; font-family:Menlo; color:rgb(0,0,0); background-color:rgb(177,236,214)">
<span class="x_gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="x_gmail-Apple-converted-space">     
</span>if (thisTimeBasedTrack->FOM < MIN_FOM) continue;<span class="x_gmail-Apple-converted-space"> 
</span>// was 1e-10</span></p>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Naomi. </div>
<div><br>
</div>
<div><img alt="resid_vs_fom.png" width="562" height="350" data-outlook-trace="F:1|T:1" src="cid:ii_k9ve77rn1"><br>
</div>
<div><img alt="resid_vs_fom.png" width="562" height="350" data-outlook-trace="F:1|T:1" src="cid:ii_k9ve5bkj0"><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, May 6, 2020 at 7:39 AM Richard Jones <<a href="mailto:richard.t.jones@uconn.edu">richard.t.jones@uconn.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">Hello all,
<div><br>
</div>
<div>I have been looking into differences between geant4 and geant3 simulations of k+ tracks at backward angles in the cdc, and have discovered what appears to be a sudden failure of the tracking past about 120 degrees in the cdc. Please see the final plot
 and comments here.</div>
<div><br>
</div>
<div><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_HDGeant4_issues_137-23&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=Te_hCR4EUlJ6iCDYLJ8Viv2aDOR7D9ZZMoBAvf2H0M4&m=nHXw_4MCbSbzhcXPApg4pe8vH25eBETYPBlvns7oYvc&s=hLAiYzGqBJ5IdrEeCh6QrJksU3v12FUHm44NA63CNEc&e=" target="_blank">https://github.com/JeffersonLab/HDGeant4/issues/137#</a><br>
</div>
<div><br>
</div>
<div>From hdview, I see that the number of hits on the track is very good up through DTrackTimeBased, and visually things look quite clean but the FOM values are terrible and there are no combos being generated. I am not sure, but don't combos need to be generated
 for these tracks to go further down the reconstruction chain? A set of 100 such tracks is available at:</div>
<div><br>
</div>
<div><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__zeus.phys.uconn.edu_halld_kstudy-2D4-2D2020_kstudysim-5Fsmeared.hddm&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=Te_hCR4EUlJ6iCDYLJ8Viv2aDOR7D9ZZMoBAvf2H0M4&m=nHXw_4MCbSbzhcXPApg4pe8vH25eBETYPBlvns7oYvc&s=_XamR5Vx21DbQ5ZVCPiOB7ruQRpqTn3LhQJB_rO3Loo&e=" target="_blank">https://zeus.phys.uconn.edu/halld/kstudy-4-2020/kstudysim_smeared.hddm</a></div>
<div><br>
</div>
<div>-Richard Jones</div>
</div>
_______________________________________________<br>
Halld-offline mailing list<br>
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></blockquote>
</div>
</div>
</div>
</body>
</html>