Hi Norman,

I've been digging around online for a solution but you can only do so much when you're not sure how to ask the right question. Hopefully you can help.

Here is the problem. Our display class has a statically defined path to a text file that holds all of the geometry information that is used for drawing the detector. This screws up portability because anytime I go to use it on a different machine I have to edit the path in the KpixHepRepConverter.java to the new location of geometry.txt, recompile, and put geometry.txt in the right location on the other machine.

I would like to have a class that I can put in the package with the display. Then in the display class I could have a line like

double[][] sensorGeometry = GeometryClass.getGeometry();

Is this doable?

-Dylan


Use REPLY-ALL to reply to list

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