You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Beam Line Data is smaller data that can be delivered to all hutches (i.e. not associated with the DAQ system in one hutch).  This script lives in /reg/g/psdm/tutorials/examplePython3/bld.py.

from psana import *
ds = DataSource('exp=xpptut15:run=59:smd')
ebeamDet = Detector('EBeam')
for nevent,evt in enumerate(ds.events()):
    ebeam = ebeamDet.get(evt)
    if ebeam is None: continue
    print(ebeam.ebeamPhotonEnergy())
    break
  • No labels