[Clas12_software] geometry service running on claradm
Johann Goetz
jgoetz at ucla.edu
Mon Apr 1 16:01:20 EDT 2013
Hi Mac,
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.
<geometry>
<drift_chamber>
<volumes sector="0">
<sec1_reg1_slyr1_lyr1>
<color>66aadd</color>
<description>Drift Chamber Sector 1 Region 1 Superlayer 1
Senselayer 1</description>
<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
.5449*cm -7.58295*deg</dimensions>
<exist>1</exist>
<hit_type>DC</hit_type>
<identifiers>sector ncopy 0 superlayer manual 1 layer
manual 1 wire manual 1</identifiers>
<material>DCgas</material>
<mfield>no</mfield>
<mother>sector1</mother>
<ncopy>1</ncopy>
<pMany>1</pMany>
<pos>-6.31597*cm -2.47111*cm -8.3906*cm</pos>
<rotation>0*deg 0*deg 6*deg</rotation>
<sensitivity>DC</sensitivity>
<style>1</style>
<type>G4Trap</type>
<visible>1</visible>
</sec1_reg1_slyr1_lyr1>
[... snip (lots more XML objects for each volume) ...]
</volumes>
</drift_chamber>
</geometry>
--
Johann <http://sites.google.com/site/theodoregoetz/>
On Mon, Apr 1, 2013 at 3:50 PM, Mac Mestayer <mestayer at jlab.org> wrote:
> Good work, Johann and Yelena!
>
> I have a couple of questions:
>
> What is the content of dc/sector_volumes? Is it a set of
> generalized trapezoids?
>
> Also, do either of your requests return plane information?
>
> - Mac
>
> "mestayer at jlab.org", (757)-269-7252
>
>
> On Mon, 1 Apr 2013, Johann Goetz wrote:
>
> I have started the CLAS12 detector geometry service on claradm.jlab.org.
>> You can access it through clara at:
>>
>> "129.57.28.27/CCDB/CLAS12 Geometry Service"
>>
>> The service expects a property-tree object. If you send it a blank (or
>> malformed) request object, it will respond with a string containing an
>> error message and the following usage statement:
>>
>> CLAS12 Geometry Service version 0.4.0
>> written by: Johann Goetz, Yelena Prok
>>
>> This service returns the expanded geometry parameters to other
>> services. It expects a property list which must specify the
>> request in the form: system/values such as dc/wire_endpoints or
>> dc/sector_volumes.
>>
>> Input property list keys:
>> quiet: (true|false)
>> verbose: (true|false)
>> units: (cm|mm)
>> coordsys: (sector|lab)
>> request: (one or more of the following separated by spaces)
>> dc/wire_endpoints
>> dc/sector_volumes <-- ignored keys: units, coordsys
>>
>> Output type: XML string
>>
>> As you can see, at the moment only the DC is supported. The BST is in the
>> library but not exposed in the service quite yet. If you see anything
>> wrong, please file a bug report on the CLAS12 bug tracking
>> website<https://clasweb.jlab.**org/mantisbt/my_view_page.php<https://clasweb.jlab.org/mantisbt/my_view_page.php>>
>> under
>>
>> the project "Constants Database"
>> Thank you,
>>
>> Johann <http://sites.google.com/site/**theodoregoetz/<http://sites.google.com/site/theodoregoetz/>
>> >
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/clas12_software/attachments/20130401/37df964a/attachment-0002.html>
More information about the Clas12_software
mailing list