herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
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/DecayPhaseSpaceMode.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
72
double
me2(
const
int
ichan,
const
Particle
& part,
73
const
ParticleVector
& decay,
MEOption
meopt)
const
;
74
83
bool
twoBodyMEcode(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
84
90
virtual
void
dataBaseOutput(ofstream & os,
bool
header)
const
;
91
92
public
:
93
100
void
persistentOutput(
PersistentOStream
& os)
const
;
101
107
void
persistentInput(
PersistentIStream
& is,
int
version);
109
113
static
void
Init();
114
115
protected
:
116
123
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
124
129
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
131
132
protected
:
133
141
virtual
void
doinit();
142
146
virtual
void
doinitrun();
148
149
private
:
150
154
VectorMeson2FermionDecayer
& operator=(
const
VectorMeson2FermionDecayer
&) =
delete
;
155
156
private
:
157
161
vector<double>
_coupling
;
162
166
vector<int>
_incoming
;
167
171
vector<int>
_outgoingf
;
172
176
vector<int>
_outgoinga
;
177
181
vector<double>
_maxweight
;
182
186
unsigned
int
_initsize
;
187
191
mutable
RhoDMatrix
_rho
;
192
196
mutable
vector<Helicity::LorentzPolarizationVector>
_vectors
;
197
201
mutable
vector<Helicity::LorentzSpinor <SqrtEnergy> >
_wave
;
202
206
mutable
vector<Helicity::LorentzSpinorBar<SqrtEnergy> >
_wavebar
;
207
};
208
209
}
210
211
212
#endif
/* HERWIG_VectorMeson2FermionDecayer_H */
ThePEG::PersistentIStream
ThePEG::Particle
Herwig::VectorMeson2FermionDecayer::_outgoingf
vector< int > _outgoingf
the PDG codes for the outgoing fermion
Definition:
VectorMeson2FermionDecayer.h:171
Herwig::VectorMeson2FermionDecayer::_outgoinga
vector< int > _outgoinga
the PDG codes for the outgoing antifermion.
Definition:
VectorMeson2FermionDecayer.h:176
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::VectorMeson2FermionDecayer::_wavebar
vector< Helicity::LorentzSpinorBar< SqrtEnergy > > _wavebar
barred spinors for the decay products
Definition:
VectorMeson2FermionDecayer.h:206
ThePEG
Herwig::VectorMeson2FermionDecayer::_incoming
vector< int > _incoming
the PDG codes for the incoming particles
Definition:
VectorMeson2FermionDecayer.h:166
Herwig::VectorMeson2FermionDecayer
The VectorMeson2FermionDecayer class is designed for the decay of a vector meson to a fermion-antifer...
Definition:
VectorMeson2FermionDecayer.h:46
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::VectorMeson2FermionDecayer::_vectors
vector< Helicity::LorentzPolarizationVector > _vectors
Polarization vectors for the decaying particle.
Definition:
VectorMeson2FermionDecayer.h:196
Herwig::VectorMeson2FermionDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
VectorMeson2FermionDecayer.h:191
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::VectorMeson2FermionDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMeson2FermionDecayer.h:123
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:62
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Herwig::VectorMeson2FermionDecayer::_maxweight
vector< double > _maxweight
maximum weight for a decay
Definition:
VectorMeson2FermionDecayer.h:181
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:129
Herwig::VectorMeson2FermionDecayer::_coupling
vector< double > _coupling
coupling for a decay
Definition:
VectorMeson2FermionDecayer.h:161
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::VectorMeson2FermionDecayer::_wave
vector< Helicity::LorentzSpinor< SqrtEnergy > > _wave
Spinors for the decay products.
Definition:
VectorMeson2FermionDecayer.h:201
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::VectorMeson2FermionDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
VectorMeson2FermionDecayer.h:186
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13