Versions Compared

Key

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

...

Here is a possible outline for this section:

  • usage of the static AIDA defaultInstance
    • defining each type (e.g. bin sizes for histograms, etc.)
    • filling each type
  • creating plots from a sample Driver (use Analysis101 or some other template)
  • changing axis range min/max
  • changing to log scale
  • modifying fields that show in statistics box
  • saving and reloading plots using .aida files
  • importing into a Powerpoint presentation
  • basic fitting (would keep this pretty simple)

It would probably be best done with more than one page.

...

For plotting and fitting, org.lcsim provides an implementation of the Abstract Interfaces for Data Analysis AIDA.
AIDA objects is organized in Trees, which can have a directory structure like a file system.
This tutorial will assume that you are working in JAS3 and have either loaded an existing AIDA file or created objects in AIDA with the org.lcsim plugin. For a first introduction how to create AIDA objects, you could execute one of the AIDA examples or one of the org.lcsim examples in JAS3 or follow Explanation of Analysis101

Teminology
Anchor
Terminology
Terminology

...

We will now go through the necessary steps to create and fill an AIDA histogram with data from an event. If you don't know how to read data from an event, please follow the Explanation of Analysis101

Viewing and Loading Plots
Anchor
Viewing and Loading Plots
Viewing and Loading Plots

...

  • A Gaussian (3 parameters)
  • An exponential (2 parameters)
  • 0th, 1st and 2nd order polynomials (1, 2 and 3 parameters, respectively)
    You can fit your data to one of these functions as well as to a sum of any combination of these.
    Select Add function from the context menu by right-clicking on the histogram
    Select Fit from the context menu and select the function you want to fit to the data.
    The fit parameters will be displayed in the statistics box.
    If, for some reason the fit has failed, you can access the parameters by accessing the Functions tab in the Plot Properties... dialog, which you can access from the context menu.
    The Functions tab lets you choose:
  • The display properties of the function curve
  • The fit parameters with their error and an indicator whether they are included in the fit
  • A box that lets you select the fitter and the dataset which to fit, as well as an indicator whether the fit was successful and the chi-Squared value of the fit.

Before re-fitting the function, make sure the indicators of all parameters that you want included in the fit are checked. You can modify the Values of each Parameters, which will then be used as the new starting point for the fit. Click the checkbox labelled Fit to uncheck it, then click it again to start the new fit.

Advanced Tutorials
Anchor
Advanced Tutorials
Advanced Tutorials

...