Page History
...
Panel |
---|
myana.cc - example code to make that makes a simple averaging histogram myana_morefeatures.cc - example code that does a little more than myana.cc |
Here's a brief description of the functions of myana.cc and main.cc:
Panel |
---|
This is the "user analysis module". This is where you fill in your own code to extract the information that you want from your experiment's xtc file. This module contain only the following functions:
|
Panel |
---|
This is the main control of the analysis, but you should avoid editing this file. After the all utility functions (in main) and user functions (in myana) have been read,
which iterates through the xtc file, keeps track of all the datagrams in it, and makes sure to execute your |
All the functionality needed to get data from the xtc file is (or should be) defined in main.cc and in the files it includes (including the pdsdata library). Get an uppdated list of all the available functions by looking at main.hh (implementations are in main.cc).
...
More examples
...
myana_morefeatures.hh,cc:
...