herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
ScalarScalarScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// ScalarScalarScalarDecayer.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_ScalarScalarScalarDecayer_H
10
#define HERWIG_ScalarScalarScalarDecayer_H
11
// This is the declaration of the ScalarScalarScalarDecayer class.
12
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "Herwig/Decay/PhaseSpaceMode.h"
15
16
namespace
Herwig
{
17
using namespace
ThePEG
;
18
36
class
ScalarScalarScalarDecayer
:
public
DecayIntegrator
{
37
38
public
:
39
46
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
47
const
tPDVector
& children)
const
;
48
58
double
me2
(
const
int
ichan,
const
Particle
& part,
59
const
tPDVector
&
outgoing
,
60
const
vector<Lorentz5Momentum> & momenta,
61
MEOption
meopt)
const
;
62
66
virtual
void
constructSpinInfo
(
const
Particle
& part,
67
ParticleVector
outgoing
)
const
;
68
77
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
78
84
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
85
86
public
:
87
94
void
persistentOutput
(
PersistentOStream
& os)
const
;
95
101
void
persistentInput
(
PersistentIStream
& is,
int
version);
103
107
static
void
Init
();
108
109
protected
:
110
117
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
118
123
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
125
126
protected
:
127
135
virtual
void
doinit
();
136
140
virtual
void
doinitrun
();
142
143
private
:
144
148
ScalarScalarScalarDecayer
&
operator=
(
const
ScalarScalarScalarDecayer
&) =
delete
;
149
150
public
:
151
155
string
setUpDecayMode
(
string
arg);
156
157
private
:
158
162
vector<int>
incoming_
;
163
167
vector<pair<int,int> >
outgoing_
;
168
172
vector<Energy>
coupling_
;
173
177
vector<double>
maxWeight_
;
178
182
mutable
RhoDMatrix
rho_
;
183
};
184
185
}
186
187
#endif
/* HERWIG_ScalarScalarScalarDecayer_H */
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:60
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:72
Herwig::ScalarScalarScalarDecayer
The ScalarScalarScalarDecayer class is designed for the decay of a scalar meson to two scalar mesons.
Definition:
ScalarScalarScalarDecayer.h:36
Herwig::ScalarScalarScalarDecayer::coupling_
vector< Energy > coupling_
the coupling for the decay
Definition:
ScalarScalarScalarDecayer.h:172
Herwig::ScalarScalarScalarDecayer::me2
double me2(const int ichan, const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Return the matrix element squared for a given mode and phase-space channel.
Herwig::ScalarScalarScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::ScalarScalarScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::ScalarScalarScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::ScalarScalarScalarDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
ScalarScalarScalarDecayer.h:182
Herwig::ScalarScalarScalarDecayer::outgoing_
vector< pair< int, int > > outgoing_
the PDG codes for the outgoing particles
Definition:
ScalarScalarScalarDecayer.h:167
Herwig::ScalarScalarScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::ScalarScalarScalarDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
ScalarScalarScalarDecayer.h:177
Herwig::ScalarScalarScalarDecayer::operator=
ScalarScalarScalarDecayer & operator=(const ScalarScalarScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::ScalarScalarScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::ScalarScalarScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
ScalarScalarScalarDecayer.h:123
Herwig::ScalarScalarScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::ScalarScalarScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
ScalarScalarScalarDecayer.h:117
Herwig::ScalarScalarScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::ScalarScalarScalarDecayer::incoming_
vector< int > incoming_
the PDG code for the incoming particle
Definition:
ScalarScalarScalarDecayer.h:162
Herwig::ScalarScalarScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::ScalarScalarScalarDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::ScalarScalarScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::DecayMode
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPDVector
vector< tPDPtr > tPDVector
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6