Getting the most out of your plots
Introduction
For plotting and fitting, org.lcsim provides an implementation of AIDA.
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.
If you have executed some of the examples in JAS3, you have already used AIDA in lines like these:
AIDA aida = AIDA.defaultInstance(); ... aida.cloud1D("nTracks").fill(tracks.size());
These lines create and fill an unbinned histogram named nTracks with the return value of tracks.size()
Teminology
AIDA provides two different kinds of histograms: binned and unbinned.
Binned histograms are called IHistogram1D
, IHistogram2D
, and IHistogram3D
for one, two and three-dimensional histograms.
Similarly, unbinned histograms are called ICloud1D
, ICloud2D
, and ICloud3D
Getting started
Viewing and Loading Plots
Saving in various graphics formats (e.g. PNG, EMF, JPG, etc.)
Overlaying Plots
Changing Layout/Style/Properties with the Mouse
Advanced Topics
For this section, you will want to take a look at
PAIDA and AIDA API
Changing Layout/Style/Properties with a Script
While it is convenient to be able to manipulate your data with the mouse, in many cases you will want to apply the same modifications to a set of similar data, or perform more complicated modifications that are quite possible to do with AIDA, but not (yet) implemented in JAS3. This is where a script comes in handy