<div dir="ltr"><div>Hi Mac,<br>Thanks! The "dc/sector_volumes" are an XML string containing the parameters used specifically by GEMC to create the trapesoids. Here is an example of Layer 1, Superlayer 1, Region 1, Sector 1. It takes a bit of effort to see the data in this, but XML is not really designed to be read by humans even though it is technically "human-readable." ;) You'll notice that the tags correspond more or less to the GEANT4 G4Trap constructor.<br>
<br><br><geometry><br>    <drift_chamber><br>        <volumes sector="0"><br><br>            <sec1_reg1_slyr1_lyr1><br>                <color>66aadd</color><br>                <description>Drift Chamber Sector 1 Region 1 Superlayer 1 Senselayer 1</description><br>
                <dimensions>0.5693*cm -25*deg 90*deg 75.5877*cm 6.66352*cm 85.2655*cm -7.58295*deg 75.5877*cm 6.94289*cm 85<br>.5449*cm -7.58295*deg</dimensions><br>                <exist>1</exist><br>
                <hit_type>DC</hit_type><br>                <identifiers>sector ncopy 0 superlayer manual 1 layer manual 1 wire manual 1</identifiers><br>                <material>DCgas</material><br>
                <mfield>no</mfield><br>                <mother>sector1</mother><br>                <ncopy>1</ncopy><br>                <pMany>1</pMany><br>                <pos>-6.31597*cm -2.47111*cm -8.3906*cm</pos><br>
                <rotation>0*deg 0*deg 6*deg</rotation><br>                <sensitivity>DC</sensitivity><br>                <style>1</style><br>                <type>G4Trap</type><br>
                <visible>1</visible><br>            </sec1_reg1_slyr1_lyr1><br><br></div> [... snip (lots more XML objects for each volume) ...]<br><div><div><br>        </volumes><br>    </drift_chamber><br>
</geometry><br><br> </div></div><div class="gmail_extra">--<br clear="all"><div><a href="http://sites.google.com/site/theodoregoetz/">Johann</a><br></div>
<br><br><div class="gmail_quote">On Mon, Apr 1, 2013 at 3:50 PM, Mac Mestayer <<a href="mailto:mestayer@jlab.org">mestayer@jlab.org</a>> wrote:<br><blockquote class="gmail_quote">
Good work, Johann and Yelena!<br>
<br>
I have a couple of questions:<br>
<br>
What is the content of dc/sector_volumes?  Is it a set of<br>
generalized trapezoids?<br>
<br>
Also, do either of your requests return plane information?<br>
<br>
                        - Mac<br>
<br>
"<a href="mailto:mestayer@jlab.org">mestayer@jlab.org</a>", <a href="tel:%28757%29-269-7252">(757)-269-7252</a><div><div class="h5"><br>
<br>
On Mon, 1 Apr 2013, Johann Goetz wrote:<br>
<br>
</div></div><blockquote class="gmail_quote"><div><div class="h5">
I have started the CLAS12 detector geometry service on <a href="http://claradm.jlab.org">claradm.jlab.org</a>.<br>
You can access it through clara at:<br>
<br>
"<a href="http://129.57.28.27/CCDB/CLAS12">129.57.28.27/CCDB/CLAS12</a> Geometry Service"<br>
<br>
The service expects a property-tree object. If you send it a blank (or<br>
malformed) request object, it will respond with a string containing an<br>
error message and the following usage statement:<br>
<br>
CLAS12 Geometry Service version 0.4.0<br>
written by: Johann Goetz, Yelena Prok<br>
<br>
This service returns the expanded geometry parameters to other<br>
services. It expects a property list which must specify the<br>
request in the form: system/values such as dc/wire_endpoints or<br>
dc/sector_volumes.<br>
<br>
Input property list keys:<br>
   quiet:    (true|false)<br>
   verbose:  (true|false)<br>
   units:    (cm|mm)<br>
   coordsys: (sector|lab)<br>
   request:  (one or more of the following separated by spaces)<br>
             dc/wire_endpoints<br>
             dc/sector_volumes     <-- ignored keys: units, coordsys<br>
<br>
Output type: XML string<br>
<br>
As you can see, at the moment only the DC is supported. The BST is in the<br>
library but not exposed in the service quite yet. If you see anything<br>
wrong, please file a bug report on the CLAS12 bug tracking<br></div></div>
website<<a href="https://clasweb.jlab.org/mantisbt/my_view_page.php">https://clasweb.jlab.<u></u>org/mantisbt/my_view_page.php</a>> under<div class="im"><br>
the project "Constants Database"<br>
Thank you,<br>
<br></div>
Johann <<a href="http://sites.google.com/site/theodoregoetz/">http://sites.google.com/site/<u></u>theodoregoetz/</a>><br>
<br>
</blockquote>
</blockquote></div><br></div></div>