herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Models
General
TwoBodyDecayConstructor.h
1
// -*- C++ -*-
2
//
3
// TwoBodyDecayConstructor.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_TwoBodyDecayConstructor_H
10
#define HERWIG_TwoBodyDecayConstructor_H
11
//
12
// This is the declaration of the TwoBodyDecayConstructor class.
13
//
14
15
#include "NBodyDecayConstructorBase.h"
16
#include "ThePEG/Helicity/Vertex/VertexBase.h"
17
#include "Herwig/Decay/General/GeneralTwoBodyDecayer.fh"
18
#include "Herwig/Shower/ShowerAlpha.h"
19
#include "TwoBodyDecay.h"
20
21
namespace
Herwig
{
22
using namespace
ThePEG
;
23
24
using
Helicity::VertexBasePtr;
25
using
Helicity::tVertexBasePtr;
26
37
class
TwoBodyDecayConstructor
:
public
NBodyDecayConstructorBase
{
38
39
public
:
40
44
TwoBodyDecayConstructor
() :
inter_
(
ShowerInteraction
::QEDQCD),
weakMassCut_
(-GeV) {
45
radiationVertices_
[ShowerInteraction::QCD] = map<tPDPtr,VertexBasePtr>();
46
radiationVertices_
[ShowerInteraction::QED] = map<tPDPtr,VertexBasePtr>();
47
}
48
53
virtual
void
DecayList
(
const
set<PDPtr,MassOrdering> & particles);
54
58
virtual
unsigned
int
numBodies
()
const
{
return
2; }
59
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
private
:
105
110
TwoBodyDecayConstructor
&
operator=
(
const
TwoBodyDecayConstructor
&) =
delete
;
111
112
private
:
113
124
void
createModes
(
tPDPtr
inpart, VertexBasePtr vert,
125
unsigned
int
ilist,
126
multiset<TwoBodyDecay> & modes);
127
133
GeneralTwoBodyDecayerPtr
createDecayer
(
TwoBodyDecay
decay,
134
vector<VertexBasePtr> );
135
141
void
createDecayMode
(multiset<TwoBodyDecay> & decays);
143
147
VertexBasePtr
radiationVertex
(
tPDPtr
particle,
ShowerInteraction
inter,
148
tPDPair
children =
tPDPair
());
149
150
private
:
151
156
map<ShowerInteraction,map<tPDPtr,VertexBasePtr> >
radiationVertices_
;
157
161
ShowerAlphaPtr
alphaQCD_
;
162
166
ShowerAlphaPtr
alphaQED_
;
167
171
ShowerInteraction
inter_
;
172
176
Energy
weakMassCut_
;
177
178
};
179
180
}
181
182
#endif
/* HERWIG_TwoBodyDecayConstructor_H */
Herwig::NBodyDecayConstructorBase
This is the base class for NBodyDecayConstructors.
Definition:
NBodyDecayConstructorBase.h:34
Herwig::TwoBodyDecayConstructor
The TwoBodyDecayConstructor class inherits from the dummy base class NBodyDecayConstructorBase and im...
Definition:
TwoBodyDecayConstructor.h:37
Herwig::TwoBodyDecayConstructor::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::TwoBodyDecayConstructor::createDecayMode
void createDecayMode(multiset< TwoBodyDecay > &decays)
Create decay mode(s) from given part and decay modes.
Herwig::TwoBodyDecayConstructor::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::TwoBodyDecayConstructor::inter_
ShowerInteraction inter_
Which type of corrections to the decays to include.
Definition:
TwoBodyDecayConstructor.h:171
Herwig::TwoBodyDecayConstructor::DecayList
virtual void DecayList(const set< PDPtr, MassOrdering > &particles)
Function used to determine allowed decaymodes.
Herwig::TwoBodyDecayConstructor::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::TwoBodyDecayConstructor::createDecayer
GeneralTwoBodyDecayerPtr createDecayer(TwoBodyDecay decay, vector< VertexBasePtr >)
Function to create decayer for specific vertex.
Herwig::TwoBodyDecayConstructor::numBodies
virtual unsigned int numBodies() const
Number of outgoing lines.
Definition:
TwoBodyDecayConstructor.h:58
Herwig::TwoBodyDecayConstructor::weakMassCut_
Energy weakMassCut_
Cut off or decays via the weak current.
Definition:
TwoBodyDecayConstructor.h:176
Herwig::TwoBodyDecayConstructor::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::TwoBodyDecayConstructor::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::TwoBodyDecayConstructor::alphaQED_
ShowerAlphaPtr alphaQED_
Default choice for the strong coupling object for hard QED radiation.
Definition:
TwoBodyDecayConstructor.h:166
Herwig::TwoBodyDecayConstructor::TwoBodyDecayConstructor
TwoBodyDecayConstructor()
The default constructor.
Definition:
TwoBodyDecayConstructor.h:44
Herwig::TwoBodyDecayConstructor::alphaQCD_
ShowerAlphaPtr alphaQCD_
Default choice for the strong coupling object for hard QCD radiation.
Definition:
TwoBodyDecayConstructor.h:161
Herwig::TwoBodyDecayConstructor::radiationVertex
VertexBasePtr radiationVertex(tPDPtr particle, ShowerInteraction inter, tPDPair children=tPDPair())
Get the vertex for QED/QCD radiation.
Herwig::TwoBodyDecayConstructor::createModes
void createModes(tPDPtr inpart, VertexBasePtr vert, unsigned int ilist, multiset< TwoBodyDecay > &modes)
Function to create decays.
Herwig::TwoBodyDecayConstructor::operator=
TwoBodyDecayConstructor & operator=(const TwoBodyDecayConstructor &)=delete
The assignment operator is private and must never be called.
Herwig::TwoBodyDecayConstructor::radiationVertices_
map< ShowerInteraction, map< tPDPtr, VertexBasePtr > > radiationVertices_
Map of particles and the vertices which generate their QCD radiation.
Definition:
TwoBodyDecayConstructor.h:156
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig::ShowerInteraction
ShowerInteraction
Handy header file to be included in all Shower classes.
Definition:
ShowerInteraction.h:23
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::tPDPtr
ThePEG::Ptr< ParticleData >::transient_pointer tPDPtr
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPDPair
pair< tPDPtr, tPDPtr > tPDPair
Herwig::TwoBodyDecay
Struct for the prototype of a two-body decay mode.
Definition:
TwoBodyDecay.h:22
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6