6 #ifndef HEPMC_HEAVYION_H
7 #define HEPMC_HEAVYION_H
21 #include "HepMC/Attribute.h"
26 class GenHeavyIon :
public Attribute {
58 void set(
int nh,
int np,
int nt,
int nc,
int ns,
int nsp,
59 int nnw=0,
int nwn=0,
int nwnw=0,
60 float im=0.,
float pl=0.,
float ec=0.,
float s=0.,
float cent=0. );
68 #ifndef HEPMC_NO_DEPRECATED
int spectator_neutrons
Number of spectator neutrons.
int Nwounded_N_collisions
bool is_valid() const
Verify that the instance contains non-zero information.
int Ncoll
Number of collisions.
bool to_string(string &att) const
Implementation of Attribute::to_string.
int Nwounded_Nwounded_collisions
void set(int nh, int np, int nt, int nc, int ns, int nsp, int nnw=0, int nwn=0, int nwnw=0, float im=0., float pl=0., float ec=0., float s=0., float cent=0.)
Set all fields.
int N_Nwounded_collisions
double event_plane_angle
Event plane angle.
bool operator==(const GenHeavyIon &) const
Operator ==.
bool from_string(const string &att)
Implementation of Attribute::from_string.
int Ncoll_hard
Number of hard collisions.
int Npart_proj
Number of participating nucleons in the projectile.
double centrality
Centrality.
int spectator_protons
Number of spectator protons.
double sigma_inel_NN
Assumed nucleon-nucleon cross-section.
GenHeavyIon HeavyIon
Backward compatibility typedef.
bool operator!=(const GenHeavyIon &) const
Operator !=.
double impact_parameter
Impact parameter.
double eccentricity
Eccentricity.
int Npart_targ
Number of participating nucleons in the target.