8#ifndef AUTOMATION_MONTECARLOPARSER_H_
9#define AUTOMATION_MONTECARLOPARSER_H_
11#include <ElementaryUtils/parameters/Parameters.h>
12#include <ElementaryUtils/parser/XMLParser.h>
14#include <partons/beans/automation/BaseObjectData.h>
19class MonteCarloScenario;
25 public PARTONS::BaseObject {
33 static const std::string
37 static const std::string
39 static const std::string
55 static const std::string
79 static const std::string
81 static const std::string
85 static const std::string
87 static const std::string
105 virtual std::string toString()
const;
107 virtual void startElement(
const std::string &elementName,
108 ElemUtils::Parameters attributes,
109 const std::string &elementData);
110 virtual void emptyStartElement(
const std::string &elementName,
111 ElemUtils::Parameters attributes);
112 virtual void endElement(
const std::string &elementName);
117 std::shared_ptr<MonteCarloScenario>
parseScenario(
const std::string &xmlFile);
120 std::shared_ptr<MonteCarloScenario> m_pScenario;
122 std::string m_description;
125 std::string m_serviceName;
126 std::string m_methodName;
128 PARTONS::BaseObjectData m_generalConfiguration;
129 PARTONS::BaseObjectData m_kinematicRange;
130 PARTONS::BaseObjectData m_experimentalConditions;
131 PARTONS::BaseObjectData m_computationConfiguration;
132 PARTONS::BaseObjectData m_generatorConfiguration;
133 PARTONS::BaseObjectData m_kinematicConfiguration;
134 PARTONS::BaseObjectData m_rcConfiguration;
135 PARTONS::BaseObjectData m_writerConfiguration;
137 std::vector<PARTONS::BaseObjectData *> m_currentModuleHierarchy;
Definition: MonteCarloParser.h:25
static const std::string KINEMATIC_CONFIGURATION_NODE_NAME
Definition: MonteCarloParser.h:63
static const std::string SCENARIO_ATTRIBUTE_DESCRIPTION_NAME
Definition: MonteCarloParser.h:29
static const std::string GENERAL_CONFIGURATION_NODE_NAME
Definition: MonteCarloParser.h:42
static const std::string PARAM_NODE_NAME
Parameter node name.
Definition: MonteCarloParser.h:78
static const std::string COMPUTATION_CONFIGURATION_NODE_NAME
Definition: MonteCarloParser.h:56
static const std::string SCENARIO_NODE_NAME
Scenario node name.
Definition: MonteCarloParser.h:28
static const std::string PARAM_ATTRIBUTE_VALUE_NAME
Parameter attribute value name.
Definition: MonteCarloParser.h:82
static const std::string GENERATOR_CONFIGURATION_NODE_NAME
Definition: MonteCarloParser.h:58
MonteCarloParser(const MonteCarloParser &other)
static const std::string MODULE_NAME_ATTRIBUT_NAME
Module attribute name name.
Definition: MonteCarloParser.h:88
static const std::string TASK_NODE_NAME
Task node name.
Definition: MonteCarloParser.h:36
static const std::string KINEMATIC_RANGE_NODE_NAME
Definition: MonteCarloParser.h:46
static const std::string TASK_ATRIBUTE_SERVICE_NAME
Task attribute service name.
Definition: MonteCarloParser.h:38
static const std::string TASK_ATRIBUTE_METHOD_NAME
Task attribute method name.
Definition: MonteCarloParser.h:40
static const std::string MODULE_TYPE_ATTRIBUT_NAME
Module attribute type name.
Definition: MonteCarloParser.h:86
static const std::string SCENARIO_ATTRIBUTE_DATE_NAME
Scenario attribute date name.
Definition: MonteCarloParser.h:34
virtual ~MonteCarloParser()
static const std::string EXPERIMENTAL_CONDIDTIONS_NODE_NAME
kinematic range.
Definition: MonteCarloParser.h:49
static const std::string PARAM_ATTRIBUTE_NAME_NAME
Parameter attribute name name.
Definition: MonteCarloParser.h:80
std::shared_ptr< MonteCarloScenario > parseScenario(const std::string &xmlFile)
static const std::string WRITER_CONFIGURATION_NODE_NAME
Definition: MonteCarloParser.h:73
static const std::string RC_CONFIGURATION_NODE_NAME
Definition: MonteCarloParser.h:68
static const std::string MODULE_NODE_NAME
Module node name.
Definition: MonteCarloParser.h:84