Print

Print


The beamgap value is perhaps not easily accessed right now (think Nathan's example will probably work).

We can make this value more easily accessible via one of the detector classes....would not be hard at all.  Let me know and I can do it.

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Nathan Baltzell
Sent: Tuesday, December 01, 2015 9:12 AM
To: Holly Vance
Cc: hps-software
Subject: Re: Accessing ecal geometry parameters

Looks like you might be able to:

HPSEcal3.getNode().getChild("layout").getAttribute("beamgapTop").getDoubleValue()



On Dec 1, 2015, at 11:22, Holly Vance <[log in to unmask]> wrote:

> Hello,
> 
> If I want to access parameters set in the ecal geometry from within hps-java.
> 
> Specifically, cluster energy corrections depend on a distance to the edge. The bottom edge of the crystals is specified in the ecal geometry compact.xml in the variables such as BEAMGAPTOP. How could I access this value in ClusterUtilities, store this value, and use it in my calculations for distance to edge?
> 
> Thanks ahead of time,
> Holly
> 
> Use REPLY-ALL to reply to list
> 
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
> 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1