Versions Compared

Key

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

...

  • gets CSPAD configuration from the environment frame Psana::CsPad::ConfigV#,
  • gets CSPAD data from the event frames Psana::CsPad::DataV#, Psana::CsPad::ElementV#,
  • creates the data array as ndarray<T,3>, where T stands for outtype, which may be double, float, int, or uint16_t,
  • puts the data array in the event with outkey tag.

The data array {{ndarray<T,3>}} has a shape (N,185,388), where N?32.
This array is combined from data arrays for quads, ndarray<int32_t,3> with shape (M,185,388), where M?32, taking into account the CSPAD configuration.

...