ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::ParticleProperties Class Reference

#include <Properties.hpp>

Public Member Functions

 ParticleProperties (boost::property_tree::ptree pt)
 
std::string getName () const
 
pid getId () const
 
ComPWA::FitParameter< double > getMass () const
 
template<typename T >
getQuantumNumber (std::string type) const
 
boost::property_tree::ptree getDecayInfo () const
 
std::string getDecayType () const
 
template<>
int getQuantumNumber (std::string type) const
 
template<>
double getQuantumNumber (std::string type) const
 

Private Attributes

std::string Name
 
pid Id
 
ComPWA::FitParameter< double > Mass
 
std::map< std::string, int > IntQuantumNumbers
 
std::map< std::string, double > RealQuantumNumbers
 
boost::property_tree::ptree DecayInfo
 Store decay info in property_tree. More...
 

Friends

bool operator< (const ParticleProperties &l, const ParticleProperties &r)
 

Detailed Description

Definition at line 27 of file Properties.hpp.

+ Collaboration diagram for ComPWA::ParticleProperties:

Constructor & Destructor Documentation

◆ ParticleProperties()

ComPWA::ParticleProperties::ParticleProperties ( boost::property_tree::ptree  pt)

Definition at line 14 of file Properties.cpp.

Member Function Documentation

◆ getDecayInfo()

boost::property_tree::ptree ComPWA::ParticleProperties::getDecayInfo ( ) const
inline

Definition at line 39 of file Properties.hpp.

◆ getDecayType()

std::string ComPWA::ParticleProperties::getDecayType ( ) const
inline

Definition at line 41 of file Properties.hpp.

◆ getId()

pid ComPWA::ParticleProperties::getId ( ) const
inline

Definition at line 33 of file Properties.hpp.

◆ getMass()

ComPWA::FitParameter<double> ComPWA::ParticleProperties::getMass ( ) const
inline

Definition at line 35 of file Properties.hpp.

◆ getName()

std::string ComPWA::ParticleProperties::getName ( ) const
inline

Definition at line 31 of file Properties.hpp.

◆ getQuantumNumber() [1/3]

template<typename T >
T ComPWA::ParticleProperties::getQuantumNumber ( std::string  type) const

◆ getQuantumNumber() [2/3]

template<>
int ComPWA::ParticleProperties::getQuantumNumber ( std::string  type) const
inline

Definition at line 63 of file Properties.hpp.

◆ getQuantumNumber() [3/3]

template<>
double ComPWA::ParticleProperties::getQuantumNumber ( std::string  type) const
inline

Definition at line 74 of file Properties.hpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const ParticleProperties l,
const ParticleProperties r 
)
friend

Definition at line 45 of file Properties.hpp.

Member Data Documentation

◆ DecayInfo

boost::property_tree::ptree ComPWA::ParticleProperties::DecayInfo
private

Store decay info in property_tree.

The tree is later on passed to the respective class.

Definition at line 59 of file Properties.hpp.

◆ Id

pid ComPWA::ParticleProperties::Id
private

Definition at line 52 of file Properties.hpp.

◆ IntQuantumNumbers

std::map<std::string, int> ComPWA::ParticleProperties::IntQuantumNumbers
private

Definition at line 54 of file Properties.hpp.

◆ Mass

ComPWA::FitParameter<double> ComPWA::ParticleProperties::Mass
private

Definition at line 53 of file Properties.hpp.

◆ Name

std::string ComPWA::ParticleProperties::Name
private

Definition at line 51 of file Properties.hpp.

◆ RealQuantumNumbers

std::map<std::string, double> ComPWA::ParticleProperties::RealQuantumNumbers
private

Definition at line 55 of file Properties.hpp.


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