herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
PScalarVectorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// PScalarVectorVectorDecayer.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_PScalarVectorVectorDecayer_H
10
#define HERWIG_PScalarVectorVectorDecayer_H
11
// This is the declaration of the PScalarVectorVectorDecayer class.
12
#include "Herwig/Decay/PhaseSpaceMode.h"
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
15
16
namespace
Herwig
{
17
using namespace
ThePEG
;
18
50
class
PScalarVectorVectorDecayer
:
public
DecayIntegrator
{
51
52
public
:
53
60
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
61
const
tPDVector
& children)
const
;
62
72
double
me2
(
const
int
ichan,
const
Particle
& part,
73
const
tPDVector
&
outgoing
,
74
const
vector<Lorentz5Momentum> & momenta,
75
MEOption
meopt)
const
;
76
80
virtual
void
constructSpinInfo
(
const
Particle
& part,
81
ParticleVector
outgoing
)
const
;
82
91
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
92
98
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
99
100
public
:
101
108
void
persistentOutput
(
PersistentOStream
& os)
const
;
109
115
void
persistentInput
(
PersistentIStream
& is,
int
version);
117
121
static
void
Init
();
122
123
protected
:
124
131
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
132
137
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
139
140
protected
:
141
149
virtual
void
doinit
();
150
154
virtual
void
doinitrun
();
156
157
private
:
158
162
PScalarVectorVectorDecayer
&
operator=
(
const
PScalarVectorVectorDecayer
&) =
delete
;
163
164
public
:
165
169
string
setUpDecayMode
(
string
arg);
170
171
private
:
172
176
vector<long>
incoming_
;
177
181
vector<pair<long,long> >
outgoing_
;
182
186
vector<InvEnergy>
coupling_
;
187
191
vector<double>
maxweight_
;
192
196
mutable
RhoDMatrix
rho_
;
197
201
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
[2];
202
};
203
204
}
205
206
207
#endif
/* HERWIG_PScalarVectorVectorDecayer_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::PScalarVectorVectorDecayer
The PScalarVectorVectorDecayer class is designed to perform the decay of a pseudoscalar meson to two ...
Definition:
PScalarVectorVectorDecayer.h:50
Herwig::PScalarVectorVectorDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::PScalarVectorVectorDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG code for the outgoing particles
Definition:
PScalarVectorVectorDecayer.h:181
Herwig::PScalarVectorVectorDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
PScalarVectorVectorDecayer.h:196
Herwig::PScalarVectorVectorDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::PScalarVectorVectorDecayer::maxweight_
vector< double > maxweight_
the maximum weight for the decay
Definition:
PScalarVectorVectorDecayer.h:191
Herwig::PScalarVectorVectorDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::PScalarVectorVectorDecayer::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::PScalarVectorVectorDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::PScalarVectorVectorDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::PScalarVectorVectorDecayer::coupling_
vector< InvEnergy > coupling_
the coupling for the decay, .
Definition:
PScalarVectorVectorDecayer.h:186
Herwig::PScalarVectorVectorDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::PScalarVectorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
PScalarVectorVectorDecayer.h:137
Herwig::PScalarVectorVectorDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::PScalarVectorVectorDecayer::operator=
PScalarVectorVectorDecayer & operator=(const PScalarVectorVectorDecayer &)=delete
Private and non-existent assignment operator.
Herwig::PScalarVectorVectorDecayer::incoming_
vector< long > incoming_
the PDG code for the incoming particle
Definition:
PScalarVectorVectorDecayer.h:176
Herwig::PScalarVectorVectorDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[2]
Polarization vectors for the decay products.
Definition:
PScalarVectorVectorDecayer.h:201
Herwig::PScalarVectorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
PScalarVectorVectorDecayer.h:131
Herwig::PScalarVectorVectorDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::PScalarVectorVectorDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::PScalarVectorVectorDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
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