Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PixCoordsProducer update

...

For data source  in each run loads/updates calibration geometry file from the calibration DB, evaluates pixel coordinate arrays using class PSCalib::GeometryAccess and saves them as ndarray<const floatTYPE,1> in the event store for keywords x-pix-coords, y-pix-coords, and z-pix-coordsenv.calibStore() for keys (TYPE=float) key_out_x, key_out_y, key_out_z, key_out_area, (TYPE=unsigned) key_out_ix, key_out_iy, and (TYPE=uint8_t) key_fname.

The main idea of this module is that calibration geometry file will be found and loaded (if available) automatically and pixel coordinate and index arrays will be produced and saved in the env.calibStore()

Configuration parameters

parameter

default value

description

source

DetInfo(:Cspad)

source of data

group

 

group of calibration type, by default will be set from source

key_out_x

x-pix-coords

output key pixel x-coordinate[um] array. If set empty - array is not saved in the event store.

key_out_y

y-pix-coords

output key pixel y-coordinate[um] array. If set empty - array is not saved in the event store.

key_out_z

z-pix-coords

output key pixel z-coordinate[um] array. If set empty - array is not saved in the event store.

key_out_area

""

output key pixel area array, default value is empty - array is not saved in the event store

key_out_ix

""

output key pixel x-coordinate index array, default value is empty - array is not saved in the event store

key_out_iy

""

output key pixel y-coordinate index array, default value is empty - array is not saved in the event store

key_fnamegeometry-calibpath to "geometry" calibration file

print_bits

0

verbosity:

  • =0 - print nothing
  • +1 - input pars
  • +2 - calibration file path
  • +4 - list of geometry objects
  • +8 - list of geometry objects with children
  • +16- comments from calibration file
  • +32 - pixel coordinates

...