herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Hadronization
HwppSelector.h
1
// -*- C++ -*-
2
//
3
// HwppSelector.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_HwppSelector_H
10
#define HERWIG_HwppSelector_H
11
//
12
// This is the declaration of the HwppSelector class.
13
//
14
15
#include "HadronSelector.h"
16
#include "HwppSelector.fh"
17
18
namespace
Herwig
{
19
20
using namespace
ThePEG
;
21
29
class
HwppSelector
:
public
HadronSelector
{
30
31
public
:
32
36
HwppSelector
() :
HadronSelector
(1), _mode(1), _enhanceSProb(0), _m0Decay(1.*GeV)
37
{}
38
67
pair<tcPDPtr,tcPDPtr> chooseHadronPair(
const
Energy cluMass,
tcPDPtr
par1,
68
tcPDPtr
par2,
tcPDPtr
par3 =
PDPtr
())
const
69
;
70
71
public
:
72
79
void
persistentOutput(
PersistentOStream
& os)
const
;
80
86
void
persistentInput(
PersistentIStream
& is,
int
version);
88
95
static
void
Init();
96
97
protected
:
98
105
virtual
IBPtr
clone()
const
;
106
111
virtual
IBPtr
fullclone()
const
;
113
114
protected
:
115
123
virtual
void
doinit();
125
126
private
:
127
132
HwppSelector
& operator=(
const
HwppSelector
&) =
delete
;
133
134
private
:
135
139
unsigned
int
_mode
;
140
145
int
_enhanceSProb
;
146
150
Energy
_m0Decay
;
151
156
int
_massMeasure
;
157
162
const
double
_maxScale = 20.;
163
164
};
165
166
}
167
168
#endif
/* HERWIG_HwppSelector_H */
ThePEG::PersistentIStream
Herwig::HadronSelector
This class selects the hadron flavours of a cluster decay.
Definition:
HadronSelector.h:48
Herwig::HwppSelector::_m0Decay
Energy _m0Decay
Parameter that governs the strangeness enhancement scaling.
Definition:
HwppSelector.h:150
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::HwppSelector::_massMeasure
int _massMeasure
Flag that switches between mass measures used in strangeness enhancement: cluster mass...
Definition:
HwppSelector.h:156
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
ThePEG::PDPtr
ThePEG::Ptr< ParticleData >::pointer PDPtr
Herwig::HwppSelector
The HwppSelector class selects the hadrons produced in cluster decay using the Herwig variant of the ...
Definition:
HwppSelector.h:29
Herwig::HwppSelector::HwppSelector
HwppSelector()
The default constructor.
Definition:
HwppSelector.h:36
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Herwig::HwppSelector::_mode
unsigned int _mode
Which algorithm to use.
Definition:
HwppSelector.h:139
Herwig::HwppSelector::_enhanceSProb
int _enhanceSProb
Flag that switches between no strangeness enhancement, scaling enhancement, and exponential enhanceme...
Definition:
HwppSelector.h:145
Generated on Sat Apr 11 2020 14:50:29 for Herwig by
1.8.13