Page History
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 in /reg/g/psdm/tutorials/examplePythonexamplePython3/bld.py.
Code Block |
---|
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 |
Overview
Content Tools