herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
PseudoScalar2FermionsDecayer.h
1
// -*- C++ -*-
2
#ifndef Herwig_PseudoScalar2FermionsDecayer_H
3
#define Herwig_PseudoScalar2FermionsDecayer_H
4
//
5
// This is the declaration of the PseudoScalar2FermionsDecayer class.
6
//
7
8
#include "Herwig/Decay/DecayIntegrator.h"
9
#include "Herwig/Decay/PhaseSpaceMode.h"
10
#include "ThePEG/Helicity/LorentzSpinorBar.h"
11
12
namespace
Herwig
{
13
14
using namespace
ThePEG
;
15
24
class
PseudoScalar2FermionsDecayer
:
public
DecayIntegrator
{
25
26
public
:
27
31
PseudoScalar2FermionsDecayer
();
32
39
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
40
const
tPDVector
& children)
const
;
41
51
double
me2
(
const
int
ichan,
const
Particle
& part,
52
const
tPDVector
&
outgoing
,
53
const
vector<Lorentz5Momentum> & momenta,
54
MEOption
meopt)
const
;
55
59
virtual
void
constructSpinInfo
(
const
Particle
& part,
60
ParticleVector
outgoing
)
const
;
61
70
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
71
77
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
78
79
public
:
80
87
void
persistentOutput
(
PersistentOStream
& os)
const
;
88
94
void
persistentInput
(
PersistentIStream
& is,
int
version);
96
103
static
void
Init
();
104
105
protected
:
106
113
virtual
IBPtr
clone
()
const
;
114
119
virtual
IBPtr
fullclone
()
const
;
121
122
protected
:
123
131
virtual
void
doinit
();
132
136
virtual
void
doinitrun
();
138
139
private
:
140
145
PseudoScalar2FermionsDecayer
&
operator=
(
const
PseudoScalar2FermionsDecayer
&) =
delete
;
146
147
public
:
148
152
string
setUpDecayMode
(
string
arg);
153
154
private
:
155
159
vector<double>
coupling_
;
160
164
vector<long>
incoming_
;
165
169
vector<pair<long,long>>
outgoing_
;
170
174
vector<double>
maxweight_
;
175
179
mutable
RhoDMatrix
rho_
;
180
184
mutable
vector<Helicity::LorentzSpinor <SqrtEnergy> >
wave_
;
185
189
mutable
vector<Helicity::LorentzSpinorBar<SqrtEnergy> >
wavebar_
;
190
191
};
192
193
}
194
195
#endif
/* Herwig_PseudoScalar2FermionsDecayer_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::PseudoScalar2FermionsDecayer
The PseudoScalar2FermionsDecayer class is designed for the decay of a pseudoscalar meson to two fermi...
Definition:
PseudoScalar2FermionsDecayer.h:24
Herwig::PseudoScalar2FermionsDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::PseudoScalar2FermionsDecayer::operator=
PseudoScalar2FermionsDecayer & operator=(const PseudoScalar2FermionsDecayer &)=delete
The assignment operator is private and must never be called.
Herwig::PseudoScalar2FermionsDecayer::PseudoScalar2FermionsDecayer
PseudoScalar2FermionsDecayer()
The default constructor.
Herwig::PseudoScalar2FermionsDecayer::wavebar_
vector< Helicity::LorentzSpinorBar< SqrtEnergy > > wavebar_
barred spinors for the decay products
Definition:
PseudoScalar2FermionsDecayer.h:189
Herwig::PseudoScalar2FermionsDecayer::incoming_
vector< long > incoming_
the PDG codes for the incoming particles
Definition:
PseudoScalar2FermionsDecayer.h:164
Herwig::PseudoScalar2FermionsDecayer::coupling_
vector< double > coupling_
coupling for a decay
Definition:
PseudoScalar2FermionsDecayer.h:159
Herwig::PseudoScalar2FermionsDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::PseudoScalar2FermionsDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::PseudoScalar2FermionsDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::PseudoScalar2FermionsDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG codes for the outgoing fermion-antifermion
Definition:
PseudoScalar2FermionsDecayer.h:169
Herwig::PseudoScalar2FermionsDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::PseudoScalar2FermionsDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::PseudoScalar2FermionsDecayer::maxweight_
vector< double > maxweight_
maximum weight for a decay
Definition:
PseudoScalar2FermionsDecayer.h:174
Herwig::PseudoScalar2FermionsDecayer::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::PseudoScalar2FermionsDecayer::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::PseudoScalar2FermionsDecayer::wave_
vector< Helicity::LorentzSpinor< SqrtEnergy > > wave_
Spinors for the decay products.
Definition:
PseudoScalar2FermionsDecayer.h:184
Herwig::PseudoScalar2FermionsDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::PseudoScalar2FermionsDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::PseudoScalar2FermionsDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::PseudoScalar2FermionsDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::PseudoScalar2FermionsDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::PseudoScalar2FermionsDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
PseudoScalar2FermionsDecayer.h:179
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