File indexing completed on 2026-06-02 08:51:48
0001 #ifndef DDVCS_XI_CONVERTER_MODULE_H
0002 #define DDVCS_XI_CONVERTER_MODULE_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <string>
0012
0013 #include "../../../beans/observable/DDVCS/DDVCSObservableKinematic.h"
0014 #include "../../../utils/type/PhysicalType.h"
0015 #include "../XiConverterModule.h"
0016
0017 namespace PARTONS {
0018
0019
0020
0021
0022
0023
0024 class DDVCSXiConverterModule: public XiConverterModule<DDVCSObservableKinematic> {
0025
0026 public:
0027
0028
0029
0030
0031 static const std::string DDVCS_XI_CONVERTER_MODULE_CLASS_NAME;
0032
0033
0034
0035
0036
0037 DDVCSXiConverterModule(const std::string &className);
0038
0039
0040
0041
0042
0043 DDVCSXiConverterModule(const DDVCSXiConverterModule &other);
0044
0045
0046
0047
0048 virtual ~DDVCSXiConverterModule();
0049
0050 virtual DDVCSXiConverterModule* clone() const = 0;
0051
0052 virtual PhysicalType<double> compute(
0053 const DDVCSObservableKinematic& kinematic) = 0;
0054
0055 protected:
0056
0057 virtual void initModule();
0058 virtual void isModuleWellConfigured();
0059 };
0060
0061 }
0062
0063 #endif