Print

Print


Hello Tim,
 The magnetic field map is too large to be included in our source distribution. It can be found at:

http://lcsim.org/resources/hps/fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat

You will need to install it in a directory named 'fieldmap' under your executable directory (or link it).
So wherever you are invoking

> java ...

you will need a  directory

> ./fieldmap
 
containing the map.

Let me know if you experience any further difficulties,

Norman

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Nelson, Timothy Knight
Sent: Wednesday, January 13, 2016 1:00 PM
To: hps-software
Subject: missing field map file?

Greetings,

I’m trying to run recon with -d HPS-EngRun2015-Nominal-v3-4-fieldmap after just updating to the head today and am getting the following error when trying to set up the geometry/conditions.  I don’t have much knowledge or experience with the field map stuff, but I don’t see the referenced file, fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat, or others like it, anywhere in the project tree.

Advice surely appreciated.

Thanks,
Tim

> Exception in thread "main" org.lcsim.conditions.ConditionsManager$ConditionsSetNotFoundException: Error reading detector condition item 'compact.xml' for detector 'HPS-EngRun2015-Nominal-v3-4-fieldmap'
> 	at org.lcsim.util.loop.DetectorConditionsConverter.getData(DetectorConditionsConverter.java:32)
> 	at org.lcsim.util.loop.DetectorConditionsConverter.getData(DetectorConditionsConverter.java:17)
> 	at org.lcsim.conditions.CachedConditionsImplementation.getCachedData(CachedConditionsImplementation.java:20)
> 	at org.hps.conditions.database.DatabaseConditionsManager.getDetectorObject(DatabaseConditionsManager.java:621)
> 	at org.hps.detector.svt.SvtDetectorSetup.conditionsChanged(SvtDetectorSetup.java:89)
> 	at org.lcsim.conditions.ConditionsManagerImplementation.fireConditionsChanged(ConditionsManagerImplementation.java:122)
> 	at org.lcsim.conditions.ConditionsManagerImplementation.setConditionsReader(ConditionsManagerImplementation.java:69)
> 	at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:53)
> 	at org.hps.conditions.database.DatabaseConditionsManager.initialize(DatabaseConditionsManager.java:716)
> 	at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:1023)
> 	at org.hps.evio.EvioToLcio.checkConditions(EvioToLcio.java:232)
> 	at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:204)
> 	at org.hps.evio.EvioToLcio.run(EvioToLcio.java:492)
> 	at org.hps.evio.EvioToLcio.main(EvioToLcio.java:98)
> Caused by: org.lcsim.util.xml.ElementFactory$ElementCreationException: Could not create element: class org.lcsim.geometry.field.FieldMap3D
> 	at org.lcsim.util.xml.DefaultElementFactory.create(DefaultElementFactory.java:70)
> 	at org.lcsim.util.xml.DefaultElementFactory.createElement(DefaultElementFactory.java:33)
> 	at org.lcsim.geometry.compact.CompactReader.readFields(CompactReader.java:243)
> 	at org.lcsim.geometry.compact.CompactReader.read(CompactReader.java:103)
> 	at org.lcsim.geometry.GeometryReader.read(GeometryReader.java:40)
> 	at org.lcsim.util.loop.DetectorConditionsConverter.getData(DetectorConditionsConverter.java:26)
> 	... 13 more
> Caused by: java.lang.RuntimeException: Error reading field map from fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat
> 	at org.lcsim.geometry.field.FieldMap3D.<init>(FieldMap3D.java:57)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> 	at org.lcsim.util.xml.DefaultElementFactory.create(DefaultElementFactory.java:62)
> 	... 18 more
> Caused by: java.io.FileNotFoundException: fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat (No such file or directory)
> 	at java.io.FileInputStream.open0(Native Method)
> 	at java.io.FileInputStream.open(FileInputStream.java:195)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:93)
> 	at org.lcsim.geometry.field.FieldMap3D.setup(FieldMap3D.java:73)
> 	at org.lcsim.geometry.field.FieldMap3D.<init>(FieldMap3D.java:55)
> 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1