Versions Compared

Key

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

...

Code Block
from psana import *
import sys
ds = DataSource(sys.argv[1])
evt = ds.events().next()
cs = ds.env().configStore()
cfg = cs.get(Epix.Config100aV2, Source(sys.argv[2]))
print str(cfg.version()) # not ideal for epix10ka2M (and quads): currently the config DDL version (cfg.Version).  ideally would be the firmware version. (but didn't exist for early versions)
print str(cfg.carrierId0())+'/'+str(cfg.carrierId1())
print str(cfg.digitalCardId0())+'/'+str(cfg.digitalCardId1())
print str(cfg.analogCardId0())+'/'+str(cfg.analogCardId1())
#a0 = cfg.asics(0)
#a0.chipID()

...