<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><div>Hi Matt,</div><div><br></div><div>  The file is obtained via the JANA resource facility. Recall though that this relies on the</div><div>CCDB to provide the location (URL) of the file. It is then automatically downloaded and</div><div>installed. Subsequent invocations will see that the file is there and will just use it so</div><div>that it is not downloaded again.</div><div><br></div><div>  I can see now that I spoke too quickly before. Your file only has 53 z-locations in it instead</div><div>of the 701 it should. This probably means the field map file download was interrupted</div><div>and it is incomplete. You should delete the file “solenoid_1350_poisson_20130925”</div><div>and re-run. The file exists either in:</div><div><br></div><div>$JANA_RESOURCE_DIR/Magnets/Solenoid/solenoid_1350_poisson_20130925</div><div><br></div><div>or</div><div><br></div><div>/tmp/$USER/resources/Magnets/Solenoid/solenoid_1350_poisson_20130925</div><div><br></div><div>Note that there is a md5 checksum of the file stored in the CCDB along with the</div><div>URL. This is not currently checked every time you run a program, but it could be.</div><div>To check the sum of the existing file and what is in the CCDB, do the following:</div><div><br></div><div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">harriet:JANA>ccdb dump Magnets/Solenoid/solenoid_1350_poisson_20130925</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">#</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">  <a href="https://halldweb1.jlab.org/resources">https://halldweb1.jlab.org/resources</a>   Magnets/Solenoid/solenoid_1350_poisson_20130925   3cb8da1e27b4f0cbce8fae765fcd59c9  </div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">harriet:JANA></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">harriet:JANA></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">harriet:JANA>md5sum $JANA_RESOURCE_DIR/Magnets/Solenoid/solenoid_1350_poisson_20130925</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">3cb8da1e27b4f0cbce8fae765fcd59c9  /Users/davidl/HallD/resources/Magnets/Solenoid/solenoid_1350_poisson_20130925</div></div><div><br></div><div><br></div><div>Regards,</div><div>-David</div><div><br></div><div><div>On Jul 18, 2014, at 9:39 AM, Matthew Shepherd <<a href="mailto:mashephe@indiana.edu">mashephe@indiana.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>Using bfield2root I see something very odd (hope the attachment goes through).</div><div><br></div><div>The field only seems nonzero between z=-100 and z=-60</div><div><br></div><div>Matt</div><div><span><Screen Shot 2014-07-18 at 9.37.44 AM.png></span></div><div><br></div><div><br></div><div><br></div><div><br></div>On Jul 18, 2014, at 7:18 AM, David Lawrence <<a href="mailto:davidl@jlab.org">davidl@jlab.org</a>> wrote:<br><br><blockquote type="cite"><br>Hi Matt,<br><br>  The output looks right. What happens if you run the bfield2root utility? This should<br>be built as part of the default sim-recon build. (Source is in $HALLD_HOME/src/programs/Utilities/bfield2root)<br><br>Draw the field map in ROOT using:<br><br>>bfield2root<br>>root bfield.root<br>root [1] Bz_vs_r_vs_z->Draw("colz")<br><br>Also, how are you checking that the field map is returning zeros?<br><br>Regards,<br>-David<br><br>On Jul 17, 2014, at 9:49 PM, Matthew Shepherd <<a href="mailto:mashephe@indiana.edu">mashephe@indiana.edu</a>> wrote:<br><br><blockquote type="cite"><br>Hi all,<br><br>Paul and I have been trying to understand why I cannot<br>get the example analysis software working and we seem<br>to have traced the problem down to the fact that the <br>magnetic field map is returning a zero field.<br><br>Does anyone know how to debug this?  The startup<br>of the job suggests all is OK (I think):<br><br>JANA >>URL: <a href="sqlite:////home/s4/mashephe/gluex/ccdb.sqlite">sqlite:////home/s4/mashephe/gluex/ccdb.sqlite</a><br>JANA >>context: default<br>JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350_poisson_20<br>130925 ...<br>Nx=251 Ny=1 Nz=43 )  at 0x7f46720a0ce0<br>Fine-mesh evio file does not exist.<br>Constructing the fine-mesh B-field map...<br>rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1vg.: 0.0Hz)     <br>Number of points in z = 6000<br>Number of points in r = 885<br>JANA >>10599 entries found (Created Magnetic field map of type DMagneticFieldMap<br><br>I'm using:<br><br>sim-recon-2014-06-30<br>ccdb_1.02<br>hdds-2.1<br>jana_0.7.1p3<br><br>and a ccdb.sqlite file from July 14 (copied from Mark's web page link that day).  I've also<br>tried the ccdb.sqlite file from dc2 conditions.<br><br>Matt<br><br><br>---------------------------------------------------------------------<br>Matthew Shepherd, Associate Professor<br>Department of Physics, Indiana University, Swain West 265<br>727 East Third Street, Bloomington, IN 47405<br><br>Office Phone:  +1 812 856 5808<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><br></blockquote><br></div></blockquote></div><br></body></html>