herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
TensorMeson
TensorMeson2PScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// TensorMeson2PScalarDecayer.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_TensorMeson2PScalarDecayer_H
10
#define HERWIG_TensorMeson2PScalarDecayer_H
11
//
12
// This is the declaration of the TensorMeson2PScalarDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
19
46
class
TensorMeson2PScalarDecayer
:
public
DecayIntegrator
{
47
48
public
:
49
53
TensorMeson2PScalarDecayer
();
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
TensorMeson2PScalarDecayer
& operator=(
const
TensorMeson2PScalarDecayer
&) =
delete
;
155
156
private
:
157
161
vector<int>
_incoming
;
162
166
vector<int>
_outgoing1
;
167
171
vector<int>
_outgoing2
;
172
176
vector<InvEnergy>
_coupling
;
177
181
vector<double>
_maxweight
;
182
186
unsigned
int
_initsize
;
187
192
mutable
vector<Helicity::LorentzTensor<double> >
_tensors
;
193
197
mutable
RhoDMatrix
_rho
;
198
199
};
200
201
}
202
203
204
#endif
/* HERWIG_TensorMeson2PScalarDecayer_H */
ThePEG::PersistentIStream
Herwig::TensorMeson2PScalarDecayer::_tensors
vector< Helicity::LorentzTensor< double > > _tensors
Storage of polarization tensors to try and increase speed.
Definition:
TensorMeson2PScalarDecayer.h:192
ThePEG::Particle
Herwig::TensorMeson2PScalarDecayer
The TensorMeson2PScalarDecayer class is designed for the decay of a tensor meson to two pseudoscalars...
Definition:
TensorMeson2PScalarDecayer.h:46
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::TensorMeson2PScalarDecayer::_outgoing2
vector< int > _outgoing2
the PDG codes for second outgoing particle
Definition:
TensorMeson2PScalarDecayer.h:171
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::TensorMeson2PScalarDecayer::_coupling
vector< InvEnergy > _coupling
the coupling for the decay
Definition:
TensorMeson2PScalarDecayer.h:176
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::TensorMeson2PScalarDecayer::_incoming
vector< int > _incoming
the PDG codes for the incoming particles
Definition:
TensorMeson2PScalarDecayer.h:161
Herwig::TensorMeson2PScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
TensorMeson2PScalarDecayer.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::TensorMeson2PScalarDecayer::_maxweight
vector< double > _maxweight
the maximum weight for the decay
Definition:
TensorMeson2PScalarDecayer.h:181
Herwig::TensorMeson2PScalarDecayer::_outgoing1
vector< int > _outgoing1
the PDG codes for first outgoing particle
Definition:
TensorMeson2PScalarDecayer.h:166
Herwig::TensorMeson2PScalarDecayer::_rho
RhoDMatrix _rho
Storage of the matrix.
Definition:
TensorMeson2PScalarDecayer.h:197
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::TensorMeson2PScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
TensorMeson2PScalarDecayer.h:129
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::TensorMeson2PScalarDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
TensorMeson2PScalarDecayer.h:186
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13