herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
ScalarMesonTensorScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// ScalarMesonTensorScalarDecayer.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_ScalarMesonTensorScalarDecayer_H
10
#define HERWIG_ScalarMesonTensorScalarDecayer_H
11
//
12
// This is the declaration of the ScalarMesonTensorScalarDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/PhaseSpaceMode.h"
16
#include "ThePEG/Helicity/LorentzTensor.h"
17
18
namespace
Herwig
{
19
using namespace
Herwig
;
20
37
class
ScalarMesonTensorScalarDecayer
:
public
DecayIntegrator
{
38
39
public
:
40
47
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
48
const
tPDVector
& children)
const
;
49
59
double
me2
(
const
int
ichan,
const
Particle
& part,
60
const
tPDVector
&
outgoing
,
61
const
vector<Lorentz5Momentum> & momenta,
62
MEOption
meopt)
const
;
63
67
virtual
void
constructSpinInfo
(
const
Particle
& part,
68
ParticleVector
outgoing
)
const
;
69
78
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
79
85
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
86
87
public
:
88
95
void
persistentOutput
(
PersistentOStream
& os)
const
;
96
102
void
persistentInput
(
PersistentIStream
& is,
int
version);
104
108
static
void
Init
();
109
110
protected
:
111
118
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
119
124
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
126
127
protected
:
128
136
virtual
void
doinit
();
137
141
virtual
void
doinitrun
();
143
144
public
:
145
149
string
setUpDecayMode
(
string
arg);
150
151
private
:
152
156
ScalarMesonTensorScalarDecayer
&
operator=
(
const
ScalarMesonTensorScalarDecayer
&) =
delete
;
157
158
private
:
159
163
vector<int>
incoming_
;
164
168
vector<pair<int,int> >
outgoing_
;
169
173
vector<InvEnergy>
coupling_
;
174
178
vector<double>
maxWeight_
;
179
183
mutable
RhoDMatrix
rho_
;
184
188
mutable
vector<Helicity::LorentzTensor<double> >
tensors_
;
189
};
190
191
}
192
193
194
#endif
/* HERWIG_ScalarMesonTensorScalarDecayer_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::ScalarMesonTensorScalarDecayer
The ScalarMesonTensorScalarDecayer class is designed for the decay of a (pseudo)scalar meson to a ten...
Definition:
ScalarMesonTensorScalarDecayer.h:37
Herwig::ScalarMesonTensorScalarDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
ScalarMesonTensorScalarDecayer.h:178
Herwig::ScalarMesonTensorScalarDecayer::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::ScalarMesonTensorScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::ScalarMesonTensorScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::ScalarMesonTensorScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::ScalarMesonTensorScalarDecayer::incoming_
vector< int > incoming_
the PDG code for the incoming particle
Definition:
ScalarMesonTensorScalarDecayer.h:163
Herwig::ScalarMesonTensorScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::ScalarMesonTensorScalarDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::ScalarMesonTensorScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::ScalarMesonTensorScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::ScalarMesonTensorScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
ScalarMesonTensorScalarDecayer.h:118
Herwig::ScalarMesonTensorScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
ScalarMesonTensorScalarDecayer.h:124
Herwig::ScalarMesonTensorScalarDecayer::tensors_
vector< Helicity::LorentzTensor< double > > tensors_
Polarization tensors for the decay product.
Definition:
ScalarMesonTensorScalarDecayer.h:188
Herwig::ScalarMesonTensorScalarDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
ScalarMesonTensorScalarDecayer.h:183
Herwig::ScalarMesonTensorScalarDecayer::operator=
ScalarMesonTensorScalarDecayer & operator=(const ScalarMesonTensorScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::ScalarMesonTensorScalarDecayer::coupling_
vector< InvEnergy > coupling_
the coupling for the decay
Definition:
ScalarMesonTensorScalarDecayer.h:173
Herwig::ScalarMesonTensorScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::ScalarMesonTensorScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::ScalarMesonTensorScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::ScalarMesonTensorScalarDecayer::outgoing_
vector< pair< int, int > > outgoing_
the PDG code for the outgoing mesons (tensor then scalar)
Definition:
ScalarMesonTensorScalarDecayer.h:168
ThePEG::DecayMode
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
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