Learning AIDA_Proxies by examples

Under these pages one finds self-contained examples demonstrating the use of the AIDA_Proxy layer implemented on top of the AIDA abstract interfaces (version 3.0). The objects can be used in C++ programs using any implementation of the AIDA interfaces. Using the plugin manager system, different implementation can be easily chosen at run time, by specifying its name in the proxy constructor. Plugin's exist for Root histograms (1D,2D and 3D) and profiles (1D and 2D) and for the AIDA native implementation from Anaphe (version 5.0.5), for histograms, data point sets, tuples, functions and fitter. Refer to the AIDA pages for other implementations.

Basics of histograms, functions, tuples, dataPointSets, fitting and plotting

C++ examples:

  1. Creating, filling, and printing the contents of an 1-dimensional histogram.
  2. Creating several histogram types and saving them into an XML file
  3. Creating a 2D and a 3D histogram, project them to 1D and 2D histograms and saving them into a ROOT file
  4. Fitting an 1-dimensional histogram and printing the results.
  5. Creating and filling a tuple in memory and projecting into a cloud
  6. Creating a DataPointSet and saving it into an XML file
  7. Fitting an 1-dimensional histogram and plotting the results using JAIDA

 

Python examples:

  1. Creating, filling AIDA histograms and plotting them in a ROOT canvas using PyROOT
  2. Creating, filling AIDA histograms and plotting them in HippoDraw
  3. Fitting AIDA histograms
  4. Reading a ROOT tree, fillling AIDA histograms and plotting them in HippoDraw
  5. Creating and writing a tuple
  6. Reading and analyzing tuple
  7. Fitting and plotting user defined Python functions
  8. Plotting AIDA objects (Histograms, Clouds, DataPointSets and Functions) using JAIDA

These examples are a straight forward porting of the AIDA examples provided by Ioannis Papadopoulos in the context of Anaphe.
Andreas Pfeiffer and Lorenzo Moneta EP/SFT