|
HepMC event record
|
Stores additional information about Heavy Ion generator.
This is an example of event attribute used to store Heavy Ion information
Definition at line 26 of file build/outputs/include/HepMC/GenHeavyIon.h.
#include <GenHeavyIon.h>
Inheritance diagram for GenHeavyIon:
Collaboration diagram for GenHeavyIon:Public Member Functions | |
| bool | from_string (const string &att) |
| Implementation of Attribute::from_string. More... | |
| bool | to_string (string &att) const |
| Implementation of Attribute::to_string. More... | |
| 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. More... | |
| bool | operator== (const GenHeavyIon &) const |
| Operator ==. More... | |
| bool | operator!= (const GenHeavyIon &) const |
| Operator !=. More... | |
| bool | is_valid () const |
| Verify that the instance contains non-zero information. More... | |
| bool | from_string (const string &att) |
| Implementation of Attribute::from_string. More... | |
| bool | to_string (string &att) const |
| Implementation of Attribute::to_string. More... | |
| 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. More... | |
| bool | operator== (const GenHeavyIon &) const |
| Operator ==. More... | |
| bool | operator!= (const GenHeavyIon &) const |
| Operator !=. More... | |
| bool | is_valid () const |
| Verify that the instance contains non-zero information. More... | |
| virtual bool | init (const GenEvent &) |
| Optionally initialize the attribute after from_string. More... | |
| virtual bool | init (const GenRunInfo &) |
| Optionally initialize the attribute after from_string. More... | |
| virtual bool | init (const GenEvent &) |
| Optionally initialize the attribute after from_string. More... | |
| virtual bool | init (const GenRunInfo &) |
| Optionally initialize the attribute after from_string. More... | |
| bool | is_parsed () |
| Check if this attribute is parsed. More... | |
| bool | is_parsed () |
| Check if this attribute is parsed. More... | |
| const string & | unparsed_string () const |
| Get unparsed string. More... | |
| const string & | unparsed_string () const |
| Get unparsed string. More... | |
Data Fields | |
| int | Ncoll_hard |
| Number of hard collisions. More... | |
| int | Npart_proj |
| Number of participating nucleons in the projectile. More... | |
| int | Npart_targ |
| Number of participating nucleons in the target. More... | |
| int | Ncoll |
| Number of collisions. More... | |
| int | spectator_neutrons |
| Number of spectator neutrons. More... | |
| int | spectator_protons |
| Number of spectator protons. More... | |
| int | N_Nwounded_collisions |
| int | Nwounded_N_collisions |
| int | Nwounded_Nwounded_collisions |
| double | impact_parameter |
| Impact parameter. More... | |
| double | event_plane_angle |
| Event plane angle. More... | |
| double | eccentricity |
| Eccentricity. More... | |
| double | sigma_inel_NN |
| Assumed nucleon-nucleon cross-section. More... | |
| double | centrality |
| Centrality. More... | |
Protected Member Functions | |
| void | set_is_parsed (bool flag) |
| Set is_parsed flag. More... | |
| void | set_is_parsed (bool flag) |
| Set is_parsed flag. More... | |
| void | set_unparsed_string (const string &st) |
| Set unparsed string. More... | |
| void | set_unparsed_string (const string &st) |
| Set unparsed string. More... | |
|
virtual |
Implementation of Attribute::from_string.
Implements Attribute.
Definition at line 18 of file GenHeavyIon.cc.
References GenHeavyIon::centrality, GenHeavyIon::eccentricity, GenHeavyIon::event_plane_angle, GenHeavyIon::impact_parameter, GenHeavyIon::N_Nwounded_collisions, GenHeavyIon::Ncoll, GenHeavyIon::Ncoll_hard, GenHeavyIon::Npart_proj, GenHeavyIon::Npart_targ, GenHeavyIon::Nwounded_N_collisions, GenHeavyIon::Nwounded_Nwounded_collisions, GenHeavyIon::sigma_inel_NN, GenHeavyIon::spectator_neutrons, and GenHeavyIon::spectator_protons.
|
virtual |
Implementation of Attribute::from_string.
Implements Attribute.
|
inlinevirtualinherited |
Optionally initialize the attribute after from_string.
Is passed a reference to the GenEvent object to which the Attribute belongs.
Reimplemented in HEPEUPAttribute, and HEPEUPAttribute.
Definition at line 73 of file build/outputs/include/HepMC/Attribute.h.
|
inlinevirtualinherited |
Optionally initialize the attribute after from_string.
Is passed a reference to the GenEvent object to which the Attribute belongs.
Reimplemented in HEPEUPAttribute, and HEPEUPAttribute.
Definition at line 73 of file include/HepMC/Attribute.h.
|
inlinevirtualinherited |
Optionally initialize the attribute after from_string.
Is passed a reference to the GenRunInfo object to which the Attribute belongs.
Reimplemented in HEPEUPAttribute, and HEPEUPAttribute.
Definition at line 82 of file include/HepMC/Attribute.h.
|
inlinevirtualinherited |
Optionally initialize the attribute after from_string.
Is passed a reference to the GenRunInfo object to which the Attribute belongs.
Reimplemented in HEPEUPAttribute, and HEPEUPAttribute.
Definition at line 82 of file build/outputs/include/HepMC/Attribute.h.
|
inlineinherited |
Check if this attribute is parsed.
Definition at line 94 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inlineinherited |
Check if this attribute is parsed.
Definition at line 94 of file include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
| bool is_valid | ( | ) | const |
Verify that the instance contains non-zero information.
| bool is_valid | ( | ) | const |
Verify that the instance contains non-zero information.
Definition at line 116 of file GenHeavyIon.cc.
References GenHeavyIon::centrality, GenHeavyIon::eccentricity, GenHeavyIon::event_plane_angle, GenHeavyIon::impact_parameter, GenHeavyIon::N_Nwounded_collisions, GenHeavyIon::Ncoll, GenHeavyIon::Ncoll_hard, GenHeavyIon::Npart_proj, GenHeavyIon::Npart_targ, GenHeavyIon::Nwounded_N_collisions, GenHeavyIon::Nwounded_Nwounded_collisions, GenHeavyIon::sigma_inel_NN, GenHeavyIon::spectator_neutrons, and GenHeavyIon::spectator_protons.
| bool operator!= | ( | const GenHeavyIon & | a | ) | const |
Operator !=.
Definition at line 112 of file GenHeavyIon.cc.
| bool operator!= | ( | const GenHeavyIon & | ) | const |
Operator !=.
| bool operator== | ( | const GenHeavyIon & | ) | const |
Operator ==.
| bool operator== | ( | const GenHeavyIon & | a | ) | const |
Operator ==.
Definition at line 108 of file GenHeavyIon.cc.
| 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.
| 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.
Definition at line 89 of file GenHeavyIon.cc.
References GenHeavyIon::centrality, GenHeavyIon::eccentricity, GenHeavyIon::event_plane_angle, GenHeavyIon::impact_parameter, GenHeavyIon::N_Nwounded_collisions, GenHeavyIon::Ncoll, GenHeavyIon::Ncoll_hard, GenHeavyIon::Npart_proj, GenHeavyIon::Npart_targ, GenHeavyIon::Nwounded_N_collisions, GenHeavyIon::Nwounded_Nwounded_collisions, GenHeavyIon::sigma_inel_NN, GenHeavyIon::spectator_neutrons, and GenHeavyIon::spectator_protons.
|
inlineprotectedinherited |
Set is_parsed flag.
Definition at line 101 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inlineprotectedinherited |
Set is_parsed flag.
Definition at line 101 of file include/HepMC/Attribute.h.
References Attribute::m_is_parsed.
|
inlineprotectedinherited |
Set unparsed string.
Definition at line 104 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_string.
|
inlineprotectedinherited |
Set unparsed string.
Definition at line 104 of file include/HepMC/Attribute.h.
References Attribute::m_string.
|
virtual |
Implementation of Attribute::to_string.
Implements Attribute.
|
virtual |
Implementation of Attribute::to_string.
Implements Attribute.
Definition at line 65 of file GenHeavyIon.cc.
References GenHeavyIon::centrality, GenHeavyIon::eccentricity, GenHeavyIon::event_plane_angle, GenHeavyIon::impact_parameter, GenHeavyIon::N_Nwounded_collisions, GenHeavyIon::Ncoll, GenHeavyIon::Ncoll_hard, GenHeavyIon::Npart_proj, GenHeavyIon::Npart_targ, GenHeavyIon::Nwounded_N_collisions, GenHeavyIon::Nwounded_Nwounded_collisions, GenHeavyIon::sigma_inel_NN, GenHeavyIon::spectator_neutrons, and GenHeavyIon::spectator_protons.
|
inlineinherited |
Get unparsed string.
Definition at line 97 of file build/outputs/include/HepMC/Attribute.h.
References Attribute::m_string.
|
inlineinherited |
Get unparsed string.
Definition at line 97 of file include/HepMC/Attribute.h.
References Attribute::m_string.
| double centrality |
Centrality.
Definition at line 45 of file build/outputs/include/HepMC/GenHeavyIon.h.
| double eccentricity |
Eccentricity.
Definition at line 43 of file build/outputs/include/HepMC/GenHeavyIon.h.
| double event_plane_angle |
Event plane angle.
Definition at line 42 of file build/outputs/include/HepMC/GenHeavyIon.h.
| double impact_parameter |
Impact parameter.
Definition at line 41 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int N_Nwounded_collisions |
Definition at line 38 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int Ncoll |
Number of collisions.
Definition at line 35 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int Ncoll_hard |
Number of hard collisions.
Definition at line 32 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int Npart_proj |
Number of participating nucleons in the projectile.
Definition at line 33 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int Npart_targ |
Number of participating nucleons in the target.
Definition at line 34 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int Nwounded_N_collisions |
Definition at line 39 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int Nwounded_Nwounded_collisions |
Definition at line 40 of file build/outputs/include/HepMC/GenHeavyIon.h.
| double sigma_inel_NN |
Assumed nucleon-nucleon cross-section.
Definition at line 44 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int spectator_neutrons |
Number of spectator neutrons.
Definition at line 36 of file build/outputs/include/HepMC/GenHeavyIon.h.
| int spectator_protons |
Number of spectator protons.
Definition at line 37 of file build/outputs/include/HepMC/GenHeavyIon.h.
1.8.14