herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Shower
Dipole
Utility
DipoleMCCheck.h
1
// -*- C++ -*-
2
//
3
// DipoleMCCheck.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_DipoleMCCheck_H
10
#define HERWIG_DipoleMCCheck_H
11
//
12
// This is the declaration of the DipoleMCCheck class.
13
//
14
15
#include "ThePEG/Handlers/HandlerBase.h"
16
17
#include "Herwig/Utilities/Histogram.h"
18
19
namespace
Herwig
{
20
21
using namespace
ThePEG
;
22
33
class
DipoleMCCheck
:
public
HandlerBase
{
34
35
public
:
36
42
DipoleMCCheck
();
43
47
virtual
~
DipoleMCCheck
();
49
50
public
:
51
55
void
book(
double
xe,
double
xs,
56
Energy dScale,
57
Energy hardPt,
58
Energy pt,
double
z,
59
double
weight);
60
61
public
:
62
69
void
persistentOutput(
PersistentOStream
& os)
const
;
70
76
void
persistentInput(
PersistentIStream
& is,
int
version);
78
85
static
void
Init();
86
87
protected
:
88
95
virtual
IBPtr
clone()
const
;
96
101
virtual
IBPtr
fullclone()
const
;
103
104
105
106
protected
:
107
112
virtual
void
doinitrun();
113
118
virtual
void
dofinish();
119
120
121
// If needed, insert declarations of virtual function defined in the
122
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
123
124
private
:
125
131
unsigned
int
theHardPtBins
;
132
138
unsigned
int
theEmitterXBins
;
139
145
unsigned
int
theSpectatorXBins
;
146
151
unsigned
int
thePtBins
;
152
156
unsigned
int
theZBins
;
157
165
map<double,
166
map<double,
167
map<double,
168
pair<Ptr<Histogram>::ptr,Ptr<Histogram>::ptr>
169
>
170
>
171
>
histoMap
;
172
176
vector<double> makeLogBins(
double
xlow,
double
xup,
unsigned
int
n)
const
;
177
178
private
:
179
184
static
ClassDescription<DipoleMCCheck>
initDipoleMCCheck
;
185
190
DipoleMCCheck
& operator=(
const
DipoleMCCheck
&) =
delete
;
191
192
};
193
194
}
195
196
#include "ThePEG/Utilities/ClassTraits.h"
197
198
namespace
ThePEG
{
199
204
template
<>
205
struct
BaseClassTrait
<Herwig::
DipoleMCCheck
,1> {
207
typedef
HandlerBase
NthBase;
208
};
209
212
template
<>
213
struct
ClassTraits
<Herwig::
DipoleMCCheck
>
214
:
public
ClassTraitsBase
<Herwig::DipoleMCCheck> {
216
static
string
className() {
return
"Herwig::DipoleMCCheck"
; }
224
static
string
library() {
return
"HwDipoleShower.so"
; }
225
};
226
229
}
230
231
#endif
/* HERWIG_DipoleMCCheck_H */
ThePEG::PersistentIStream
Herwig::DipoleMCCheck::theHardPtBins
unsigned int theHardPtBins
The number of bins in the starting scale divided by the dipole scale, the upper bound is 1/2...
Definition:
DipoleMCCheck.h:131
ThePEG::ClassDescription
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::DipoleMCCheck
DipoleMCCheck is used to perform checks for the dipole shower.
Definition:
DipoleMCCheck.h:33
Herwig::DipoleMCCheck::theSpectatorXBins
unsigned int theSpectatorXBins
The number of bins in the spectator fraction.
Definition:
DipoleMCCheck.h:145
Herwig::DipoleMCCheck::initDipoleMCCheck
static ClassDescription< DipoleMCCheck > initDipoleMCCheck
The static object used to initialize the description of this class.
Definition:
DipoleMCCheck.h:184
ThePEG::HandlerBase
Herwig::DipoleMCCheck::thePtBins
unsigned int thePtBins
The number of bins in pt dicided by the dipole scale; the upper bound is 1/2.
Definition:
DipoleMCCheck.h:151
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::ClassTraits
Herwig::DipoleMCCheck::theEmitterXBins
unsigned int theEmitterXBins
The number of bins in the emitter fraction.
Definition:
DipoleMCCheck.h:138
Herwig::DipoleMCCheck::histoMap
map< double, map< double, map< double, pair< Ptr< Histogram >::ptr, Ptr< Histogram >::ptr > > > > histoMap
The recursive map structure: xe, xs, hard pt / GeV to histograms for pt and z; output is done such th...
Definition:
DipoleMCCheck.h:171
ThePEG::BaseClassTrait
ThePEG::ClassTraitsBase
Herwig::DipoleMCCheck::theZBins
unsigned int theZBins
The number of bins in z.
Definition:
DipoleMCCheck.h:156
Generated on Sat Apr 11 2020 14:50:29 for Herwig by
1.8.13