22 #ifndef JSONTOPHYSICS_H_INCLUDED 23 #define JSONTOPHYSICS_H_INCLUDED 27 #include "jsonLoader.h" 36 class QuantumFieldParent;
64 static std::unique_ptr<Model> readModel(std::string
const& nameFile);
73 static std::unique_ptr<Gauge> readGauge(
JSON::Node* tree);
80 static std::unique_ptr<Flavor> readFlavor(
JSON::Node* tree);
82 static std::vector<QuantumNumber> readQuantumNumbers(
JSON::Node* tree);
100 static std::vector<std::shared_ptr<QuantumFieldParent>>
105 std::vector<QuantumNumber>
const& qNumbers);
107 static std::vector<std::pair<std::string, JSON::Node*>>
111 std::string
const& nameScalar,
120 static std::vector<int> stringToDinkinLabels(std::string
const& str);
Namespace of MARTY.
Definition: 2HDM.h:31
Reads a file in .json format containing data of a model and returns the corresponding Model object vi...
Definition: jsonToPhysics.h:50
Inherits from JSON::Object, specialized in JSON Node. A Node owns a vector of Object. The Node's children can either be Leaf or other Node objects. This allows to store the tree structure of a .json file.
Definition: jsonObject.h:97
Contains all objects in the theory. In particular QuantumField objects, Gauge, Flavor, Particle...
Definition: model.h:68
Base class for parents of QuantumField objects.
Definition: quantumField.h:152