Print

Print


Okay, I'm now successfully able to retrieve a KpixCalibration using the 
default steering file, which is great. I ran into an issue along the 
way, however, which was specifying the address of the layer in reference 
to the KpixCalibrationSet. I had been using "getCalibration" which has 
kpixAsic as its first argument, and passing the first value in my 
calibration file, which appears as "<kpixAsic id=1015>..." for the first 
layer. Unless I'm mistaken, that number gets treated as the serial by 
KpixCalibrationSet, because I was only able to retrieve a calibration 
with the number 1015 when I passed it as the first argument to 
"getCalibrationBySerial".

Is this intentional? If so, what is the standard of addressing the 
different layers? Sorry if I missed something obvious here, but I want 
to make sure I can consistently get the right address without ignoring 
certain calibrations.

Thanks!

Kyle


On 2014/04/23 14:32, Dmitry Onoprienko wrote:
> Hello Kyle,
> 
> I made constructors for specific record types public.
> 
> - Dmitry.
> 
>> -----Original Message-----
>> From: Kyle Travis [mailto:[log in to unmask]]
>> Sent: Wednesday, April 23, 2014 1:41 PM
>> To: Onoprienko, Dmitry
>> Cc: kpix-beamtest-software
>> Subject: Re: [KPIX-BEAMTEST-SOFTWARE] Retrieving KpixCalibration
>> 
>> Hi Dmitry,
>> 
>> Thanks, that example helps a lot. Unfortunately I'm running into 
>> another
>> issue, which is that the KpixDataRecord constructor is only accessibly
>> within the KpixReader package. This makes me wonder, would it be 
>> better
>> to have the simulation hit -> KpixDataRecord within the KpixReader
>> package for consistency, or is there another solution for this?
>> 
>> Thanks again,
>> 
>> 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