/*
$Id: runglauber.C 186 2019-01-13 17:33:43Z loizides $
Modification for HADES B.Kardan 02-04-2019
Marked with BK
-------------------------------------------------------------------------------------
Latest documentation: https://arxiv.org/abs/1710.07098
-------------------------------------------------------------------------------------
To run the code, you need to have the ROOT (http://root.cern.ch/drupal/)
environment. On the root prompt, then enter
root [0] gSystem->Load("libMathMore")
root [1] .L runglauber_X.Y.C+
(where X.Y denotes the version number).
If you do not have libMathMore comment out "#define HAVE_MATHMORE" below.
See the documentation for more information.
-------------------------------------------------------------------------------------
v3.2: Incorporates changes from v2.7
-------------------------------------------------------------------------------------
v3.1:
Fixes related to spherical nuclei, as well as consistent set of reweighted profiles
for Cu, Au and Xe, see https://arxiv.org/abs/1710.07098v2
-------------------------------------------------------------------------------------
v3.0:
Major update to include separate profile for protons and neutrons, placement of nucleon
dof on lattice, as well as reweighted profiles for recentering,
see https://arxiv.org/abs/1710.07098v1
-------------------------------------------------------------------------------------
v2.7:
New macro "runAndOutputLemonTree" for IP-Jazma input (1808.01276), as well as nucleon
configurations for He4, C, and O from wavefunction calculations, clarified use of Hulthen
for deuteron, harmonic oscillator param for O, and new mode to use GlauberGribov also
in AA (enable with SetCalcAAGG)
-------------------------------------------------------------------------------------
v2.6:
Includes runAndCalcDens macro, as well as definition for Al, and fixes beta4 for Si2,
see https://arxiv.org/abs/1408.2549v8
-------------------------------------------------------------------------------------
v2.5:
Include core/corona determination in Npart, and if requested for area from mc and eccentricity,
as well as various Xe parameterizations including deformation,
see https://arxiv.org/abs/1408.2549v7
-------------------------------------------------------------------------------------
v2.4:
Minor update to include Xenon and fix of the TGlauberMC::Draw function,
see https://arxiv.org/abs/1408.2549v4
-------------------------------------------------------------------------------------
v2.3:
Small bugfixes, see https://arxiv.org/abs/1408.2549v3
-------------------------------------------------------------------------------------
v2.2:
Minor update to provide higher harmonic eccentricities up to n=5, and the average
nucleon--nucleon impact parameter (bNN) in tree output.
-------------------------------------------------------------------------------------
v2.1:
Minor update to include more proton pdfs, see https://arxiv.org/abs/1408.2549v2
-------------------------------------------------------------------------------------
v2.0:
First major update with inclusion of Tritium, Helium-3, and Uranium, as well as the
treatment of deformed nuclei and Glauber-Gribov fluctuations of the proton in p+A
collisions, see https://arxiv.org/abs/1408.2549v1
-------------------------------------------------------------------------------------
v1.1:
First public release of the PHOBOS MC Glauber, see https://arxiv.org/abs/0805.4411
-------------------------------------------------------------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
//#define HAVE_MATHMORE
#if !defined(__CINT__) || defined(__MAKECINT__)
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef HAVE_MATHMORE
#include