herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
17namespace Herwig {
18
19using namespace ThePEG;
20
29
30public:
31
38
44
45public:
46
64 virtual void handle(EventHandler & eh, const tPVector & tagged,
65 const Hint & hint);
67
68public:
69
77
83 void persistentInput(PersistentIStream & is, int version);
85
92 static void Init();
93
94protected:
95
102 virtual IBPtr clone() const;
103
108 virtual IBPtr fullclone() const;
110
111private:
112
118
123
127 CrossSection xSec;
128
129};
130
131}
132
133#endif /* Herwig_MPIXSecReweighter_H */
MPIXSecReweighter sets up the proper minimum bias cross section.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
MPIXSecReweighter()
The default constructor.
MPIXSecReweighter & operator=(const MPIXSecReweighter &)=delete
The assignment operator is private and must never be called.
CrossSection xSec
The integrated (ME) cross section currently accumulated.
virtual ~MPIXSecReweighter()
The destructor.
static void Init()
The standard Init function used to initialize the interfaces.
double sumWeights
The sum of weights currently accumulated.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual void handle(EventHandler &eh, const tPVector &tagged, const Hint &hint)
The main function called by the EventHandler class to perform a step.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPPtr > tPVector