File indexing completed on 2026-09-27 09:14:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef LAGER_GEN_LA_JPACPHOTO_PENTAQUARK_LOADED
0021 #define LAGER_GEN_LA_JPACPHOTO_PENTAQUARK_LOADED
0022
0023 #include <lager/core/generator.hh>
0024 #include <lager/core/particle.hh>
0025 #include <lager/gen/lA/generator.hh>
0026 #include <lager/gen/lA_event.hh>
0027
0028 #include <jpacPhoto/amplitudes/amplitude_sum.hpp>
0029 #include <jpacPhoto/amplitudes/baryon_resonance.hpp>
0030 #include <jpacPhoto/reaction_kinematics.hpp>
0031
0032 namespace lager {
0033 namespace lA {
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044 class jpacPhoto_pentaquark : public lA::generator {
0045 public:
0046 using base_type = lA::generator;
0047
0048 jpacPhoto_pentaquark(const configuration& cf, const string_path& path,
0049 std::shared_ptr<TRandom> r);
0050 virtual lA_event generate(const lA_data&);
0051 virtual double max_cross_section() const { return max_; }
0052 virtual double phase_space() const { return max_t_range_.width(); }
0053
0054 private:
0055 double calc_max_xsec(const configuration& cf) ;
0056 interval<double> calc_max_t_range(const configuration& cf) const;
0057
0058
0059 interval<double> t_range(const double W2, const double Q2,
0060 const double Mt) const;
0061
0062
0063
0064 double dsigma_dt(const double s, const double t)
0065 ;
0066 double dipole(const double Q2) const;
0067
0068
0069
0070 double threshold2(const particle& vm, const particle& recoil) const;
0071
0072
0073 lA_event make_event(const lA_data& initial, const double t, particle vm1,
0074 particle X1, const double xs);
0075
0076
0077 std::unique_ptr<jpacPhoto::reaction_kinematics> init_reaction() const;
0078 std::vector<std::unique_ptr<jpacPhoto::baryon_resonance>>
0079 init_components() const;
0080 jpacPhoto::amplitude_sum init_ampl();
0081
0082
0083 const particle recoil_;
0084 const particle vm_;
0085 const particle decay_lplus_;
0086 const particle decay_lminus_;
0087
0088
0089 const std::vector<int> spin_parity_;
0090 const std::vector<double> mass_;
0091 const std::vector<double> width_;
0092 const std::vector<std::string> name_;
0093 const double photo_balance_;
0094 const double branching_;
0095 const double
0096 dipole_n_;
0097
0098
0099 std::unique_ptr<jpacPhoto::reaction_kinematics>
0100 reaction_;
0101 std::vector<std::unique_ptr<jpacPhoto::baryon_resonance>> components_;
0102 jpacPhoto::amplitude_sum ampl_;
0103
0104
0105 const interval<double> max_t_range_;
0106 const double max_;
0107 };
0108
0109 }
0110 }
0111
0112 #endif