herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
ScalarVectorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// ScalarVectorVectorDecayer.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_ScalarVectorVectorDecayer_H
10
#define HERWIG_ScalarVectorVectorDecayer_H
11
//
12
// This is the declaration of the ScalarVectorVectorDecayer class.
13
//
14
15
#include "Herwig/Decay/DecayIntegrator.h"
16
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
17
18
namespace
Herwig
{
19
20
using namespace
ThePEG
;
21
36
class
ScalarVectorVectorDecayer
:
public
DecayIntegrator
{
37
38
public
:
39
46
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
47
const
tPDVector
& children)
const
;
48
58
double
me2
(
const
int
ichan,
const
Particle
& part,
59
const
tPDVector
&
outgoing
,
60
const
vector<Lorentz5Momentum> & momenta,
61
MEOption
meopt)
const
;
62
66
virtual
void
constructSpinInfo
(
const
Particle
& part,
67
ParticleVector
outgoing
)
const
;
68
77
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
78
84
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
85
86
public
:
87
94
void
persistentOutput
(
PersistentOStream
& os)
const
;
95
101
void
persistentInput
(
PersistentIStream
& is,
int
version);
103
110
static
void
Init
();
111
112
protected
:
113
120
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
121
126
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
128
129
protected
:
130
138
virtual
void
doinit
();
139
144
virtual
void
doinitrun
();
146
147
private
:
148
153
ScalarVectorVectorDecayer
&
operator=
(
const
ScalarVectorVectorDecayer
&) =
delete
;
154
155
public
:
156
160
string
setUpDecayMode
(
string
arg);
161
162
private
:
163
167
vector<int>
incoming_
;
168
172
vector<pair<long,long> >
outgoing_
;
173
177
vector<Energy>
coupling_
;
178
182
vector<double>
maxWeight_
;
183
187
mutable
RhoDMatrix
rho_
;
188
192
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
[2];
193
};
194
195
}
196
197
#endif
/* HERWIG_ScalarVectorVectorDecayer_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::ScalarVectorVectorDecayer
The ScalarVectorVectorDecayer class is designed to perform the decay of a scalar meson to two spin-1 ...
Definition:
ScalarVectorVectorDecayer.h:36
Herwig::ScalarVectorVectorDecayer::incoming_
vector< int > incoming_
the PDG code for the incoming particle
Definition:
ScalarVectorVectorDecayer.h:167
Herwig::ScalarVectorVectorDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::ScalarVectorVectorDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::ScalarVectorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
ScalarVectorVectorDecayer.h:126
Herwig::ScalarVectorVectorDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[2]
Polarization vectors for the ecay products.
Definition:
ScalarVectorVectorDecayer.h:192
Herwig::ScalarVectorVectorDecayer::coupling_
vector< Energy > coupling_
the coupling for the decay, .
Definition:
ScalarVectorVectorDecayer.h:177
Herwig::ScalarVectorVectorDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::ScalarVectorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
ScalarVectorVectorDecayer.h:120
Herwig::ScalarVectorVectorDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::ScalarVectorVectorDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG code for the first outgoing particle
Definition:
ScalarVectorVectorDecayer.h:172
Herwig::ScalarVectorVectorDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::ScalarVectorVectorDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
ScalarVectorVectorDecayer.h:187
Herwig::ScalarVectorVectorDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::ScalarVectorVectorDecayer::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::ScalarVectorVectorDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::ScalarVectorVectorDecayer::doinitrun
virtual void doinitrun()
Initialize this object.
Herwig::ScalarVectorVectorDecayer::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::ScalarVectorVectorDecayer::operator=
ScalarVectorVectorDecayer & operator=(const ScalarVectorVectorDecayer &)=delete
The assignment operator is private and must never be called.
Herwig::ScalarVectorVectorDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::ScalarVectorVectorDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
ScalarVectorVectorDecayer.h:182
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