Analysis.hh/.cc:
Options stuff:
Methods for metadata extraction figures twice (so would not compile). I suspected c/p error, and just commented them out.
Method names - “get”-prefix is not usual for getters. Analysis name is just name() and not getName(). As such I think getOption() should simply be option().
I see you killed the support for a vector of options :). Any reason why? It was originally there to accommodate for the Percentile histograms (see below), but beyond that, I found it useful, though maybe a bit complicated – one can of course add such a thing in an individual analysis if the need arises.
Added MC_OPTIONS.cc to show how to use options in an analysis.
Centrality:
Did not add the Percentile things – do we want them in the code base or not? Since we can do all we want with options. This also meant that I skipped the loop over different centrality options. I kept the possibility of having several, in accordance with CentralityProjection.
Added include/Rivet/Projections/SingleValueProjection.hh
Added include/Rivet/Projections/CentralityProjection.hh
Kept the possibility to have several SingleValueProjections underneath, normal use case will just be to use operator() (without argument)
Added include/Rivet/Projections/ImpactParameterProjection.hh
Added include/Rivet/Projections/GeneratedPercentileProjection.hh
Added include/Rivet/Projections/UserCentEstimate.hh
Added ../Projections/PrimaryParticles.hh/.cc
Added Projections|Tools/AliceCommon.hh
Added ALICE_2013_I1225979 analysis
Added ALICE_2013_PBPBCentrality analysis