File indexing completed on 2026-06-02 08:51:45
0001 #ifndef GPDSELECTONEPARTONTYPE_H
0002 #define GPDSELECTONEPARTONTYPE_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <ElementaryUtils/parameters/Parameters.h>
0012 #include <map>
0013 #include <string>
0014
0015 #include "../../beans/automation/BaseObjectData.h"
0016 #include "GPDModule.h"
0017
0018 namespace PARTONS {
0019
0020
0021
0022
0023
0024
0025 class GPDSelectOnePartonType: public GPDModule {
0026
0027 public:
0028
0029 static const std::string PARAMETER_NAME_SELECTONEPARTONTYPE_PARTONTYPE;
0030
0031 static const unsigned int classId;
0032
0033
0034
0035
0036
0037
0038
0039 GPDSelectOnePartonType(const std::string &className);
0040
0041
0042
0043
0044 virtual ~GPDSelectOnePartonType();
0045
0046 virtual GPDSelectOnePartonType* clone() const;
0047 virtual void configure(const ElemUtils::Parameters ¶meters);
0048 virtual void prepareSubModules(
0049 const std::map<std::string, BaseObjectData>& subModulesData);
0050
0051
0052
0053
0054 const GPDModule* getGPDModule() const;
0055
0056
0057
0058
0059 void setGPDModule(GPDModule* pGPDModule);
0060
0061
0062
0063
0064 const std::string& getPartonType() const;
0065
0066
0067
0068
0069 void setPartonType(const std::string& partonType);
0070
0071 protected:
0072
0073
0074
0075
0076 GPDSelectOnePartonType(const GPDSelectOnePartonType& other);
0077
0078 virtual PartonDistribution computeH();
0079
0080 private:
0081
0082 GPDModule* m_pGPDModule;
0083 std::string m_partonType;
0084 };
0085
0086 }
0087
0088 #endif