Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Module CSPadPixCoords::CSPadImageProducer

CSPadImageProducer works in psana framework. It does a few operation as follows:

  • gets the pixel coordinates from PixCoords2x1, PixCoordsQuad, and PixCoordsCSPad classes,
  • gets data from the event,
  • produces the Image2D object with CSPad image for each event,
  • adds the Image2D object in the event for further modules.
    Time consumed to fill the CSPad image array (currently 17501750) is measured to be about 40 msec/event on psana0105.

Module configuration parameters:

  • calibDir (default: "/reg/d/psdm/CXI/cxi35711/calib") – directory with calibration files,
  • typeGroupName (default: "CsPad::CalibV1") – data type and group names,
  • source (default: "CxiDs1.0:Cspad.0") – source of data,
  • runNumber (default: 32U) – run number for calibration file,
  • events (default: 32U) – number of events before stop a job,
  • filter (default: false) – on/off for potential selection filter,
  • tiltIsApplied (default: true) – on/off for tilt angle of 2x1-sections and quads.

Module CSPadPixCoords::CSPadImageGetTest

CSPadImageGetTest is a psana module class, which works after CSPadImageProducer. It gets the Image2D object from the event. This image object may be used in data processing. For the test purpose, the image of particular event is saved in the text file. This event number is defined in the psana.cfg configuration file.

Module configuration parameters:

  • source (default: "CxiDs1.0:Cspad.0") – source of data,
  • events (default: 10000000) – number of events before stop a job,
  • eventSave (default: 32U) – event number to save the CSPad image file,
  • filter (default: false) – on/off for potential selection filter.