Versions Compared

Key

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

...

Panel

This version of the "user analysis module" analyzes some more information from the xtc file:

During beginjob():

  • we book a profile histogram for AMO Ion Time-of-flight (AmoITof) waveform data, and also five regular histograms to fill with single event data from the first five events. To do this we need some information about the AmoITof configuration, which is obtained using the getAcqConfig(). This gives us the number of channels that were used, number of samples and sampling intervals, all needed to book the histogram.
  • also a constant-fraction histogram is booked for AmoITof. This has it's own fill function, as we shall see from the event() function.
  • For the Electron Time-of-flight detector (AmoETof), we similarly get the configuration data and make one profile histogram for each channel used.
  • Also get config information about the Magnetic bottle electron spectrometer (AmoMbes).
  • A Princeton camera and a fast CCD (FCCD) was also in use. These have their own getConfig functions: getPrincetonConfig( DetInfo::SxrBeamline, ...) and getFccdConfig(SxrFccd, ...).
    In beginrun() we get the config info from AmoITof again, to check if it changed between runs in the same job.

During event(), we fill the histograms booked at the beginning of the job: getAcqValue() gets the data from a given detector for each event. The main program is already keeping track of which event we're processing at the time.

...

Configuration and L1Accept Data retrieval functions:

...