herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
ShowerEventRecord.h
1
// -*- C++ -*-
2
#ifndef Herwig_ShowerEventRecord_H
3
#define Herwig_ShowerEventRecord_H
4
//
5
// This is the declaration of the ShowerEventRecord class.
6
//
7
8
#include "
ThePEG/Config/ThePEG.h
"
9
#include "ThePEG/Handlers/StandardXComb.h"
10
#include "ThePEG/PDF/PDF.h"
11
#include "Herwig/MatrixElement/Matchbox/Matching/ShowerApproximation.h"
12
13
namespace
Herwig
{
14
15
using namespace
ThePEG
;
16
20
class
ShowerEventRecord
:
public
Base
{
21
22
public
:
23
29
ShowerEventRecord
();
30
34
virtual
~ShowerEventRecord
();
36
37
public
:
38
42
tSubProPtr
subProcess
()
const
{
return
subProcess_
; }
43
47
tStdXCombPtr
xcombPtr
()
const
{
return
XComb_
; }
48
52
void
xcombPtr
(tStdXCombPtr in) {
XComb_
= in; }
53
57
const
StandardXComb
&
xcomb
()
const
{
return
*
XComb_
; }
58
59
public
:
60
65
PPair
&
incoming
() {
return
incoming_
; }
66
71
const
PPair
&
incoming
()
const
{
return
incoming_
; }
72
77
PList
&
outgoing
() {
return
outgoing_
; }
78
83
const
PList
&
outgoing
()
const
{
return
outgoing_
; }
84
89
PList
&
intermediates
() {
return
intermediates_
; }
90
95
const
PList
&
intermediates
()
const
{
return
intermediates_
; }
96
100
const
pair<double,double>&
fractions
()
const
{
return
fractions_
; }
101
105
pair<double,double>&
fractions
() {
return
fractions_
; }
106
110
const
pair<PDF,PDF>&
pdfs
()
const
{
return
PDFs_
; }
111
112
public
:
113
119
bool
isMCatNLOSEvent
()
const
{
return
isMCatNLOSEvent_
; }
120
124
bool
isMCatNLOHEvent
()
const
{
return
isMCatNLOHEvent_
; }
125
129
bool
isPowhegSEvent
()
const
{
return
isPowhegSEvent_
; }
130
134
bool
isPowhegHEvent
()
const
{
return
isPowhegHEvent_
; }
135
139
void
isMCatNLOSEvent
(
bool
in) {
isMCatNLOSEvent_
= in; }
140
144
void
isMCatNLOHEvent
(
bool
in) {
isMCatNLOHEvent_
= in; }
145
149
Ptr<ShowerApproximation>::tptr
showerApproximation
() {
150
return
showerApproximation_
;
151
}
152
156
bool
truncatedShower
()
const
{
return
truncatedShower_
; }
157
161
void
truncatedShower
(
bool
in) {
truncatedShower_
=in; }
163
164
public
:
165
170
virtual
void
clear
();
171
172
protected
:
173
177
void
subProcess
(
tSubProPtr
in) {
subProcess_
= in; }
178
182
pair<PDF,PDF>&
pdfs
() {
return
PDFs_
; }
183
184
public
:
185
189
void
identifyEventType
();
190
191
protected
:
192
196
map<ColinePtr,ColinePtr> &
colourLines
() {
return
colourLines_
;}
197
202
void
colourIsolate
(
const
vector<PPtr> & original,
const
vector<PPtr> & copy);
203
208
void
updateColour
(
PPtr
particle,
bool
recursive);
209
213
void
mapColour
(
PPtr
original,
PPtr
copy);
214
215
private
:
216
220
void
isolateLine
(vector<PPair>::const_iterator cit,
221
vector<PPair> & particles,
222
tcColinePtr
oldline,
223
tColinePtr
newline);
224
225
private
:
226
231
ShowerEventRecord
&
operator=
(
const
ShowerEventRecord
&) =
delete
;
232
233
234
private
:
235
239
SubProPtr
subProcess_
;
240
244
StdXCombPtr
XComb_
;
245
250
PPair
incoming_
;
251
255
PList
outgoing_
;
256
261
PList
intermediates_
;
262
266
pair<PDF,PDF>
PDFs_
;
267
271
pair<double,double>
fractions_
;
272
273
private
:
274
282
bool
isMCatNLOSEvent_
;
283
287
bool
isMCatNLOHEvent_
;
288
292
bool
isPowhegSEvent_
;
293
297
bool
isPowhegHEvent_
;
298
302
Ptr<ShowerApproximation>::tptr
showerApproximation_
;
303
307
map<ColinePtr,ColinePtr>
colourLines_
;
308
312
bool
truncatedShower_
;
314
315
};
316
317
}
318
319
#endif
/* Herwig_ShowerEventRecord_H */
ThePEG.h
Herwig::ShowerEventRecord
Here is the documentation of the ShowerEventRecord class.
Definition:
ShowerEventRecord.h:20
Herwig::ShowerEventRecord::incoming
const PPair & incoming() const
Return the incoming partons at the current stage of the evolution.
Definition:
ShowerEventRecord.h:71
Herwig::ShowerEventRecord::operator=
ShowerEventRecord & operator=(const ShowerEventRecord &)=delete
The assignment operator is private and must never be called.
Herwig::ShowerEventRecord::incoming_
PPair incoming_
The incoming partons at the current stage of the evolution.
Definition:
ShowerEventRecord.h:250
Herwig::ShowerEventRecord::isMCatNLOSEvent_
bool isMCatNLOSEvent_
Type of event.
Definition:
ShowerEventRecord.h:282
Herwig::ShowerEventRecord::intermediates
const PList & intermediates() const
Return the intermediate particles at the current stage of the evolution.
Definition:
ShowerEventRecord.h:95
Herwig::ShowerEventRecord::ShowerEventRecord
ShowerEventRecord()
The default constructor.
Herwig::ShowerEventRecord::xcomb
const StandardXComb & xcomb() const
Return the XComb describing the hard process.
Definition:
ShowerEventRecord.h:57
Herwig::ShowerEventRecord::isPowhegHEvent
bool isPowhegHEvent() const
True, if matchbox MC@NLO H-event.
Definition:
ShowerEventRecord.h:134
Herwig::ShowerEventRecord::subProcess
tSubProPtr subProcess() const
Return the subprocess currently showered.
Definition:
ShowerEventRecord.h:42
Herwig::ShowerEventRecord::outgoing
const PList & outgoing() const
Return the outgoing partons at the current stage of the evolution.
Definition:
ShowerEventRecord.h:83
Herwig::ShowerEventRecord::pdfs
pair< PDF, PDF > & pdfs()
Return the PDFs.
Definition:
ShowerEventRecord.h:182
Herwig::ShowerEventRecord::truncatedShower
bool truncatedShower() const
True if truncated shower required.
Definition:
ShowerEventRecord.h:156
Herwig::ShowerEventRecord::~ShowerEventRecord
virtual ~ShowerEventRecord()
The destructor.
Herwig::ShowerEventRecord::isMCatNLOSEvent
bool isMCatNLOSEvent() const
True, if Matchbox MC@NLO S-event.
Definition:
ShowerEventRecord.h:119
Herwig::ShowerEventRecord::isMCatNLOHEvent
bool isMCatNLOHEvent() const
True, if matchbox MC@NLO H-event.
Definition:
ShowerEventRecord.h:124
Herwig::ShowerEventRecord::incoming
PPair & incoming()
Return the incoming partons at the current stage of the evolution.
Definition:
ShowerEventRecord.h:65
Herwig::ShowerEventRecord::showerApproximation_
Ptr< ShowerApproximation >::tptr showerApproximation_
The shower approximation to provide the hard scale profile.
Definition:
ShowerEventRecord.h:302
Herwig::ShowerEventRecord::clear
virtual void clear()
Clear the event record: Give up ownership on any object involved in the evolution.
Herwig::ShowerEventRecord::colourLines
map< ColinePtr, ColinePtr > & colourLines()
Map of colour lines used to reset colours when inserted into the event.
Definition:
ShowerEventRecord.h:196
Herwig::ShowerEventRecord::intermediates_
PList intermediates_
The intermediate particles at the current stage of the evolution.
Definition:
ShowerEventRecord.h:261
Herwig::ShowerEventRecord::intermediates
PList & intermediates()
Return the intermediate particles at the current stage of the evolution.
Definition:
ShowerEventRecord.h:89
Herwig::ShowerEventRecord::isPowhegSEvent_
bool isPowhegSEvent_
True, if Matchbox Powheg S-event.
Definition:
ShowerEventRecord.h:292
Herwig::ShowerEventRecord::isolateLine
void isolateLine(vector< PPair >::const_iterator cit, vector< PPair > &particles, tcColinePtr oldline, tColinePtr newline)
Isolate a specific colour line.
Herwig::ShowerEventRecord::identifyEventType
void identifyEventType()
Identify the type of event.
Herwig::ShowerEventRecord::isPowhegHEvent_
bool isPowhegHEvent_
True, if matchbox Powheg H-event.
Definition:
ShowerEventRecord.h:297
Herwig::ShowerEventRecord::isMCatNLOHEvent_
bool isMCatNLOHEvent_
True, if matchbox MC@NLO H-event.
Definition:
ShowerEventRecord.h:287
Herwig::ShowerEventRecord::subProcess_
SubProPtr subProcess_
The subprocess currently showered.
Definition:
ShowerEventRecord.h:239
Herwig::ShowerEventRecord::updateColour
void updateColour(PPtr particle, bool recursive)
Update the colour information of a particle prior to insertion into the event record.
Herwig::ShowerEventRecord::xcombPtr
tStdXCombPtr xcombPtr() const
Return the XComb describing the hard process.
Definition:
ShowerEventRecord.h:47
Herwig::ShowerEventRecord::colourIsolate
void colourIsolate(const vector< PPtr > &original, const vector< PPtr > ©)
Isolate the colour of the process from the rest of the event.
Herwig::ShowerEventRecord::fractions
pair< double, double > & fractions()
Return the momentum fractions.
Definition:
ShowerEventRecord.h:105
Herwig::ShowerEventRecord::xcombPtr
void xcombPtr(tStdXCombPtr in)
Set the XComb describing the hard process.
Definition:
ShowerEventRecord.h:52
Herwig::ShowerEventRecord::outgoing_
PList outgoing_
The outgoing partons at the current stage of the evolution.
Definition:
ShowerEventRecord.h:255
Herwig::ShowerEventRecord::fractions_
pair< double, double > fractions_
Momentum fractions of the incoming partons.
Definition:
ShowerEventRecord.h:271
Herwig::ShowerEventRecord::pdfs
const pair< PDF, PDF > & pdfs() const
Return the PDFs.
Definition:
ShowerEventRecord.h:110
Herwig::ShowerEventRecord::isPowhegSEvent
bool isPowhegSEvent() const
True, if Matchbox MC@NLO S-event.
Definition:
ShowerEventRecord.h:129
Herwig::ShowerEventRecord::isMCatNLOSEvent
void isMCatNLOSEvent(bool in)
True, if Matchbox MC@NLO S-event.
Definition:
ShowerEventRecord.h:139
Herwig::ShowerEventRecord::isMCatNLOHEvent
void isMCatNLOHEvent(bool in)
True, if matchbox MC@NLO H-event.
Definition:
ShowerEventRecord.h:144
Herwig::ShowerEventRecord::PDFs_
pair< PDF, PDF > PDFs_
The PDFs to be considered.
Definition:
ShowerEventRecord.h:266
Herwig::ShowerEventRecord::fractions
const pair< double, double > & fractions() const
Return the momentum fractions.
Definition:
ShowerEventRecord.h:100
Herwig::ShowerEventRecord::colourLines_
map< ColinePtr, ColinePtr > colourLines_
Map of colour lines used to reset colours when inserted into the event.
Definition:
ShowerEventRecord.h:307
Herwig::ShowerEventRecord::mapColour
void mapColour(PPtr original, PPtr copy)
Map the colours for a given particle.
Herwig::ShowerEventRecord::XComb_
StdXCombPtr XComb_
Pointer to the XComb which generated the hard process.
Definition:
ShowerEventRecord.h:244
Herwig::ShowerEventRecord::truncatedShower
void truncatedShower(bool in)
True if truncated shower required.
Definition:
ShowerEventRecord.h:161
Herwig::ShowerEventRecord::outgoing
PList & outgoing()
Return the outgoing partons at the current stage of the evolution.
Definition:
ShowerEventRecord.h:77
Herwig::ShowerEventRecord::truncatedShower_
bool truncatedShower_
Whether or ont needs truncated shower.
Definition:
ShowerEventRecord.h:312
Herwig::ShowerEventRecord::subProcess
void subProcess(tSubProPtr in)
Set the subprocess.
Definition:
ShowerEventRecord.h:177
Herwig::ShowerEventRecord::showerApproximation
Ptr< ShowerApproximation >::tptr showerApproximation()
Access to the shower approximation.
Definition:
ShowerEventRecord.h:149
ThePEG::StandardXComb
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::PPair
pair< PPtr, PPtr > PPair
ThePEG::SubProPtr
ThePEG::Ptr< SubProcess >::pointer SubProPtr
ThePEG::tcColinePtr
ThePEG::Ptr< ColourLine >::transient_const_pointer tcColinePtr
ThePEG::tSubProPtr
ThePEG::Ptr< SubProcess >::transient_pointer tSubProPtr
ThePEG::PPtr
ThePEG::Ptr< Particle >::pointer PPtr
ThePEG::PList
list< PPtr > PList
ThePEG::tColinePtr
ThePEG::Ptr< ColourLine >::transient_pointer tColinePtr
ThePEG::Base
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6