Page History
...
- Most of the functions return 0 if it was a successful function call, any other number means it failed.
Wiki Markup Values are obtained through the arguments of the function calls. E.g. declare an array in your myana.cc, and {{getXXXValue(&myarray\[0\])}} will fill the array for you.
- Enums: Several of the functions can be used to extract data from several of the detectors. Which detector is specified by an enum (named constant integers). You are encouraged to use the names instead of the numbers, in case the underlying order changes in a new version of the program.
Panel | ||||||
---|---|---|---|---|---|---|
Acquiris digitizer:
Fetches the configuration information for any of the Acquiris devices. Returns 1 if the requested detector does not exist, and 2 if it was not in use. Tells you the number of channels used for this device, the number of samples collected and the sample interval. This is typically done in the
Fetches waveform data from any of the Acquiris devices. Fills your arrays with the waveform time and voltage, and optionally gives you the trigger time. In the myana.cc example, we fetch data from the AmoITof device (AMO Ion Time-of-flight).
|
Panel | ||||
---|---|---|---|---|
Image dataThere are several getters for various image data:
fetches an image from the FrameDetector of your choice.
For an example of how to draw an image as a 2D root histogram, see the myana_cspad.cc example. |
...