herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
KrknloEventReweight.h
1 /* KrkNLO Event Reweight (Dipole) */
2 
3 #ifndef Herwig_KrknloEventReweight_H
4 #define Herwig_KrknloEventReweight_H
5 
6 #include "Herwig/Shower/Dipole/Base/DipoleEventReweight.h"
7 
8 namespace Herwig {
9 
10 using namespace ThePEG;
11 
13 {
14 public:
15  double weight(const PPair& in, const PList& out, const PList& hard, Ptr<AlphaSBase>::tptr as) const;
16  double weightCascade(const PPair& in, const PList& out, const PList& hard, Ptr<AlphaSBase>::tptr as) const;
17 
18  bool firstInteraction() const ;
19  bool secondaryInteractions() const;
20 
21  public:
22 
29  void persistentOutput(PersistentOStream & os) const;
30 
36  void persistentInput(PersistentIStream & is, int);
38 
45  static void Init();
46 
47 protected:
48 
55  virtual IBPtr clone() const;
56 
61  virtual IBPtr fullclone() const;
63 
64 
65  // If needed, insert declarations of virtual function defined in the
66  // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
67 
68 private:
69 
70  double scaleFactor_ = 1.0;
71 
72  unsigned int alphaSScale_R_ = 0;
73  unsigned int alphaSScale_V_ = 0;
74 
75  unsigned int mode_ = 0;
76  unsigned int mcPDF_ = 1;
77 
78 
83  KrknloEventReweight & operator=(const KrknloEventReweight &) = delete;
84 
85 };
86 
87 }
88 
89 #endif /* Herwig_KrknloEventReweight_H */
transient_pointer tptr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
pair< PPtr, PPtr > PPair
-*- C++ -*-
Reweight full final states produced by the shower.
list< PPtr > PList