herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
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/PhaseSpaceMode.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
19
46
class
TensorMeson2PScalarDecayer
:
public
DecayIntegrator
{
47
48
public
:
49
56
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
57
const
tPDVector
& children)
const
;
58
68
double
me2
(
const
int
ichan,
const
Particle
& part,
69
const
tPDVector
&
outgoing
,
70
const
vector<Lorentz5Momentum> & momenta,
71
MEOption
meopt)
const
;
72
76
virtual
void
constructSpinInfo
(
const
Particle
& part,
77
ParticleVector
outgoing
)
const
;
78
87
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
88
94
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
95
96
public
:
97
104
void
persistentOutput
(
PersistentOStream
& os)
const
;
105
111
void
persistentInput
(
PersistentIStream
& is,
int
version);
113
117
static
void
Init
();
118
119
protected
:
120
127
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
128
133
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
135
136
protected
:
137
145
virtual
void
doinit
();
146
150
virtual
void
doinitrun
();
152
153
private
:
154
158
TensorMeson2PScalarDecayer
&
operator=
(
const
TensorMeson2PScalarDecayer
&) =
delete
;
159
160
public
:
161
165
string
setUpDecayMode
(
string
arg);
166
167
private
:
168
172
vector<int>
incoming_
;
173
177
vector<pair<int,int> >
outgoing_
;
178
182
vector<InvEnergy>
coupling_
;
183
187
vector<double>
maxWeight_
;
188
193
mutable
vector<Helicity::LorentzTensor<double> >
tensors_
;
194
198
mutable
RhoDMatrix
rho_
;
199
200
};
201
202
}
203
204
205
#endif
/* HERWIG_TensorMeson2PScalarDecayer_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::TensorMeson2PScalarDecayer
The TensorMeson2PScalarDecayer class is designed for the decay of a tensor meson to two pseudoscalars...
Definition:
TensorMeson2PScalarDecayer.h:46
Herwig::TensorMeson2PScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::TensorMeson2PScalarDecayer::outgoing_
vector< pair< int, int > > outgoing_
the PDG codes for the outgoing particles
Definition:
TensorMeson2PScalarDecayer.h:177
Herwig::TensorMeson2PScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::TensorMeson2PScalarDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
TensorMeson2PScalarDecayer.h:187
Herwig::TensorMeson2PScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::TensorMeson2PScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::TensorMeson2PScalarDecayer::incoming_
vector< int > incoming_
the PDG codes for the incoming particles
Definition:
TensorMeson2PScalarDecayer.h:172
Herwig::TensorMeson2PScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::TensorMeson2PScalarDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
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:133
Herwig::TensorMeson2PScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::TensorMeson2PScalarDecayer::operator=
TensorMeson2PScalarDecayer & operator=(const TensorMeson2PScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::TensorMeson2PScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
TensorMeson2PScalarDecayer.h:127
Herwig::TensorMeson2PScalarDecayer::rho_
RhoDMatrix rho_
Storage of the matrix.
Definition:
TensorMeson2PScalarDecayer.h:198
Herwig::TensorMeson2PScalarDecayer::coupling_
vector< InvEnergy > coupling_
the coupling for the decay
Definition:
TensorMeson2PScalarDecayer.h:182
Herwig::TensorMeson2PScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::TensorMeson2PScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::TensorMeson2PScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::TensorMeson2PScalarDecayer::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::TensorMeson2PScalarDecayer::tensors_
vector< Helicity::LorentzTensor< double > > tensors_
Storage of polarization tensors to try and increase speed.
Definition:
TensorMeson2PScalarDecayer.h:193
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