<div dir="ltr"><div>Let me make sure I understand what's happening here. Are the various .txt files outputs of the .pl scripts? What writes solid_PVDIS_ec_forwardangle__parameters_Original.txt? Or is that an input? Is that read by solid_PVDIS_ec_forwardangle_real.pl which then outputs solid_PVDIS_ec_forwardangle__geometry_Original.txt? I think that's what your slides are saying, is that right?</div><div><br></div><div>So if one wants to change the EC configuration one edits solid_PVDIS_ec_forwardangle__parameters_Original.txt, but to change the materials or bank definition you have to edit the Perl script? </div><div><br></div>I like that in the bank definition there is a description of each field. However, I would urge that the description should include the units. Or there should be a separate column for units.<div><br></div><div>This bothers me:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><a href="http://solid_ec_bank.pl" target="_blank">solid_ec_bank.pl</a> defines output bank "solid_ec", it needs to exactly match hit processing routine in solid_ec_hitprocess.cc under solid_gemc2/source<br>Every time, you add or remove an entry, you need to modify the source code and recompile "solid_gemc" by following instruction there</blockquote><div><br></div><div>Isn't this exactly the sort of thing we're trying to avoid? Having definitions of things in multiple places all of which have to be in synch for it to work?</div></div><div><br></div><div>What about the digitization, calibration, and analysis software? Presumably they don't read solid_PVDIS_ec_forwardangle__geometry_Original.txt since that's a GEANT-focused description; instead do they read solid_PVDIS_ec_forwardangle__parameters_Original.txt? And the other .txt files?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 22, 2015 at 11:13 PM, Zhiwen Zhao <span dir="ltr"><<a href="mailto:zwzhao@jlab.org" target="_blank">zwzhao@jlab.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All<br>
<br>
We talked about showing an example for using the external parameter to<br>
define a detector<br>
<br>
Here is "ec_solid_gemc" as an example<br>
<a href="https://jlabsvn.jlab.org/svnroot/solid/subsystem/ec/ec_solid_gemc/" target="_blank">https://jlabsvn.jlab.org/svnroot/solid/subsystem/ec/ec_solid_gemc/</a><br>
The parameter file is<br>
solid_PVDIS_ec_forwardangle__parameters_Original.txt<br>
as shown on slide 14 of my talk a few weeks ago<br>
<a href="http://hallaweb.jlab.org/12GeV/SoLID/download/software/talk/solid_software_zwzhao_20150326.pptx" target="_blank">http://hallaweb.jlab.org/12GeV/SoLID/download/software/talk/solid_software_zwzhao_20150326.pptx</a><br>
<a href="http://hallaweb.jlab.org/12GeV/SoLID/download/software/talk/solid_software_zwzhao_20150326.pdf" target="_blank">http://hallaweb.jlab.org/12GeV/SoLID/download/software/talk/solid_software_zwzhao_20150326.pdf</a><br>
<br>
see the "readme" file about how to use the example<br>
<br>
Zhiwen<br>
_______________________________________________<br>
Halla12_software mailing list<br>
<a href="mailto:Halla12_software@jlab.org">Halla12_software@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halla12_software" target="_blank">https://mailman.jlab.org/mailman/listinfo/halla12_software</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">- Richard S. Holmes<br> Physics Department<br> Syracuse University<br> Syracuse, NY 13244<br> 315-443-5977<br></div>
</div>