Versions Compared

Key

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

...


for epics values:
SIOC::SYS0::VARNAME maps to SIOC__SYS0__VARNAME (maybe)
dgram[0].epics[0].raw.SIOC::SYS0::VARNAME
Detector('SIOC::SYS0::VARNAME')
dgram[0].epics[0].raw.SIOC__SYS0__VARNAME
det = Detector('motor1')
val = det(evt)
for "jump" each detector owns a stepstore and the detector uses it to to return correct value.

 


for normal detectors:
dgram[0].tmoopal[0].raw
Detector('tmoopal') 


proposal for configuration scans ... try to put it in the main detector interface:

...

DetectorImpl uses EnvStore to decide if this detector should be added with hierarchical attributes so 2) can be achieved. 

Naming

In general names should be python compatible containing only A-Z,a-z,0-9,_.  An exception is that ENUMDICT and ENUMVAL have special handling that requires a ":".  And I think if not alias is specified for epics variables then the ugly epics name is used.  This is handled correctly by psana for this special case, but it makes it difficult to enforce naming rules.