6#ifndef HEPMC3_HEAVYION_H
7#define HEPMC3_HEAVYION_H
35#ifndef HEPMC3_NO_DEPRECATED
41#ifndef HEPMC3_NO_DEPRECATED
84#ifndef HEPMC3_NO_DEPRECATED
131#ifndef HEPMC3_NO_DEPRECATED
212 bool to_string(std::string &att)
const override;
214#ifndef HEPMC3_NO_DEPRECATED
227 void set(
const int&nh,
const int&np,
const int&nt,
const int&nc,
const int&ns,
const int&nsp,
228 const int&nnw=0,
const int&nwn=0,
const int&nwnw=0,
229 const double& im=0.,
const double& pl=0.,
const double& ec=0.,
const double& s=0.,
const double& cent=0.,
const double& ucent=0. );
246#ifndef HEPMC3_NO_DEPRECATED
Definition of class Attribute, class IntAttribute and class StringAttribute.
Stores additional information about Heavy Ion generator.
int Nspec_targ_p
The number of spectator protons in the target.
int Nwounded_Nwounded_collisions
Non-diffractive or doubly diffractive collisions.
int Nwounded_N_collisions
Collisions with a diffractively excited projectile nucleon.
int Nspec_proj_n
The number of spectator neutrons in the projectile.
double impact_parameter
The impact parameter.
bool forceoldformat
force writing in old format for compatibility purposes.
void set(const int &nh, const int &np, const int &nt, const int &nc, const int &ns, const int &nsp, const int &nnw=0, const int &nwn=0, const int &nwnw=0, const double &im=0., const double &pl=0., const double &ec=0., const double &s=0., const double ¢=0., const double &ucent=0.)
Set all fields.
std::map< int, double > eccentricities
Eccentricities.
int Nspec_proj_p
The number of spectator protons in the projectile.
double event_plane_angle
The event plane angle.
std::map< int, double > participant_plane_angles
Participant plane angles.
int Npart_proj
the number of participating nucleons in the projectile.
bool operator==(const GenHeavyIon &) const
Operator ==.
double eccentricity
The eccentricity.
double user_cent_estimate
A user defined centrality estimator.
int spectator_protons
Total number of spectator protons.
int N_Nwounded_collisions
Collisions with a diffractively excited target nucleon.
double centrality
The centrality.
bool is_valid() const
Verify that the instance contains non-zero information.
int Nspec_targ_n
The number of spectator neutrons in the target.
bool from_string(const std::string &att) override
Implementation of Attribute::from_string.
int Ncoll_hard
the number of hard nucleon-nucleon collisions.
bool operator!=(const GenHeavyIon &) const
Operator !=.
int Ncoll
the number of inelastic nucleon-nucleon collisions.
GenHeavyIon()
Empty default constructor.
int Npart_targ
the number of participating nucleons in the target.
int spectator_neutrons
Total number of spectator neutrons.
bool to_string(std::string &att) const override
Implementation of Attribute::to_string.
double sigma_inel_NN
The assumed inelastic nucleon-nucleon cross section.
GenHeavyIon HeavyIon
Backward compatibility typedef.