herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
MPIXSecReweighter.h
1 // -*- C++ -*-
2 //
3 // MPIXSecReweighter.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 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_MPIXSecReweighter_H
10 #define Herwig_MPIXSecReweighter_H
11 //
12 // This is the declaration of the MPIXSecReweighter class.
13 //
14 
15 #include "ThePEG/Handlers/StepHandler.h"
16 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
29 
30 public:
31 
38 
42  virtual ~MPIXSecReweighter();
44 
45 public:
46 
64  virtual void handle(EventHandler & eh, const tPVector & tagged,
65  const Hint & hint);
67 
68 public:
69 
76  void persistentOutput(PersistentOStream & os) const;
77 
83  void persistentInput(PersistentIStream & is, int version);
85 
92  static void Init();
93 
94 protected:
95 
102  virtual IBPtr clone() const;
103 
108  virtual IBPtr fullclone() const;
110 
111 private:
112 
117  MPIXSecReweighter & operator=(const MPIXSecReweighter &) = delete;
118 
122  double sumWeights;
123 
127  CrossSection xSec;
128 
129 };
130 
131 }
132 
133 #endif /* Herwig_MPIXSecReweighter_H */
CrossSection xSec
The integrated (ME) cross section currently accumulated.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
double sumWeights
The sum of weights currently accumulated.
-*- C++ -*-
MPIXSecReweighter sets up the proper minimum bias cross section.
vector< tPPtr > tPVector