herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
VectorMeson
VectorMesonVectorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMesonVectorVectorDecayer.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_VectorMesonVectorVectorDecayer_H
10
#define HERWIG_VectorMesonVectorVectorDecayer_H
11
//
12
// This is the declaration of the VectorMesonVectorVectorDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
16
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
51
class
VectorMesonVectorVectorDecayer
:
public
DecayIntegrator
{
52
53
public
:
54
58
VectorMesonVectorVectorDecayer
();
59
66
virtual
int
modeNumber(
bool
& cc,
tcPDPtr
parent,
67
const
tPDVector
& children)
const
;
68
77
bool
twoBodyMEcode(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
78
87
double
me2(
const
int
ichan,
const
Particle
& part,
88
const
ParticleVector
& decay,
MEOption
meopt)
const
;
89
95
virtual
void
dataBaseOutput(ofstream & os,
bool
header)
const
;
96
97
public
:
98
105
void
persistentOutput(
PersistentOStream
& os)
const
;
106
112
void
persistentInput(
PersistentIStream
& is,
int
version);
114
118
static
void
Init();
119
120
protected
:
121
128
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
129
134
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
136
137
protected
:
138
146
virtual
void
doinit();
147
151
virtual
void
doinitrun();
153
154
private
:
155
159
VectorMesonVectorVectorDecayer
& operator=(
const
VectorMesonVectorVectorDecayer
&) =
delete
;
160
161
private
:
162
166
vector<double>
_coupling
;
167
171
vector<int>
_incoming
;
172
176
vector<int>
_outgoing1
;
177
181
vector<int>
_outgoing2
;
182
186
vector<double>
_maxweight
;
187
191
unsigned
int
_initsize
;
192
196
mutable
RhoDMatrix
_rho
;
197
201
mutable
vector<Helicity::LorentzPolarizationVector> _vectors[3];
202
203
204
};
205
206
}
207
208
209
#endif
/* HERWIG_VectorMesonVectorVectorDecayer_H */
Herwig::VectorMesonVectorVectorDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
VectorMesonVectorVectorDecayer.h:191
ThePEG::PersistentIStream
ThePEG::Particle
Herwig::VectorMesonVectorVectorDecayer::_maxweight
vector< double > _maxweight
maximum weight for a decay
Definition:
VectorMesonVectorVectorDecayer.h:186
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::VectorMesonVectorVectorDecayer::_outgoing2
vector< int > _outgoing2
the PDG codes for the 2nd outgoing particle
Definition:
VectorMesonVectorVectorDecayer.h:181
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::VectorMesonVectorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMesonVectorVectorDecayer.h:134
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::VectorMesonVectorVectorDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
VectorMesonVectorVectorDecayer.h:196
Herwig::VectorMesonVectorVectorDecayer::_outgoing1
vector< int > _outgoing1
the PDG codes for the 1st outgoing particle
Definition:
VectorMesonVectorVectorDecayer.h:176
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::VectorMesonVectorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonVectorVectorDecayer.h:128
Herwig::VectorMesonVectorVectorDecayer::_incoming
vector< int > _incoming
the PDG codes for the incoming particles
Definition:
VectorMesonVectorVectorDecayer.h:171
Herwig::VectorMesonVectorVectorDecayer::_coupling
vector< double > _coupling
the coupling for the decay
Definition:
VectorMesonVectorVectorDecayer.h:166
Herwig::VectorMesonVectorVectorDecayer
This class is designed for the decay of a vector meson to two spin one particles, either other vector...
Definition:
VectorMesonVectorVectorDecayer.h:51
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13