ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Physics Namespace Reference

Namespaces

 Dynamics
 
 EvtGen
 
 HelicityFormalism
 

Classes

class  IntegrationSample
 
class  IntensityBuilderXML
 
class  ParticleStateTransitionKinematicsInfo
 
class  SubSystem
 Definition of a two-body decay node within a sequential decay tree. More...
 
struct  TwoBodyDecayInfo
 

Functions

TwoBodyDecayInfo extractDecayInfo (const boost::property_tree::ptree &pt)
 
void updateDataContainerState (ComPWA::FunctionTree::ParameterList &DataSample, const Kinematics &Kinematics)
 
void updateDataContainerContent (ComPWA::FunctionTree::ParameterList &DataList, const EventCollection &DataSample, const Kinematics &Kinematics)
 
FourMomentum createFourMomentum (const boost::property_tree::ptree &pt)
 
ParticleStateTransitionKinematicsInfo createKinematicsInfo (const ComPWA::ParticleList &PartList, const boost::property_tree::ptree &pt)
 
HelicityKinematics createHelicityKinematics (const std::string XmlFile)
 Create HelicityKinematics object from an XML file that contains both a kinematics section and a particle section. More...
 
HelicityKinematics createHelicityKinematics (const ComPWA::ParticleList &PartList, const std::string XmlFile)
 Create HelicityKinematics object from an XML file with a kinematics section and provide a particle list separately. More...
 
HelicityKinematics createHelicityKinematics (const ComPWA::ParticleList &ParticleList, const boost::property_tree::ptree &ptree)
 
std::ostream & operator<< (std::ostream &outstream, const ParticleStateTransitionKinematicsInfo &kininfo)
 
std::pair< double, double > SRange (double s, std::vector< double > &masses)
 
std::pair< double, double > PhspVolume (double s, std::vector< double > &FSMasses, std::size_t SampleSize=1000)
 Compute phasespace volume of momentum space for an arbitrary number of particles in the final state using Riemann integration. More...
 
double PhspVolumeTwoParticles (double s, double m1, double m2)
 Phase space element for a two particle decay. More...
 
double KallenFunction (double x, double y, double z)
 Original Källén function, that is, not having square values in its argument. More...
 
std::ostream & operator<< (std::ostream &stream, const SubSystem &s)
 
std::vector< unsigned int > stringToVectInt (std::string str)
 Helper funtions to transfor a string of space-separated numbers to a vector<unsigned int>. More...
 

Function Documentation

◆ createFourMomentum()

FourMomentum ComPWA::Physics::createFourMomentum ( const boost::property_tree::ptree &  pt)

Definition at line 965 of file BuilderXML.cpp.

◆ createHelicityKinematics() [1/3]

HelicityFormalism::HelicityKinematics ComPWA::Physics::createHelicityKinematics ( const std::string  XmlFile)

Create HelicityKinematics object from an XML file that contains both a kinematics section and a particle section.

Definition at line 1046 of file BuilderXML.cpp.

◆ createHelicityKinematics() [2/3]

HelicityFormalism::HelicityKinematics ComPWA::Physics::createHelicityKinematics ( const ComPWA::ParticleList PartList,
const std::string  XmlFile 
)

Create HelicityKinematics object from an XML file with a kinematics section and provide a particle list separately.

Definition at line 1052 of file BuilderXML.cpp.

◆ createHelicityKinematics() [3/3]

HelicityFormalism::HelicityKinematics ComPWA::Physics::createHelicityKinematics ( const ComPWA::ParticleList ParticleList,
const boost::property_tree::ptree &  ptree 
)

Definition at line 1066 of file BuilderXML.cpp.

◆ createKinematicsInfo()

ParticleStateTransitionKinematicsInfo ComPWA::Physics::createKinematicsInfo ( const ComPWA::ParticleList PartList,
const boost::property_tree::ptree &  pt 
)

Definition at line 1000 of file BuilderXML.cpp.

◆ extractDecayInfo()

TwoBodyDecayInfo ComPWA::Physics::extractDecayInfo ( const boost::property_tree::ptree &  pt)

Definition at line 609 of file BuilderXML.cpp.

◆ KallenFunction()

double ComPWA::Physics::KallenFunction ( double  x,
double  y,
double  z 
)

Original Källén function, that is, not having square values in its argument.

We use this function instead of the one that can be factorised (see Heron's formula), because we need to enter $s$ without taking its square root.

Definition at line 81 of file PhspVolume.cpp.

◆ operator<<() [1/2]

std::ostream& ComPWA::Physics::operator<< ( std::ostream &  stream,
const SubSystem s 
)

Definition at line 23 of file SubSystem.cpp.

◆ operator<<() [2/2]

std::ostream& ComPWA::Physics::operator<< ( std::ostream &  outstream,
const ParticleStateTransitionKinematicsInfo kininfo 
)

Definition at line 129 of file ParticleStateTransitionKinematicsInfo.cpp.

◆ PhspVolume()

std::pair< double, double > ComPWA::Physics::PhspVolume ( double  s,
std::vector< double > &  FSMasses,
std::size_t  SampleSize = 1000 
)

Compute phasespace volume of momentum space for an arbitrary number of particles in the final state using Riemann integration.

Returns
A pair: first value is the volume, second is the error (currently set to 0.)
Todo:

Implement errors (second member of the pair).

Algorithm might be improved with Simpson's rule, because we integrate over a function that is polynomial in the limit $m_i\rightarrow 0$

Todo:
Better to reuse this sample per recursion. Now it is regenerated for each iteration.

Definition at line 42 of file PhspVolume.cpp.

◆ PhspVolumeTwoParticles()

double ComPWA::Physics::PhspVolumeTwoParticles ( double  s,
double  m1,
double  m2 
)

Phase space element for a two particle decay.

An analytic solution exists only for the volume of the phasespace of two-particle decays.

Definition at line 77 of file PhspVolume.cpp.

◆ SRange()

std::pair<double, double> ComPWA::Physics::SRange ( double  s,
std::vector< double > &  masses 
)

Definition at line 30 of file PhspVolume.cpp.

◆ stringToVectInt()

std::vector<unsigned int> ComPWA::Physics::stringToVectInt ( std::string  str)
inline

Helper funtions to transfor a string of space-separated numbers to a vector<unsigned int>.

E.g. "1 2 3" =? vector<unsigned int>({1,2,3})

Definition at line 54 of file SubSystem.hpp.

◆ updateDataContainerContent()

void ComPWA::Physics::updateDataContainerContent ( ComPWA::FunctionTree::ParameterList DataList,
const EventCollection DataSample,
const Kinematics Kinematics 
)

Definition at line 898 of file BuilderXML.cpp.

◆ updateDataContainerState()

void ComPWA::Physics::updateDataContainerState ( ComPWA::FunctionTree::ParameterList DataSample,
const Kinematics Kinematics 
)

Definition at line 869 of file BuilderXML.cpp.