herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
VectorMeson
VectorMesonVectorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMesonVectorVectorDecayer.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_VectorMesonVectorVectorDecayer_H
10
#define HERWIG_VectorMesonVectorVectorDecayer_H
11
//
12
// This is the declaration of the VectorMesonVectorVectorDecayer 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
51
class
VectorMesonVectorVectorDecayer
:
public
DecayIntegrator
{
52
53
public
:
54
58
VectorMesonVectorVectorDecayer
();
59
66
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
67
const
tPDVector
& children)
const
;
68
77
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
78
88
double
me2
(
const
int
ichan,
const
Particle
& part,
89
const
tPDVector
&
outgoing
,
90
const
vector<Lorentz5Momentum> & momenta,
91
MEOption
meopt)
const
;
92
96
virtual
void
constructSpinInfo
(
const
Particle
& part,
97
ParticleVector
outgoing
)
const
;
98
104
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
105
106
public
:
107
114
void
persistentOutput
(
PersistentOStream
& os)
const
;
115
121
void
persistentInput
(
PersistentIStream
& is,
int
version);
123
127
static
void
Init
();
128
129
protected
:
130
137
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
138
143
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
145
146
protected
:
147
155
virtual
void
doinit
();
156
160
virtual
void
doinitrun
();
162
163
private
:
164
168
VectorMesonVectorVectorDecayer
&
operator=
(
const
VectorMesonVectorVectorDecayer
&) =
delete
;
169
170
public
:
171
175
string
setUpDecayMode
(
string
arg);
176
177
private
:
178
182
vector<double>
coupling_
;
183
187
vector<int>
incoming_
;
188
192
vector<pair<long,long> >
outgoing_
;
193
197
vector<double>
maxweight_
;
198
202
mutable
RhoDMatrix
rho_
;
203
207
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
[3];
208
209
};
210
211
}
212
213
214
#endif
/* HERWIG_VectorMesonVectorVectorDecayer_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::VectorMesonVectorVectorDecayer
This class is designed for the decay of a vector meson to two spin one particles, either other vector...
Definition:
VectorMesonVectorVectorDecayer.h:51
Herwig::VectorMesonVectorVectorDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::VectorMesonVectorVectorDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::VectorMesonVectorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMesonVectorVectorDecayer.h:143
Herwig::VectorMesonVectorVectorDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMesonVectorVectorDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorMesonVectorVectorDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
VectorMesonVectorVectorDecayer.h:202
Herwig::VectorMesonVectorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonVectorVectorDecayer.h:137
Herwig::VectorMesonVectorVectorDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VectorMesonVectorVectorDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::VectorMesonVectorVectorDecayer::operator=
VectorMesonVectorVectorDecayer & operator=(const VectorMesonVectorVectorDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMesonVectorVectorDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::VectorMesonVectorVectorDecayer::maxweight_
vector< double > maxweight_
maximum weight for a decay
Definition:
VectorMesonVectorVectorDecayer.h:197
Herwig::VectorMesonVectorVectorDecayer::VectorMesonVectorVectorDecayer
VectorMesonVectorVectorDecayer()
Default constructor.
Herwig::VectorMesonVectorVectorDecayer::coupling_
vector< double > coupling_
the coupling for the decay
Definition:
VectorMesonVectorVectorDecayer.h:182
Herwig::VectorMesonVectorVectorDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[3]
Polarization vectors.
Definition:
VectorMesonVectorVectorDecayer.h:207
Herwig::VectorMesonVectorVectorDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VectorMesonVectorVectorDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::VectorMesonVectorVectorDecayer::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::VectorMesonVectorVectorDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG codes for the 1st outgoing particle
Definition:
VectorMesonVectorVectorDecayer.h:192
Herwig::VectorMesonVectorVectorDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::VectorMesonVectorVectorDecayer::incoming_
vector< int > incoming_
the PDG codes for the incoming particles
Definition:
VectorMesonVectorVectorDecayer.h:187
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