herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
UnderlyingEvent
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
28
class
MPIXSecReweighter
:
public
StepHandler
{
29
30
public
:
31
37
MPIXSecReweighter
();
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 */
Herwig::MPIXSecReweighter
MPIXSecReweighter sets up the proper minimum bias cross section.
Definition:
MPIXSecReweighter.h:28
Herwig::MPIXSecReweighter::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::MPIXSecReweighter::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MPIXSecReweighter::MPIXSecReweighter
MPIXSecReweighter()
The default constructor.
Herwig::MPIXSecReweighter::operator=
MPIXSecReweighter & operator=(const MPIXSecReweighter &)=delete
The assignment operator is private and must never be called.
Herwig::MPIXSecReweighter::xSec
CrossSection xSec
The integrated (ME) cross section currently accumulated.
Definition:
MPIXSecReweighter.h:127
Herwig::MPIXSecReweighter::~MPIXSecReweighter
virtual ~MPIXSecReweighter()
The destructor.
Herwig::MPIXSecReweighter::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MPIXSecReweighter::sumWeights
double sumWeights
The sum of weights currently accumulated.
Definition:
MPIXSecReweighter.h:122
Herwig::MPIXSecReweighter::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::MPIXSecReweighter::handle
virtual void handle(EventHandler &eh, const tPVector &tagged, const Hint &hint)
The main function called by the EventHandler class to perform a step.
Herwig::MPIXSecReweighter::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::EventHandler
ThePEG::Hint
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::StepHandler
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPVector
vector< tPPtr > tPVector
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6