On 05/07/2013 04:02 PM, Tony Johnson wrote:HI, what I said was that it is not necessary to put the data into a .heprep file to display it in WIRED. For both the data and the detector geometry you have a choice:
Kyle and I are sitting here talking about populating our wire frame sensor with some data. If I remember correctly you guys said that there isn't a way to represent newly collected data into a WIRED geometry that's already loaded. I think Tony mentioned writing new .heprep files on the fly. So the smartest way to do this would be to take a .heprep that has all of the sensor geometry to use as a template, fill that out with data that we are collecting via the kpixReader, then once we have collected all of the data from that "Event" and have writen the new .heprep then just reload that into wired?
If this is not the way to go please advise. If this is the best way to do this please let me know, and of course advice is still welcome.
*) Read the objects to be displayed from a .heprep file
*) Create them on the fly as Java "HepRep" objects
What we do for the ILC detectors in the lcsim framework is to read the detector geometry description from a .heprep file, then create HepRep objects on-the-fly representing the data, then send the combination of the two to WIRED to display. If you have the lcsim package checked out you can look in the package org.lcsim.util.heprep to see how this is done, in particular org.lcsim.util.heprep.LCSimHepRepConverter.
I also said I would send you a simple demo of how to get started with this in the KPiX package, I will try to do that in the next day or two.
Tony
########################################################################
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
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