FAQ:How do I access and pull out data in the AES?

From Daya Bay

Jump to: navigation, search

This module http://dayabay.ihep.ac.cn/tracs/dybsvn/browser/people/djaffe/panda/latest_sendjobs/Production/chkFC.py contains an example of how to access the AES. It is very similar to accessing headers in the TES.

The steps are briefly outlined.

In a Python algorith, get the collection of some HeaderObjects from the AES:

  sim_headers = self.getAES("/Event/Sim/SimHeader")
  if not sim_headers: return FAILURE

Iterate over the SimHeaders:

  for sh in sim_headers:
    ... do something ...
Personal tools