6 #ifndef HEPMC3_HEAVYION_H
7 #define HEPMC3_HEAVYION_H
34 : Ncoll_hard(-1), Npart_proj(-1), Npart_targ(-1), Ncoll(-1),
35 #ifndef HEPMC3_NO_DEPRECATED
36 spectator_neutrons(-1), spectator_protons(-1),
38 N_Nwounded_collisions(-1), Nwounded_N_collisions(-1),
39 Nwounded_Nwounded_collisions(-1), impact_parameter(-1.0),
40 event_plane_angle(-1.0),
41 #ifndef HEPMC3_NO_DEPRECATED
44 sigma_inel_NN(-1.0), centrality(-1.0), user_cent_estimate(-1.0),
45 Nspec_proj_n(-1), Nspec_targ_n(-1),
46 Nspec_proj_p(-1), Nspec_targ_p(-1), forceoldformat(false) {}
84 #ifndef HEPMC3_NO_DEPRECATED
131 #ifndef HEPMC3_NO_DEPRECATED
209 bool from_string(
const std::string &att)
override;
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. );
235 bool is_valid()
const;
247 #ifndef HEPMC3_NO_DEPRECATED
Forward declaration of GenParticle.
int spectator_protons
Total number of spectator protons.
int Nspec_proj_n
The number of spectator neutrons in the projectile.
double user_cent_estimate
A user defined centrality estimator.
double event_plane_angle
The event plane angle.
double sigma_inel_NN
The assumed inelastic nucleon-nucleon cross section.
int spectator_neutrons
Total number of spectator neutrons.
int Nspec_targ_p
The number of spectator protons in the target.
std::map< int, double > eccentricities
Eccentricities.
double eccentricity
The eccentricity.
bool forceoldformat
force writing in old format for compatibility purposes.
double centrality
The centrality.
int Ncoll
the number of inelastic nucleon-nucleon collisions.
GenHeavyIon()
Empty default constructor.
int Nspec_targ_n
The number of spectator neutrons in the target.
int Ncoll_hard
the number of hard nucleon-nucleon collisions.
int Npart_proj
the number of participating nucleons in the projectile.
int N_Nwounded_collisions
Collisions with a diffractively excited target nucleon.
Stores additional information about Heavy Ion generator.
GenHeavyIon HeavyIon
Backward compatibility typedef.
int Nspec_proj_p
The number of spectator protons in the projectile.
std::map< int, double > participant_plane_angles
Participant plane angles.
int Npart_targ
the number of participating nucleons in the target.
double impact_parameter
The impact parameter.
int Nwounded_N_collisions
Collisions with a diffractively excited projectile nucleon.
Definition of class Attribute, class IntAttribute and class StringAttribute.
int Nwounded_Nwounded_collisions
Non-diffractive or doubly diffractive collisions.