herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
VectorMeson
VectorMeson2FermionDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMeson2FermionDecayer.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_VectorMeson2FermionDecayer_H
10
#define HERWIG_VectorMeson2FermionDecayer_H
11
// This is the declaration of the VectorMeson2FermionDecayer class.
12
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "Herwig/Decay/PhaseSpaceMode.h"
15
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
16
#include "ThePEG/Helicity/LorentzSpinorBar.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
46
class
VectorMeson2FermionDecayer
:
public
DecayIntegrator
{
47
48
public
:
49
53
VectorMeson2FermionDecayer
();
54
61
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
62
const
tPDVector
& children)
const
;
63
73
double
me2
(
const
int
ichan,
const
Particle
& part,
74
const
tPDVector
&
outgoing
,
75
const
vector<Lorentz5Momentum> & momenta,
76
MEOption
meopt)
const
;
77
81
virtual
void
constructSpinInfo
(
const
Particle
& part,
82
ParticleVector
outgoing
)
const
;
83
92
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
93
99
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
100
101
public
:
102
109
void
persistentOutput
(
PersistentOStream
& os)
const
;
110
116
void
persistentInput
(
PersistentIStream
& is,
int
version);
118
122
static
void
Init
();
123
124
protected
:
125
132
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
133
138
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
140
141
protected
:
142
150
virtual
void
doinit
();
151
155
virtual
void
doinitrun
();
157
158
private
:
159
163
VectorMeson2FermionDecayer
&
operator=
(
const
VectorMeson2FermionDecayer
&) =
delete
;
164
165
public
:
166
170
string
setUpDecayMode
(
string
arg);
171
172
private
:
173
177
vector<double>
coupling_
;
178
182
vector<long>
incoming_
;
183
187
vector<pair<long,long>>
outgoing_
;
188
192
vector<double>
maxweight_
;
193
197
mutable
RhoDMatrix
rho_
;
198
202
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
;
203
207
mutable
vector<Helicity::LorentzSpinor <SqrtEnergy> >
wave_
;
208
212
mutable
vector<Helicity::LorentzSpinorBar<SqrtEnergy> >
wavebar_
;
213
};
214
215
}
216
217
218
#endif
/* HERWIG_VectorMeson2FermionDecayer_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::VectorMeson2FermionDecayer
The VectorMeson2FermionDecayer class is designed for the decay of a vector meson to a fermion-antifer...
Definition:
VectorMeson2FermionDecayer.h:46
Herwig::VectorMeson2FermionDecayer::wave_
vector< Helicity::LorentzSpinor< SqrtEnergy > > wave_
Spinors for the decay products.
Definition:
VectorMeson2FermionDecayer.h:207
Herwig::VectorMeson2FermionDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorMeson2FermionDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VectorMeson2FermionDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::VectorMeson2FermionDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
VectorMeson2FermionDecayer.h:197
Herwig::VectorMeson2FermionDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::VectorMeson2FermionDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VectorMeson2FermionDecayer::maxweight_
vector< double > maxweight_
maximum weight for a decay
Definition:
VectorMeson2FermionDecayer.h:192
Herwig::VectorMeson2FermionDecayer::VectorMeson2FermionDecayer
VectorMeson2FermionDecayer()
Default constructor.
Herwig::VectorMeson2FermionDecayer::incoming_
vector< long > incoming_
the PDG codes for the incoming particles
Definition:
VectorMeson2FermionDecayer.h:182
Herwig::VectorMeson2FermionDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::VectorMeson2FermionDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMeson2FermionDecayer.h:132
Herwig::VectorMeson2FermionDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG codes for the outgoing fermion-antifermion
Definition:
VectorMeson2FermionDecayer.h:187
Herwig::VectorMeson2FermionDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::VectorMeson2FermionDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMeson2FermionDecayer::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::VectorMeson2FermionDecayer::operator=
VectorMeson2FermionDecayer & operator=(const VectorMeson2FermionDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMeson2FermionDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::VectorMeson2FermionDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::VectorMeson2FermionDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_
Polarization vectors for the decaying particle.
Definition:
VectorMeson2FermionDecayer.h:202
Herwig::VectorMeson2FermionDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMeson2FermionDecayer.h:138
Herwig::VectorMeson2FermionDecayer::coupling_
vector< double > coupling_
coupling for a decay
Definition:
VectorMeson2FermionDecayer.h:177
Herwig::VectorMeson2FermionDecayer::wavebar_
vector< Helicity::LorentzSpinorBar< SqrtEnergy > > wavebar_
barred spinors for the decay products
Definition:
VectorMeson2FermionDecayer.h:212
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