11 #include "boost/property_tree/xml_parser.hpp" 20 const std::vector<pid> &initialState,
21 const std::vector<pid> &finalState,
22 const char *particleXMLFile) {
24 if (modelXMLFile ==
nullptr) {
25 modelStr = std::string(modelXMLFile);
32 if (particleXMLFile) {
33 std::string particleStr(particleXMLFile);
34 boost::property_tree::ptree ParticlesPT;
35 boost::property_tree::xml_parser::read_xml(particleXMLFile, ParticlesPT);
39 boost::property_tree::ptree model;
40 boost::property_tree::xml_parser::read_xml(modelXMLFile, model);
ComPWA::FunctionTree::FunctionTreeIntensity createIntensity()
std::set< ParticleProperties > ParticleList
void insertParticles(ParticleList &list, const boost::property_tree::ptree &pt)
Read list of particles from a boost::property_tree.
HelicityKinematics createHelicityKinematics(const std::string XmlFile)
Create HelicityKinematics object from an XML file that contains both a kinematics section and a parti...