Page History
...
In 2014 new universal detector geometry software is implemented and documented in the Detector Geometry page. In this approach detector geometry calibration information is located collected in a single file of type
geometry
-
which contains hierarchical description of all detector components
...
. For example for CSPAD
...
it has sensors' location and rotation in the quads, quads - in the detector, detector - in the setup, etc.
C++ classes and modules for psana
data types are implemented in the package
pdscalibdata
as CsPad2x2*
modules:
CsPad2x2CenterV1
CsPad2x2TiltV1
CsPad2x2PedestalsV1
CsPad2x2PixelGainV1
CsPad2x2PixelStatusV1
Access methods are implemented in the package
PSCalib
in CSPad2x2CalibPars
module.
Example of acess is in PSCalib/test/ex_cspad2x2_calib_pars.cpp
.
Automated access to the cspad2x2 geometry parameters is implemented in packages:
- Package
CSPadPixCoords
generates and returns the CSPad2x2 pixel coordinates, taking into account geometry alignment parameters, if available in the expected place under/reg/d/psdm/<instrument>/<experiment>/calib
directory. - Module
CSPadPixCoords::CSPad2x2ImageProducer
produces CSPad2x2 image, accounting for correct geometry, if available.
Description of the psana module and example can be found in Psana Module Catalog - Module CSPadPixCoords::CSPad2x2ImageProducer
Python modules for CSPAD2x2 geometry
By default these files reside under the calib directory with full path like
/reg/d/psdm/<instrument>/<experiment>/calib/<calib-soft-version>/<data-source>/geometry/<run-range>.data
Whenever necessary image can be generated by the psana Module CSPadPixCoords::CSPad2x2ImageProducer, which access geometry calibration data automatically, generates 2-d image and saves it in the event store for further processing.
Python modules for CSPAD2x2 geometry
Detector geometry software, described in Detector Geometry, Universal detector geometry software, described in Detector Geometry, has a Python interface which is recommended to use in new code development.
...
- Calibration Management Tool
- Detector Geometry
- CSPAD Alignment
- CSPAD Geometry and Alignment
- CSPAD pixel coordinates and image producer in Python (older version CSPAD image producer in Python )
Deprecated
C++ classes and modules for psana
data types are implemented in the package
pdscalibdata
as CsPad2x2*
modules:
CsPad2x2CenterV1
CsPad2x2TiltV1
CsPad2x2PedestalsV1
CsPad2x2PixelGainV1
CsPad2x2PixelStatusV1
Access methods are implemented in the package
PSCalib
in CSPad2x2CalibPars
module.
Example of acess is in PSCalib/test/ex_cspad2x2_calib_pars.cpp
.
Automated access to the cspad2x2 geometry parameters is implemented in packages:
- Package
CSPadPixCoords
generates and returns the CSPad2x2 pixel coordinates, taking into account geometry alignment parameters, if available in the expected place under/reg/d/psdm/<instrument>/<experiment>/calib
directory. - Module
CSPadPixCoords::CSPad2x2ImageProducer
produces CSPad2x2 image, accounting for correct geometry, if available.