Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
PoPI::GaugeBoson Class Reference

#include <PoPI.hpp>

Inheritance diagram for PoPI::GaugeBoson:

Public Member Functions

 GaugeBoson (HAPI::Node const &a_node, Database *a_DB, Database *a_parent)
virtual ~GaugeBoson ()
Public Member Functions inherited from PoPI::Particle
 Particle (HAPI::Node const &a_node, Particle_class a_class, std::string const &a_family, int a_hasNucleus=0)
virtual ~Particle ()
std::string const & baseId (void) const
std::string const & family (void) const
bool isAnti () const
int hasNucleus (void) const
virtual PQ_suite const & mass (void) const
virtual double massValue (char const *a_unit) const
double massValue (std::string const &a_unit) const
PQ_suite const & spin () const
PQ_suite const & parity () const
PQ_suite const & charge () const
PQ_suite const & halflife () const
DecayData const & decayData () const
void toXMLList (std::vector< std::string > &a_XMLList, std::string const &a_indent1) const
virtual std::string toXMLListExtraAttributes (void) const
virtual void toXMLListExtraElements (std::vector< std::string > &a_XMLList, std::string const &a_indent1) const
Public Member Functions inherited from PoPI::IDBase
 IDBase (std::string const &a_id, Particle_class a_class)
 IDBase (HAPI::Node const &a_node, Particle_class a_class)
virtual ~IDBase ()
std::size_t addToDatabase (Database *a_DB)
double massValue2 (Database const &a_DB, std::string const &a_unit) const
Public Member Functions inherited from PoPI::Base
 Base (std::string const &a_id, Particle_class a_class)
 Base (HAPI::Node const &a_node, std::string const &a_label, Particle_class a_class)
virtual ~Base ()
std::string const & ID (void) const
std::size_t index (void) const
void setIndex (std::size_t a_index)
int intid () const
Particle_class Class (void) const
virtual bool isParticle () const
bool isAlias (void) const
bool isMetaStableAlias (void) const
bool isGaugeBoson () const
bool isLepton () const
bool isBaryon () const
bool isUnorthodox () const
bool isNucleus () const
bool isNuclide () const
bool isIsotope () const
bool isChemicalElement () const

Additional Inherited Members

Public Attributes inherited from PoPI::Base
friend MetaStable
friend Alias
friend Baryon
friend GaugeBoson
friend Lepton
friend Nucleus
friend Nuclide
friend Unorthodox

Detailed Description

This class represents PoPs gaugeBoson instance.

Definition at line 902 of file PoPI.hpp.

Constructor & Destructor Documentation

◆ GaugeBoson()

PoPI::GaugeBoson::GaugeBoson ( HAPI::Node const & a_node,
Database * a_DB,
Database * a_parent )

Constructor that parses an HAPI instance to create a PoPs gaugeBoson node.

Parameters
a_node[in] The HAPI::Node to be parsed.
a_DB[in] The PoPI::Database:: instance to add the constructed **GaugeBoson to.
a_parent[in] The parent suite that will contain this.

Definition at line 26 of file PoPI_gaugeBoson.cc.

26 :
28
29 if( ID( ) == IDs::photon ) setIntid( intidHelper( isAnti( ), Particle_class::gaugeBoson, 0 ) );
30
31 addToDatabase( a_DB );
32}
#define PoPI_gaugeBosonChars
Definition PoPI.hpp:45
std::string const & ID(void) const
Definition PoPI.hpp:652
std::size_t addToDatabase(Database *a_DB)
Definition PoPI_base.cc:95
Particle(HAPI::Node const &a_node, Particle_class a_class, std::string const &a_family, int a_hasNucleus=0)
bool isAnti() const
Definition PoPI.hpp:875
int intidHelper(bool a_isAnti, Particle_class a_family, int a_SSSSSSS)
Definition PoPI_intId.cc:47
static std::string const photon
Definition PoPI.hpp:162

◆ ~GaugeBoson()

PoPI::GaugeBoson::~GaugeBoson ( )
virtual

Definition at line 37 of file PoPI_gaugeBoson.cc.

37 {
38
39}

The documentation for this class was generated from the following files: