herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
PScalarPScalarVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// PScalarPScalarVectorDecayer.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_PScalarPScalarVectorDecayer_H
10
#define HERWIG_PScalarPScalarVectorDecayer_H
11
//
12
// This is the declaration of the PScalarPScalarVectorDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/PhaseSpaceMode.h"
16
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
40
class
PScalarPScalarVectorDecayer
:
public
DecayIntegrator
{
41
42
public
:
43
50
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
51
const
tPDVector
& children)
const
;
52
62
double
me2
(
const
int
ichan,
const
Particle
& part,
63
const
tPDVector
&
outgoing
,
64
const
vector<Lorentz5Momentum> & momenta,
65
MEOption
meopt)
const
;
66
70
virtual
void
constructSpinInfo
(
const
Particle
& part,
71
ParticleVector
outgoing
)
const
;
72
81
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
82
83
public
:
84
91
void
persistentOutput
(
PersistentOStream
& os)
const
;
92
98
void
persistentInput
(
PersistentIStream
& is,
int
version);
100
104
static
void
Init
();
105
111
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
112
113
protected
:
114
121
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
122
127
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
129
130
protected
:
131
134
140
virtual
void
doinit
();
141
145
virtual
void
doinitrun
();
147
148
public
:
149
153
string
setUpDecayMode
(
string
arg);
154
155
private
:
156
160
PScalarPScalarVectorDecayer
&
operator=
(
const
PScalarPScalarVectorDecayer
&) =
delete
;
161
162
private
:
163
167
vector<int>
incoming_
;
168
172
vector<pair<int,int> >
outgoing_
;
173
177
vector<double>
coupling_
;
178
182
vector<double>
maxWeight_
;
183
187
mutable
RhoDMatrix
rho_
;
188
192
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
;
193
};
194
195
}
196
197
198
#endif
/* HERWIG_PScalarPScalarVectorDecayer_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::PScalarPScalarVectorDecayer
The PScalarPScalarVectorDecayer class is designed to perform the decay of a pseudoscalar meson to ano...
Definition:
PScalarPScalarVectorDecayer.h:40
Herwig::PScalarPScalarVectorDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::PScalarPScalarVectorDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::PScalarPScalarVectorDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::PScalarPScalarVectorDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::PScalarPScalarVectorDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_
Polarization vectors for the decay products.
Definition:
PScalarPScalarVectorDecayer.h:192
Herwig::PScalarPScalarVectorDecayer::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::PScalarPScalarVectorDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::PScalarPScalarVectorDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::PScalarPScalarVectorDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::PScalarPScalarVectorDecayer::outgoing_
vector< pair< int, int > > outgoing_
the PDG code for the outgoing particles pseudoscalar, then vector
Definition:
PScalarPScalarVectorDecayer.h:172
Herwig::PScalarPScalarVectorDecayer::coupling_
vector< double > coupling_
the coupling for the decay
Definition:
PScalarPScalarVectorDecayer.h:177
Herwig::PScalarPScalarVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
PScalarPScalarVectorDecayer.h:121
Herwig::PScalarPScalarVectorDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::PScalarPScalarVectorDecayer::incoming_
vector< int > incoming_
the PDG code for the incoming particle
Definition:
PScalarPScalarVectorDecayer.h:167
Herwig::PScalarPScalarVectorDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::PScalarPScalarVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
PScalarPScalarVectorDecayer.h:127
Herwig::PScalarPScalarVectorDecayer::operator=
PScalarPScalarVectorDecayer & operator=(const PScalarPScalarVectorDecayer &)=delete
Private and non-existent assignment operator.
Herwig::PScalarPScalarVectorDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
PScalarPScalarVectorDecayer.h:187
Herwig::PScalarPScalarVectorDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
PScalarPScalarVectorDecayer.h:182
Herwig::PScalarPScalarVectorDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
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