5 #ifndef COMPWA_PHYSICS_BUILDERXML_HPP_ 6 #define COMPWA_PHYSICS_BUILDERXML_HPP_ 16 #include <boost/property_tree/ptree_fwd.hpp> 28 class IntegrationStrategy;
32 namespace HelicityFormalism {
39 const boost::property_tree::ptree &ModelTree,
45 std::vector<ComPWA::Tools::IntensityComponent> createIntensityComponents(
46 std::vector<std::vector<std::string>> ComponentList = {});
48 std::map<std::string, std::string> getAllComponentNames()
const;
53 std::shared_ptr<ComPWA::FunctionTree::Value<std::vector<double>>>
Weights;
54 double WeightSum = 0.0;
57 std::shared_ptr<ComPWA::FunctionTree::TreeNode>
58 createIntensityFT(
const boost::property_tree::ptree &pt,
61 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createIncoherentIntensityFT(
62 const boost::property_tree::ptree &pt,
65 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createIncoherentIntensityFT(
66 std::vector<std::shared_ptr<ComPWA::FunctionTree::TreeNode>> Intensities);
68 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createCoherentIntensityFT(
69 const boost::property_tree::ptree &pt,
72 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createCoherentIntensityFT(
73 std::vector<std::shared_ptr<ComPWA::FunctionTree::TreeNode>> Amplitudes);
75 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createStrengthIntensityFT(
76 const boost::property_tree::ptree &pt,
79 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createNormalizedIntensityFT(
80 const boost::property_tree::ptree &pt,
83 std::shared_ptr<ComPWA::FunctionTree::TreeNode>
84 normalizeIntensityFT(
const boost::property_tree::ptree &UnnormalizedPT,
86 std::string IntegratorClassNa);
88 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createIntegrationStrategyFT(
89 std::shared_ptr<ComPWA::FunctionTree::TreeNode> UnnormalizedIntensity,
92 double PhspWeightSum, std::string IntegratorClassName);
94 std::shared_ptr<ComPWA::FunctionTree::TreeNode>
95 createAmplitudeFT(
const boost::property_tree::ptree &pt,
98 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createNormalizedAmplitudeFT(
99 const boost::property_tree::ptree &pt,
102 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createCoefficientAmplitudeFT(
103 const boost::property_tree::ptree &pt,
106 std::shared_ptr<ComPWA::FunctionTree::TreeNode> createSequentialAmplitudeFT(
107 const boost::property_tree::ptree &pt,
110 std::shared_ptr<ComPWA::FunctionTree::TreeNode>
111 createHelicityDecayFT(
const boost::property_tree::ptree &pt,
120 addFunctionTreeComponent(std::string Name, std::string Type,
121 std::shared_ptr<ComPWA::FunctionTree::TreeNode> FT);
123 bool ComponentRegisteringEnabled =
true;
127 std::pair<std::string, std::shared_ptr<ComPWA::FunctionTree::TreeNode>>>
151 const std::string XmlFile);
155 const boost::property_tree::ptree &pt);
159 std::pair<std::string, std::string>
Names;
const EventCollection & TruePhspSample
boost::property_tree::ptree ModelTree
Template implementation of Parameter for simple values.
void updateDataContainerContent(ComPWA::FunctionTree::ParameterList &DataList, const EventCollection &DataSample, const Kinematics &Kinematics)
ComPWA::FunctionTree::ParameterList Data
std::set< ParticleProperties > ParticleList
ComPWA::FunctionTree::ParameterList Parameters
const EventCollection & RecoPhspSample
std::pair< std::string, std::string > Names
The Kinematics interface defines the conversion of Events to a DataSet.
HelicityKinematics createHelicityKinematics(const std::string XmlFile)
Create HelicityKinematics object from an XML file that contains both a kinematics section and a parti...
void updateDataContainerState(ComPWA::FunctionTree::ParameterList &DataSample, const Kinematics &Kinematics)
TwoBodyDecayInfo extractDecayInfo(const boost::property_tree::ptree &pt)
std::shared_ptr< ComPWA::FunctionTree::Value< std::vector< double > > > Weights
std::map< std::string, std::pair< std::string, std::shared_ptr< ComPWA::FunctionTree::TreeNode > > > UniqueComponentFTMapping
std::pair< double, double > Helicities
This class provides a list of parameters and values of different types.
Definition of a two-body decay node within a sequential decay tree.
DataContainer PhspRecoData
Contains SubSystem class.