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 > > > > On 2014/04/30 13:24, Graf, Norman A. wrote: >> Hello All, >> Please take a look at the following file to get started: >> >> http://www.slac.stanford.edu/~ngraf/kpixEcalTestBeam/outfile.slcio [1] >> >> >> Please let me know right away if you encounter any difficulties with >> this file. I downloaded it and was able to open it in Wired. >> You will need to have a recent lcsim installation to get the correct >> detector description. >> This has ~1000 single 12.1 GeV electrons. >> Norman >> >> ------------------------- >> FROM: [log in to unmask] >> [[log in to unmask]] On Behalf Of Dylan Mead >> [[log in to unmask]] >> SENT: Wednesday, April 30, 2014 11:48 AM >> TO: kpix-beamtest-software >> SUBJECT: [KPIX-BEAMTEST-SOFTWARE] sim data >> >> Can anybody point me to the location of the sim data? If anybody knows >> the machine and path we could log into your system and snatch it up. >> >> We want to do some testing of the data converter and I figured we >> could copy a file over to play with and see if our conversion to a >> kpix bin file works as expected. >> >> cheers, >> >> -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-SOF >> TWARE&A=1 >> [2] >> >> ------------------------- >> >> 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-SOF >> TWARE&A=1 >> [3] >> >> Links: >> ------ >> [1] http://www.slac.stanford.edu/~ngraf/kpixEcalTestBeam/outfile.slcio >> [2] >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOF >> TWARE&A=1 >> [3] >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOF >> TWARE&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