[Clas12_software] Coatjava 2.0 reconstruction crash

David Heddle david.heddle at cnu.edu
Fri Jul 3 01:33:02 EDT 2015


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.

I know that the reconstruction software was modified to comply with the new
magfield interface--but somehow some old reconstruction code is still
around.

Hope that helps,
dph

On Thu, Jul 2, 2015 at 11:53 PM, Armstrong, Whitney R. <warmstrong at anl.gov>
wrote:

> Hello Everyone,
>
> I switched over to coatjava 2.0 and the following error occurs when
> reconstructing simulation.
> ...
> test location (XYZ): (-31.70070, 31.14780, 28.15800) magnitude: 52.61172
> test Field Vector (XYZ): (-2.01643,  1.98126, 64.05748) magnitude: 64.11983
> test location (CYL): (135.50404, 44.44232, 28.15800) magnitude: 52.61172
> test Field Vector (CYL): ( 0.00000,  2.82690, 64.05748)
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> cnuphys.magfield.Solenoid.isInvertField()Z
>         at
> org.jlab.rec.bst.trajectory.BSTSwimmer.getMagneticFields(BSTSwimmer.java:239)
>         at
> org.jlab.rec.bst.services.BSTReconstruction.init(BSTReconstruction.java:317)
>         at
> org.jlab.clasrec.rec.CLASReconstruction.initDetectors(CLASReconstruction.java:95)
>         at
> org.jlab.clasrec.rec.CLASReconstruction.run(CLASReconstruction.java:120)
>         at
> org.jlab.clasrec.rec.CLASReconstruction.main(CLASReconstruction.java:236)
>
> The version 1.0 runs without crashing.
>
> Cheers,
> Whitney
> _______________________________________________
> Clas12_software mailing list
> Clas12_software at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas12_software
>



-- 
David P. Heddle, Ph.D.
Professor of Physics
Christopher Newport University
Newport News, VA 23606

757.594.8434 (CNU)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/clas12_software/attachments/20150703/7edf80ee/attachment-0002.html>


More information about the Clas12_software mailing list