In these examples a simple analysis of a binary file containing simulated data from the nuclear physics course is performed (the same data can be found also in text format)
DescriptionSome examples use ROOT to produce histograms.
Simple ROOT example
Bragg curve dump - version 1
Bragg curve dump - version 2
Bragg curve mean - version 1
Bragg curve mean - version 2
Bragg curve mean - version 3
Bragg curve mean - version 4
Bragg curve mean - version 4b (version with "lazy evaluation", using mutable variables)
Bragg curve plot - version 1
Bragg curve plot - version 2
Bragg curve plot - version 3 - description
Bragg curve plot - version 4
Bragg curve plot - version 5
Bragg curve plot - version 5a (version reading data from text file)
Bragg curve plot - version 5b (version choosing at runtime text/binary input format)
Bragg curve plot - version 6
Bragg curve plot - version 6t (version with threads processing events in parallel)
-------------------------------------------
In these other examples the implementation of a likelihood discriminator is shown
Likelihood discriminator - version 1 - discussion
Likelihood discriminator - version 2
Likelihood discriminator - version 3 (version performing multiple analyses with different sets of variables)
Likelihood discriminator - version 4 (version "flyweight")
-------------------------------------------
To access examples download the files and unpack them with the commands
tar -xzf braggDump_v1.tgz
and so on for all the other .tgz files