Versions Compared

Key

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

...

Panel

myana_morefeatures.cc

This version of the "user analysis module" shows how to obtain some more information from the xtc file:
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.

event():

  • fills 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. The constant-fraction histogram is filled by the function fillConstFrac(), defined in main.cc. This histogram is filled with the boundary position each time the pulse crosses the threshold,
  • the rest of event() uses a lot of get-functions to show how to use some of these. Generally, they all give you values through scalar or array variables passed as arguments to the functions. The example doesn't show what you would use this information for, but you might already know that (smile)
Panel

myana.cc
More histogram building for ETof Acquiris

Panel

myana.ccmyana_bin.cc
More ITof Aquiris averaging, and more about binning

Panel

Opal image processing, projections, image export

Panel

Magnetic electron bottle spectrometer (Mbes) Acquiris, time resolved binning

Panel

Energy binning for Mbes Acquiris

Panel

examples/myana_tuple.cc
Example of how to store several variables in a root NTuple for further processing (histogramming, correlation studies etc.).

Panel

examples/myana_cspad.cc, examples/CspadTemp.cc, examples/CspadTemp.hh
CsPad image

Panel

Opal image processing, projections, image export

Panel

Magnetic electron bottle spectrometer (Mbes) Acquiris, time resolved binning

Panel

Energy binning for Mbes Acquiris

Panel

ITof Aquiris averaging/binning

Panel

histogram building for ETof Acquiris

...

Configuration and L1Accept Data retrieval functions:

...