Versions Compared

Key

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

...

After execution in psana the file.root containing histogram(s) and ntuple(s) will be produced. Then, auxiliary script in root, running by the commend
root -q -f proc.C
produces the plots with histograms:

Example for Module ImgAlgos::PnccdImageProducer

See Module ImgAlgos::PnccdImageProducer

Example of the psana configuration file:

Code Block

[psana]                                                               
files         = /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/e57-r0360-s00-c00.xtc\
                /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc/e57-r0360-s02-c00.xtc
#skip-events = 100
events      =  5
modules = ImgAlgos.PnccdImageProducer CSPadPixCoords.SaveImageInFile

[ImgAlgos.PnccdImageProducer]
source        = DetInfo(:pnCCD)
inkey         =
outimgkey     = imgpnccd
print_bits    = 1

[CSPadPixCoords.SaveImageInFile]
source        = DetInfo(:pnCCD)
key           = imgpnccd
fname         = pnccd_img_ev
saveAll       = true
#eventSave     = 82
print_bits    = 1

This script saves text files with images like pnccd_img_ev-r0360-2010-12-17-075850.648945799.txt, which can be presented as:
Image Added