Print

Print


hi Kyle, you are on the right track, but if I remember correctly there 
are utility classes in lcsim which should take care of decoding that 
string, and converting the cellId into a position, you should not need 
to do that yourself. Maybe Norman remembers how that works exactly?

Tony

On 05/07/2014 10:17 AM, Kyle Travis wrote:
> I've figured out how to get the LCMetaData from the eventheader, and I
> see where one of the Maps has a string in it that looks like this:
>
>       
> system:0:6,barrel:6:3,module:9:4,layer:13:6,slice:19:5,x:32:-16,y:48:-16
>
> Under the name "CellIDEncoding". Am I on the right track?
>
>
> Kyle
>
>
> On 2014/05/07 10:04, Kyle Travis wrote:
>> 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-SOFTWARE&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-SOFTWARE&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-SOFTWARE&A=1
>>> [3]
>>> 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
> ########################################################################
> 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