[Clas12_software] Fwd: geometry database

Veronique Ziegler ziegler at jlab.org
Thu Apr 3 13:53:38 EDT 2014


Message from Gagik:
----- Forwarded Message -----
From: "Gagik Gavalian" <gavalian at jlab.org>
To: "Veronique Ziegler" <ziegler at jlab.org>
Cc: "clas12 software" <clas12_software at jlab.org>
Sent: Thursday, April 3, 2014 1:48:20 PM
Subject: geometry database

Hi,

I just wanted to clarify the point about the geometry. My idea is that geometry service has to mimic the CCDB, even if 
the certain values are not stored in the CCDB.

There should be an interface to the service that can do:

geomdb.list(“DC”) - returns all subfolders in DC
geomdb.list(“DC/WIRES”) - returns subfolders in DC/WIRES

for getting the constants:

double[]  x_center = geomdb.getDoubleArray(“DC/WIRES/CENTER/X”);

The end user does not need to parse lengthy XML, but get the desired arrays. 

Any comments or suggestions ?


Gagik




More information about the Clas12_software mailing list