Versions Compared

Key

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

...

The same information can be obtained in a python script like  /reg/g/psdm/tutorials/examplePythonexamplePython3/detNames.py:

Code Block
from psana import *
ds = DataSource('exp=xpptut15:run=59:smd')

detNames = DetNames()
print '*** Detector Names (Full-Name, DAQ-Alias, User-Alias) ***'
for detname in DetNames(): 
    print (detname)

epicsNames = DetNames('epics')
print ('*** Some Epics Names (Full-Name, DAQ-Alias, User-Alias) ***')
for ename in epicsNames[:4]: 
    print (ename) # only print a few

In general, each detector can have 3 names.  Only the first is guaranteed to exist for all detectors:

...