File indexing completed on 2026-08-06 09:24:25
0001
0002
0003 #ifndef Herwig_KrknloEventReweight_H
0004 #define Herwig_KrknloEventReweight_H
0005
0006 #include "Herwig/Shower/Dipole/Base/DipoleEventReweight.h"
0007
0008 namespace Herwig {
0009
0010 using namespace ThePEG;
0011
0012 class KrknloEventReweight : public DipoleEventReweight
0013 {
0014 public:
0015 double weight(const PPair& in, const PList& out, const PList& hard, Ptr<AlphaSBase>::tptr as) const;
0016 double weightCascade(const PPair& in, const PList& out, const PList& hard, Ptr<AlphaSBase>::tptr as) const;
0017
0018 bool firstInteraction() const ;
0019 bool secondaryInteractions() const;
0020
0021 public:
0022
0023
0024
0025
0026
0027
0028
0029 void persistentOutput(PersistentOStream & os) const;
0030
0031
0032
0033
0034
0035
0036 void persistentInput(PersistentIStream & is, int);
0037
0038
0039
0040
0041
0042
0043
0044
0045 static void Init();
0046
0047 protected:
0048
0049
0050
0051
0052
0053
0054
0055 virtual IBPtr clone() const;
0056
0057
0058
0059
0060
0061 virtual IBPtr fullclone() const;
0062
0063
0064
0065
0066
0067
0068 private:
0069
0070 double scaleFactor_ = 1.0;
0071
0072 unsigned int alphaSScale_R_ = 0;
0073 unsigned int alphaSScale_V_ = 0;
0074
0075 unsigned int mode_ = 0;
0076 unsigned int mcPDF_ = 1;
0077
0078
0079
0080
0081
0082
0083 KrknloEventReweight & operator=(const KrknloEventReweight &) = delete;
0084
0085 };
0086
0087 }
0088
0089 #endif