<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div>Hi Paul,<div><br></div><div>&nbsp; Yes, hdgeant accesses the CCDB using the same API that all DANA programs do. You select this via the JANA_CALIB_URL environment variable. The magnetic field map is now done as a JANA resource. This means that the JANA_RESOURCE_DIR environment variable points to a directory that has the file:</div><div><br></div><div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">Magnets/Solenoid/solenoid_1350_poisson_20130925</div></div><div style="margin: 0px;"><br></div><div style="margin: 0px;">in it. The file name and (relative) directory location are obtained from the CCDB. If the file does not currently exist, then the URL (also obtained from CCDB) is used to download the file using CURL. This way, you can pre-load the resource file(s) if you want and web-access is then not required. Let me know if this doesn’t answer your question.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Regards,</div><div style="margin: 0px;">-David</div><div><br><div><div>On Mar 22, 2014, at 11:36 PM, Paul Mattione &lt;<a href="mailto:pmatt@jlab.org">pmatt@jlab.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Does hdgeant access the CCDB and/or magnetic field map files? &nbsp;If so, how does it connect to these? &nbsp;Is it configurable? &nbsp;<br><br> - Paul<br><br><br>_______________________________________________<br>Halld-offline mailing list<br><a href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a><br>https://mailman.jlab.org/mailman/listinfo/halld-offline<br></blockquote></div><br></div></body></html>