<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Thanks David.<br>
<br>
Since this is a bug, do you (or anybody else) know where I can checkout the latest source code for coatjava? This way I could maybe find the bug, fix it, push the fix upstream, and maybe learn something in the process.<br>
<br>
I seem to only be able to find jar files ...<br>
<br>
Cheers,<br>
Whitney<br>
<br>
<hr tabindex="-1">
<div id="divRplyFwdMsg"><font face="Tahoma" size="2" color="#000000"><b>From:</b> David Heddle [david.heddle@cnu.edu]<br>
<b>Sent:</b> Friday, July 03, 2015 12:33 AM<br>
<b>To:</b> Armstrong, Whitney R.<br>
<b>Cc:</b> clas12_software@jlab.org<br>
<b>Subject:</b> Re: [Clas12_software] Coatjava 2.0 reconstruction crash<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">This is an inconsistency between the latest magfield package and the reconstruction you are using. The lastest magfield removed methods to invert the field and to test for inversion, instead (to be more consistent and simplify usage) it uses
 only a setScale method, which can also invert, e.g. by setting th scale factor to -1.
<div><br>
</div>
<div>I know that the reconstruction software was modified to comply with the new magfield interface--but somehow some old reconstruction code is still around.</div>
<div><br>
</div>
<div>Hope that helps,</div>
<div>dph  </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 2, 2015 at 11:53 PM, Armstrong, Whitney R. <span dir="ltr">
<<a href="mailto:warmstrong@anl.gov" target="_blank">warmstrong@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hello Everyone,<br>
<br>
I switched over to coatjava 2.0 and the following error occurs when reconstructing simulation.<br>
...<br>
test location (XYZ): (-31.70070, 31.14780, 28.15800) magnitude: 52.61172<br>
test Field Vector (XYZ): (-2.01643,  1.98126, 64.05748) magnitude: 64.11983<br>
test location (CYL): (135.50404, 44.44232, 28.15800) magnitude: 52.61172<br>
test Field Vector (CYL): ( 0.00000,  2.82690, 64.05748)<br>
<br>
Exception in thread "main" java.lang.NoSuchMethodError: cnuphys.magfield.Solenoid.isInvertField()Z<br>
        at org.jlab.rec.bst.trajectory.BSTSwimmer.getMagneticFields(BSTSwimmer.java:239)<br>
        at org.jlab.rec.bst.services.BSTReconstruction.init(BSTReconstruction.java:317)<br>
        at org.jlab.clasrec.rec.CLASReconstruction.initDetectors(CLASReconstruction.java:95)<br>
        at org.jlab.clasrec.rec.CLASReconstruction.run(CLASReconstruction.java:120)<br>
        at org.jlab.clasrec.rec.CLASReconstruction.main(CLASReconstruction.java:236)<br>
<br>
The version 1.0 runs without crashing.<br>
<br>
Cheers,<br>
Whitney<br>
_______________________________________________<br>
Clas12_software mailing list<br>
<a href="mailto:Clas12_software@jlab.org" target="_blank">Clas12_software@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/clas12_software" rel="noreferrer" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas12_software</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">David P. Heddle, Ph.D.<br>
Professor of Physics<br>
Christopher Newport University<br>
Newport News, VA 23606
<div><br>
</div>
<div>757.594.8434 (CNU)</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>