Hello Nathan,

Okay, now it's working.

Thanks,

Kyle

On Tue, Sep 15, 2015 at 11:11 AM, Nathan Baltzell <[log in to unmask]> wrote:
It needs to be in this directory at runtime:

./fieldmap




On Sep 15, 2015, at 11:10, Kyle McCarty <[log in to unmask]> wrote:

> Hello Nathan,
>
> I got the file and put it into /detector-data/fieldmap/ with the other field map definitions, but I am still getting the error. Is this the wrong place to put it?
>
> Thanks,.
>
> Kyle
>
> On Tue, Sep 15, 2015 at 11:01 AM, Nathan Baltzell <[log in to unmask]> wrote:
> There is a copy here:
>
> /u/group/hps/hps_soft/fieldmaps
>
>
>
> On Sep 15, 2015, at 11:00, Kyle McCarty <[log in to unmask]> wrote:
>
> > Hello hps-software,
> >
> > I am getting the following error:
> >
> > Field Map location: fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat
> > org.lcsim.conditions.ConditionsManager$ConditionsSetNotFoundException: Error reading detector condition item 'compact.xml' for detector 'HPS-EngRun2015-Nominal-v3-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:557)
> >         at org.hps.conditions.svt.SvtDetectorSetup.conditionsChanged(SvtDetectorSetup.java:74)
> >         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:699)
> >         at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:1014)
> >         at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:206)
> >         at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:62)
> >         at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:25)
> >         at org.lcsim.lcio.LCIOReader.read(LCIOReader.java:59)
> >         at org.lcsim.util.loop.LCIOEventSource.next(LCIOEventSource.java:129)
> >         at org.freehep.record.loop.DefaultRecordLoop.fetchRecord(DefaultRecordLoop.java:809)
> >         at org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:648)
> >         at org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)
> >         at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:151)
> >         at org.lcsim.job.JobControlManager.run(JobControlManager.java:431)
> >         at org.hps.job.JobManager.run(JobManager.java:55)
> >         at org.lcsim.job.JobControlManager.run(JobControlManager.java:189)
> >         at org.hps.job.JobManager.main(JobManager.java:23)
> > 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:45)
> >         at org.lcsim.util.loop.DetectorConditionsConverter.getData(DetectorConditionsConverter.java:26)
> >         ... 22 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(Unknown Source)
> >         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> >         at java.lang.reflect.Constructor.newInstance(Unknown Source)
> >         at org.lcsim.util.xml.DefaultElementFactory.create(DefaultElementFactory.java:62)
> >         ... 27 more
> > Caused by: java.io.FileNotFoundException: fieldmap\125acm2_3kg_corrected_unfolded_scaled_0.7992.dat (The system cannot find the path specified)
> >         at java.io.FileInputStream.open(Native Method)
> >         at java.io.FileInputStream.<init>(Unknown Source)
> >         at java.io.FileInputStream.<init>(Unknown Source)
> >         at org.lcsim.geometry.field.FieldMap3D.setup(FieldMap3D.java:73)
> >         at org.lcsim.geometry.field.FieldMap3D.<init>(FieldMap3D.java:55)
> >         ... 32 more
> >
> > It seems pretty clear that I am missing the field map file. Can someone point me to the location of the file so that I can obtain it?
> >
> > Thanks,
> >
> > Kyle
> >
> > 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
>




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