List of all members | Public Member Functions | Private Attributes
utl::ParticleProperties Class Reference

Provide particle properties that depend only on its type. More...

#include "utl/ParticleProperties.h"

Inheritance diagram for utl::ParticleProperties:
Inheritance graph
[legend]

Public Member Functions

virtual double GetMass () const override
 Get particle mass (in Auger units) More...
 
virtual std::string GetName () const override
 Get particle name. More...
 
virtual int GetType () const override
 Get particle type (using PDG particle codes) More...
 
 ParticleProperties (const int type, const std::string &name, const double mass)
 

Private Attributes

double fMass = 0
 
std::string fName
 
int fType = 0
 Particle type ID (PDG types) More...
 

Detailed Description

Provide particle properties that depend only on its type.

Author
Lukas Nellen
Date
03 Apr 2004

Definition at line 19 of file ParticleProperties.h.

Constructor & Destructor Documentation

utl::ParticleProperties::ParticleProperties ( const int  type,
const std::string &  name,
const double  mass 
)
inline

Definition at line 22 of file ParticleProperties.h.

Member Function Documentation

virtual double utl::ParticleProperties::GetMass ( ) const
inlineoverridevirtual

Get particle mass (in Auger units)

Implements utl::VParticleProperties.

Definition at line 34 of file ParticleProperties.h.

References fMass.

virtual std::string utl::ParticleProperties::GetName ( ) const
inlineoverridevirtual

Get particle name.

Implements utl::VParticleProperties.

Definition at line 31 of file ParticleProperties.h.

References fName.

virtual int utl::ParticleProperties::GetType ( ) const
inlineoverridevirtual

Get particle type (using PDG particle codes)

Implements utl::VParticleProperties.

Definition at line 28 of file ParticleProperties.h.

References fType.

Member Data Documentation

double utl::ParticleProperties::fMass = 0
private

Definition at line 40 of file ParticleProperties.h.

Referenced by GetMass().

std::string utl::ParticleProperties::fName
private

Definition at line 39 of file ParticleProperties.h.

Referenced by GetName().

int utl::ParticleProperties::fType = 0
private

Particle type ID (PDG types)

Definition at line 38 of file ParticleProperties.h.

Referenced by GetType().


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

, generated on Tue Sep 26 2023.