ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Physics::IntensityBuilderXML Class Reference

#include <BuilderXML.hpp>

Classes

struct  DataContainer
 

Public Member Functions

 IntensityBuilderXML (ParticleList ParticleList, Kinematics &Kinematics, const boost::property_tree::ptree &ModelTree, const EventCollection &TruePhspSample={}, const EventCollection &RecoPhspSample={})
 
ComPWA::FunctionTree::FunctionTreeIntensity createIntensity ()
 
std::vector< ComPWA::Tools::IntensityComponentcreateIntensityComponents (std::vector< std::vector< std::string >> ComponentList={})
 
std::map< std::string, std::string > getAllComponentNames () const
 

Private Member Functions

std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateIntensityFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateIncoherentIntensityFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateIncoherentIntensityFT (std::vector< std::shared_ptr< ComPWA::FunctionTree::TreeNode >> Intensities)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateCoherentIntensityFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateCoherentIntensityFT (std::vector< std::shared_ptr< ComPWA::FunctionTree::TreeNode >> Amplitudes)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateStrengthIntensityFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateNormalizedIntensityFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodenormalizeIntensityFT (const boost::property_tree::ptree &UnnormalizedPT, const ComPWA::FunctionTree::ParameterList &DataSample, std::string IntegratorClassNa)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateIntegrationStrategyFT (std::shared_ptr< ComPWA::FunctionTree::TreeNode > UnnormalizedIntensity, std::shared_ptr< ComPWA::FunctionTree::Value< std::vector< double >>> PhspWeights, double PhspWeightSum, std::string IntegratorClassName)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateAmplitudeFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateNormalizedAmplitudeFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateCoefficientAmplitudeFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateSequentialAmplitudeFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
std::shared_ptr< ComPWA::FunctionTree::TreeNodecreateHelicityDecayFT (const boost::property_tree::ptree &pt, const ComPWA::FunctionTree::ParameterList &DataSample)
 
void updateDataContainerWeights (DataContainer &DataCon, const EventCollection &DataSample)
 
void updateDataContainerState ()
 
void updateDataContainerContent ()
 
void addFunctionTreeComponent (std::string Name, std::string Type, std::shared_ptr< ComPWA::FunctionTree::TreeNode > FT)
 

Private Attributes

bool ComponentRegisteringEnabled = true
 
std::map< std::string, std::pair< std::string, std::shared_ptr< ComPWA::FunctionTree::TreeNode > > > UniqueComponentFTMapping
 
ParticleList PartList
 
KinematicsKinematic
 
boost::property_tree::ptree ModelTree
 
const EventCollectionTruePhspSample
 
const EventCollectionRecoPhspSample
 
ComPWA::FunctionTree::ParameterList Parameters
 
DataContainer Data
 
DataContainer PhspData
 
DataContainer PhspRecoData
 

Detailed Description

Definition at line 36 of file BuilderXML.hpp.

+ Collaboration diagram for ComPWA::Physics::IntensityBuilderXML:

Constructor & Destructor Documentation

◆ IntensityBuilderXML()

ComPWA::Physics::IntensityBuilderXML::IntensityBuilderXML ( ParticleList  ParticleList,
Kinematics Kinematics,
const boost::property_tree::ptree &  ModelTree,
const EventCollection TruePhspSample = {},
const EventCollection RecoPhspSample = {} 
)

Definition at line 31 of file BuilderXML.cpp.

Member Function Documentation

◆ addFunctionTreeComponent()

void ComPWA::Physics::IntensityBuilderXML::addFunctionTreeComponent ( std::string  Name,
std::string  Type,
std::shared_ptr< ComPWA::FunctionTree::TreeNode FT 
)
private

Definition at line 951 of file BuilderXML.cpp.

◆ createAmplitudeFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createAmplitudeFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 385 of file BuilderXML.cpp.

◆ createCoefficientAmplitudeFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createCoefficientAmplitudeFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 484 of file BuilderXML.cpp.

◆ createCoherentIntensityFT() [1/2]

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createCoherentIntensityFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 205 of file BuilderXML.cpp.

◆ createCoherentIntensityFT() [2/2]

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createCoherentIntensityFT ( std::vector< std::shared_ptr< ComPWA::FunctionTree::TreeNode >>  Amplitudes)
private

Definition at line 221 of file BuilderXML.cpp.

◆ createHelicityDecayFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createHelicityDecayFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 646 of file BuilderXML.cpp.

◆ createIncoherentIntensityFT() [1/2]

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createIncoherentIntensityFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 172 of file BuilderXML.cpp.

◆ createIncoherentIntensityFT() [2/2]

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createIncoherentIntensityFT ( std::vector< std::shared_ptr< ComPWA::FunctionTree::TreeNode >>  Intensities)
private

Definition at line 188 of file BuilderXML.cpp.

◆ createIntegrationStrategyFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createIntegrationStrategyFT ( std::shared_ptr< ComPWA::FunctionTree::TreeNode UnnormalizedIntensity,
std::shared_ptr< ComPWA::FunctionTree::Value< std::vector< double >>>  PhspWeights,
double  PhspWeightSum,
std::string  IntegratorClassName 
)
private

Definition at line 343 of file BuilderXML.cpp.

◆ createIntensity()

ComPWA::FunctionTree::FunctionTreeIntensity ComPWA::Physics::IntensityBuilderXML::createIntensity ( )

Definition at line 49 of file BuilderXML.cpp.

◆ createIntensityComponents()

std::vector< ComPWA::Tools::IntensityComponent > ComPWA::Physics::IntensityBuilderXML::createIntensityComponents ( std::vector< std::vector< std::string >>  ComponentList = {})

Definition at line 65 of file BuilderXML.cpp.

◆ createIntensityFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createIntensityFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 140 of file BuilderXML.cpp.

◆ createNormalizedAmplitudeFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createNormalizedAmplitudeFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 415 of file BuilderXML.cpp.

◆ createNormalizedIntensityFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createNormalizedIntensityFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 275 of file BuilderXML.cpp.

◆ createSequentialAmplitudeFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createSequentialAmplitudeFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 579 of file BuilderXML.cpp.

◆ createStrengthIntensityFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::createStrengthIntensityFT ( const boost::property_tree::ptree &  pt,
const ComPWA::FunctionTree::ParameterList DataSample 
)
private

Definition at line 240 of file BuilderXML.cpp.

◆ getAllComponentNames()

std::map< std::string, std::string > ComPWA::Physics::IntensityBuilderXML::getAllComponentNames ( ) const

Definition at line 131 of file BuilderXML.cpp.

◆ normalizeIntensityFT()

std::shared_ptr< ComPWA::FunctionTree::TreeNode > ComPWA::Physics::IntensityBuilderXML::normalizeIntensityFT ( const boost::property_tree::ptree &  UnnormalizedPT,
const ComPWA::FunctionTree::ParameterList DataSample,
std::string  IntegratorClassNa 
)
private

Definition at line 310 of file BuilderXML.cpp.

◆ updateDataContainerContent()

void ComPWA::Physics::IntensityBuilderXML::updateDataContainerContent ( )
private

Definition at line 924 of file BuilderXML.cpp.

◆ updateDataContainerState()

void ComPWA::Physics::IntensityBuilderXML::updateDataContainerState ( )
private

Definition at line 891 of file BuilderXML.cpp.

◆ updateDataContainerWeights()

void ComPWA::Physics::IntensityBuilderXML::updateDataContainerWeights ( DataContainer DataCon,
const EventCollection DataSample 
)
private

Definition at line 929 of file BuilderXML.cpp.

Member Data Documentation

◆ ComponentRegisteringEnabled

bool ComPWA::Physics::IntensityBuilderXML::ComponentRegisteringEnabled = true
private

Definition at line 123 of file BuilderXML.hpp.

◆ Data

DataContainer ComPWA::Physics::IntensityBuilderXML::Data
private

Definition at line 137 of file BuilderXML.hpp.

◆ Kinematic

Kinematics& ComPWA::Physics::IntensityBuilderXML::Kinematic
private

Definition at line 131 of file BuilderXML.hpp.

◆ ModelTree

boost::property_tree::ptree ComPWA::Physics::IntensityBuilderXML::ModelTree
private

Definition at line 132 of file BuilderXML.hpp.

◆ Parameters

ComPWA::FunctionTree::ParameterList ComPWA::Physics::IntensityBuilderXML::Parameters
private

Definition at line 136 of file BuilderXML.hpp.

◆ PartList

ParticleList ComPWA::Physics::IntensityBuilderXML::PartList
private

Definition at line 130 of file BuilderXML.hpp.

◆ PhspData

DataContainer ComPWA::Physics::IntensityBuilderXML::PhspData
private

Definition at line 138 of file BuilderXML.hpp.

◆ PhspRecoData

DataContainer ComPWA::Physics::IntensityBuilderXML::PhspRecoData
private

Definition at line 139 of file BuilderXML.hpp.

◆ RecoPhspSample

const EventCollection& ComPWA::Physics::IntensityBuilderXML::RecoPhspSample
private

Definition at line 134 of file BuilderXML.hpp.

◆ TruePhspSample

const EventCollection& ComPWA::Physics::IntensityBuilderXML::TruePhspSample
private

Definition at line 133 of file BuilderXML.hpp.

◆ UniqueComponentFTMapping

std::map< std::string, std::pair<std::string, std::shared_ptr<ComPWA::FunctionTree::TreeNode> > > ComPWA::Physics::IntensityBuilderXML::UniqueComponentFTMapping
private

Definition at line 128 of file BuilderXML.hpp.


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