2#ifndef RIVET_HepMCHeavyIon_HH
3#define RIVET_HepMCHeavyIon_HH
5#include "Rivet/Projection.hh"
6#include "Rivet/Tools/RivetHepMC.hh"
7#include "Rivet/Event.hh"
27 using Projection::operator =;
45 bool ok()
const {
return _hi !=
nullptr; }
178 ConstGenHeavyIonPtr _hi;
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Definition HepMCHeavyIon.hh:12
int Nwounded_Nwounded_collisions() const
Non-diffractive or doubly diffractive collisions.
RIVET_DEFAULT_PROJ_CLONE(HepMCHeavyIon)
Clone on the heap.
double impact_parameter() const
The impact parameter.
double user_cent_estimate() const
A user defined centrality estimator.
int Npart_proj() const
the number of participating nucleons in the projectile.
double event_plane_angle() const
The event plane angle.
int Nspec_targ_n() const
The number of spectator neutrons in the target.
map< int, double > eccentricities() const
Eccentricities.
map< int, double > participant_plane_angles() const
Participant plane angles.
int Nwounded_N_collisions() const
Collisions with a diffractively excited projectile nucleon.
int Nspec_proj_p() const
The number of spectator protons in the projectile.
int N_Nwounded_collisions() const
Collisions with a diffractively excited target nucleon.
double sigma_inel_NN() const
The assumed inelastic nucleon-nucleon cross section.
int Npart_targ() const
the number of participating nucleons in the target.
CmpState compare(const Projection &) const
Compare with other projections.
Definition HepMCHeavyIon.hh:38
bool ok() const
Check that there were at all any heavy ion info in HepMC.
Definition HepMCHeavyIon.hh:45
HepMCHeavyIon()
Constructor.
int Nspec_targ_p() const
The number of spectator protons in the target.
double centrality() const
The centrality.
int Ncoll() const
the number of inelastic nucleon-nucleon collisions.
void project(const Event &e)
Perform the projection on the Event.
int Ncoll_hard() const
the number of hard nucleon-nucleon collisions.
int Nspec_proj_n() const
The number of spectator neutrons in the projectile.
Base class for all Rivet projections.
Definition Projection.hh:29
Definition MC_CENT_PPB_Projections.hh:10