Hi Norman, Thank you! I've updated the svn repository with the new changes, and I'm attaching a runnable jar that will convert .slcio files to kpix .bin's It can be run using: java -jar SimConverter.jar path/to/input.slcio path/to/output.bin Kyle On 2014/05/07 11:53, Graf, Norman A. wrote: > Hello Kyle, > Nice work! > The silicon wafer is modeled as a square the same size as the tungsten > plates, so there will be hits in the sensitive layer which lie outside > the > active pixel areas. I believe those are the hits which return -1, > although > I have not tested that explicitly. > Norman > > -----Original Message----- > From: Kyle Travis [mailto:[log in to unmask]] > Sent: Wednesday, May 07, 2014 11:50 AM > To: Graf, Norman A. > Cc: Dylan Mead; kpix-beamtest-software > Subject: Re: [KPIX-BEAMTEST-SOFTWARE] sim data > > Here is the first shot I have of outfile.slcio converted to a kpixdata > .bin file and read into JAS3. I ignored hits that listed -1 as the > channel, or > 8 for the layer. > > Kyle > > > On 2014/05/07 11:22, Kyle Travis wrote: >> Thanks Norman, >> >> I see that now, I'm not sure why I missed this before. Everything >> should be working soon! >> >> >> Kyle >> >> >> On 2014/05/07 11:06, Graf, Norman A. wrote: >>> Hello Kyle, >>> Please take a look at: >>> >>> org.lcsim.kpix.tbsim.KpixDigitizerDriver >>> >>> in the tbsim module. It provides an example for accessing the MC data >>> in the lcio files. In particular, it extracts the layer number and >>> converts the position to a pixel id. It also makes plots of pixel >>> hits as a function of layer. It just needs to be tied in to the Kpix* >>> writer classes. >>> Let me know if you experience any difficulties or have any further >>> questions. >>> Norman >>> >>> -----Original Message----- >>> From: Kyle Travis [mailto:[log in to unmask]] >>> Sent: Wednesday, May 07, 2014 10:04 AM >>> To: Graf, Norman A. >>> Cc: Dylan Mead; kpix-beamtest-software >>> Subject: Re: [KPIX-BEAMTEST-SOFTWARE] sim data >>> >>> Hi Norman, >>> >>> I'm able to open and interact with the simulation data you sent us, >>> but I'm not sure how exactly to get at some of the geometry >>> information. It could be that I just haven't found what I'm looking >>> for in the lcsim documentation yet. >>> >>> I have the hits in the file as a list of MCParticles, which contain >>> positional information, but I haven't been able to feed that through >>> the geometry description to get pixel/layer information yet. I can >>> think of ways to do this (particularly for the pixel, which we have >>> methods for finding already of course) but I assumed this information >>> was already in the file, and I wanted to find out what the optimum >>> method was first. >>> >>> Thanks, >>> >>> Kyle >>> >>> >>> > > ######################################################################## > 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