herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
MergingReweight.h
1  // -*- C++ -*-
2  //
3  // MergingReweight.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4  // Copyright (C) 2002-2017 The Herwig Collaboration
5  //
6  // Herwig is licenced under version 3 of the GPL, see COPYING for details.
7  // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8  //
9 #ifndef Herwig_MergingReweight_H
10 #define Herwig_MergingReweight_H
11 // This is the declaration of the MergingReweight class.
12 
13 #include "ThePEG/MatrixElement/ReweightBase.h"
14 
15 namespace Herwig {
16 
17  using namespace ThePEG;
18 
26 
27 public:
28 
35  : HTPower(0),MaxPTPower(0),MaxMjjPower(0), scale(50.0*GeV),onlyColoured(true) {}
37 
38 public:
39 
44  virtual double weight() const;
45 
46 public:
47 
54  void persistentOutput(PersistentOStream & os) const;
55 
61  void persistentInput(PersistentIStream & is, int version);
63 
67  static void Init();
68 
69 protected:
70 
77  virtual IBPtr clone() const;
78 
83  virtual IBPtr fullclone() const;
85 
86 private:
87 
91  double HTPower,MaxPTPower,MaxMjjPower;
92 
96  Energy scale;
97 
98  bool onlyColoured;
99 
100 
101 
102 private:
103 
108 
112  MergingReweight & operator=(const MergingReweight &) = delete;
113 
114 };
115 
116 
117 
118 
119 
120 }
121 
122 #endif /* Herwig_MergingReweight_H */
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Energy scale
The weight is the minimum pt/scale to a power.
MergingReweight()
Default constructor.
static ClassDescription< MergingReweight > initMergingReweight
Describe a concrete base class with persistent data.
The MergingReweight class reweights subprocesses.
-*- C++ -*-
double HTPower
The weight is the minimum pt/scale to a power.