herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Hadronization
Hw64Selector.h
1
// -*- C++ -*-
2
//
3
// Hw64Selector.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_Hw64Selector_H
10
#define HERWIG_Hw64Selector_H
11
//
12
// This is the declaration of the Hw64Selector class.
13
//
14
15
#include "HadronSelector.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
28
class
Hw64Selector
:
public
HadronSelector
{
29
30
public
:
31
35
Hw64Selector
() :
HadronSelector
(0),
36
_pwtDquark
( 1.0 ),
_pwtUquark
( 1.0 ),
_pwtSquark
( 1.0 ),
_pwtCquark
( 0.0 ),
37
_pwtBquark
( 0.0 ),
_pwtDIquarkS0
( 1.0 ),
_pwtDIquarkS1
( 1.0 ),
38
_sngWt
( 1.0 ),
_decWt
( 1.0 )
39
{}
40
49
virtual
pair<tcPDPtr,tcPDPtr>
chooseHadronPair
(
const
Energy cluMass,
50
tcPDPtr
par1,
tcPDPtr
par2)
const
;
51
52
public
:
53
60
void
persistentOutput
(
PersistentOStream
& os)
const
;
61
67
void
persistentInput
(
PersistentIStream
& is,
int
version);
69
76
static
void
Init
();
77
78
protected :
79
83
virtual
double
baryonWeight
(
long
id
)
const
;
84
85
protected
:
86
93
virtual
IBPtr
clone
()
const
;
94
99
virtual
IBPtr
fullclone
()
const
;
101
102
protected
:
103
111
virtual
void
doinit
();
113
114
private
:
115
120
Hw64Selector
&
operator=
(
const
Hw64Selector
&) =
delete
;
121
122
private
:
123
131
double
_pwtDquark
;
132
136
double
_pwtUquark
;
137
141
double
_pwtSquark
;
142
146
double
_pwtCquark
;
147
151
double
_pwtBquark
;
152
156
double
_pwtDIquarkS0
;
157
161
double
_pwtDIquarkS1
;
163
171
double
_sngWt
;
172
176
double
_decWt
;
178
179
};
180
181
}
182
183
#endif
/* HERWIG_Hw64Selector_H */
Herwig::HadronSelector
This class selects the hadron flavours of a cluster decay.
Definition:
HadronSelector.h:51
Herwig::Hw64Selector
The Hw64Selector class selects the hadrons produced in cluster decay using the FORTRAN HERWIG variant...
Definition:
Hw64Selector.h:28
Herwig::Hw64Selector::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::Hw64Selector::_pwtBquark
double _pwtBquark
The probability of producting a bottom quark.
Definition:
Hw64Selector.h:151
Herwig::Hw64Selector::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::Hw64Selector::_pwtCquark
double _pwtCquark
The probability of producting a charm quark.
Definition:
Hw64Selector.h:146
Herwig::Hw64Selector::_pwtDIquarkS0
double _pwtDIquarkS0
The probability of producting a spin-0 diquark.
Definition:
Hw64Selector.h:156
Herwig::Hw64Selector::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::Hw64Selector::_pwtUquark
double _pwtUquark
The probability of producting an up quark.
Definition:
Hw64Selector.h:136
Herwig::Hw64Selector::Hw64Selector
Hw64Selector()
The default constructor.
Definition:
Hw64Selector.h:35
Herwig::Hw64Selector::_pwtSquark
double _pwtSquark
The probability of producting a strange quark.
Definition:
Hw64Selector.h:141
Herwig::Hw64Selector::baryonWeight
virtual double baryonWeight(long id) const
Weights for baryons.
Herwig::Hw64Selector::operator=
Hw64Selector & operator=(const Hw64Selector &)=delete
The assignment operator is private and must never be called.
Herwig::Hw64Selector::_decWt
double _decWt
The decuplet weight.
Definition:
Hw64Selector.h:176
Herwig::Hw64Selector::_pwtDquark
double _pwtDquark
The weights for the different quarks and diquarks.
Definition:
Hw64Selector.h:131
Herwig::Hw64Selector::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::Hw64Selector::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::Hw64Selector::_pwtDIquarkS1
double _pwtDIquarkS1
The probability of producting a spin-1 diquark.
Definition:
Hw64Selector.h:161
Herwig::Hw64Selector::_sngWt
double _sngWt
Singlet and Decuplet weights.
Definition:
Hw64Selector.h:171
Herwig::Hw64Selector::chooseHadronPair
virtual pair< tcPDPtr, tcPDPtr > chooseHadronPair(const Energy cluMass, tcPDPtr par1, tcPDPtr par2) const
Method to return a pair of hadrons given the PDG codes of two or three constituents.
Herwig::Hw64Selector::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6