herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
TensorMeson
TensorMesonVectorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// TensorMesonVectorVectorDecayer.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_TensorMesonVectorVectorDecayer_H
10
#define HERWIG_TensorMesonVectorVectorDecayer_H
11
//
12
// This is the declaration of the TensorMesonVectorVectorDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
16
#include "ThePEG/Helicity/LorentzTensor.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
58
class
TensorMesonVectorVectorDecayer
:
public
DecayIntegrator
{
59
60
public
:
61
65
TensorMesonVectorVectorDecayer
();
66
73
virtual
int
modeNumber(
bool
& cc,
tcPDPtr
parent,
74
const
tPDVector
& children)
const
;
75
84
double
me2(
const
int
ichan,
const
Particle
& part,
85
const
ParticleVector
& decay,
MEOption
meopt)
const
;
86
95
bool
twoBodyMEcode(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
96
102
virtual
void
dataBaseOutput(ofstream & os,
bool
header)
const
;
103
104
public
:
105
112
void
persistentOutput(
PersistentOStream
& os)
const
;
113
119
void
persistentInput(
PersistentIStream
& is,
int
version);
121
125
static
void
Init();
126
127
protected
:
128
135
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
136
141
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
143
144
protected
:
145
153
virtual
void
doinit();
154
158
virtual
void
doinitrun();
160
161
private
:
162
166
TensorMesonVectorVectorDecayer
& operator=(
const
TensorMesonVectorVectorDecayer
&) =
delete
;
167
168
private
:
169
173
vector<int>
_incoming
;
174
178
vector<int>
_outgoing1
;
179
183
vector<int>
_outgoing2
;
184
188
vector<InvEnergy>
_coupling
;
189
193
vector<double>
_maxweight
;
194
198
unsigned
int
_initsize
;
199
204
mutable
vector<Helicity::LorentzTensor<double> >
_tensors
;
205
209
mutable
vector<Helicity::LorentzPolarizationVector > _vectors[2];
210
214
mutable
RhoDMatrix
_rho
;
215
216
};
217
218
}
219
220
#endif
/* HERWIG_TensorMesonVectorVectorDecayer_H */
Herwig::TensorMesonVectorVectorDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
TensorMesonVectorVectorDecayer.h:198
ThePEG::PersistentIStream
Herwig::TensorMesonVectorVectorDecayer
The TensorMesonVectorVectorDecayer class is designed to simulate the decay of a tensor meson to two s...
Definition:
TensorMesonVectorVectorDecayer.h:58
ThePEG::Particle
Herwig::TensorMesonVectorVectorDecayer::_outgoing1
vector< int > _outgoing1
the PDG codes for the first outgoing particle
Definition:
TensorMesonVectorVectorDecayer.h:178
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::TensorMesonVectorVectorDecayer::_incoming
vector< int > _incoming
the PDG codes for the incoming particles
Definition:
TensorMesonVectorVectorDecayer.h:173
ThePEG
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::TensorMesonVectorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
TensorMesonVectorVectorDecayer.h:135
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::TensorMesonVectorVectorDecayer::_rho
RhoDMatrix _rho
Storage of the matrix.
Definition:
TensorMesonVectorVectorDecayer.h:214
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:62
Herwig::TensorMesonVectorVectorDecayer::_tensors
vector< Helicity::LorentzTensor< double > > _tensors
Storage of polarization tensors to try and increase speed.
Definition:
TensorMesonVectorVectorDecayer.h:204
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Herwig::TensorMesonVectorVectorDecayer::_maxweight
vector< double > _maxweight
the maximum weight for the decay
Definition:
TensorMesonVectorVectorDecayer.h:193
Herwig::TensorMesonVectorVectorDecayer::_coupling
vector< InvEnergy > _coupling
the coupling for the decay
Definition:
TensorMesonVectorVectorDecayer.h:188
Herwig::TensorMesonVectorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
TensorMesonVectorVectorDecayer.h:141
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::TensorMesonVectorVectorDecayer::_outgoing2
vector< int > _outgoing2
the PDG codes for the second outgoing particle
Definition:
TensorMesonVectorVectorDecayer.h:183
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13