herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
VectorMeson
VectorMesonVectorScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMesonVectorScalarDecayer.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_VectorMesonVectorScalarDecayer_H
10
#define HERWIG_VectorMesonVectorScalarDecayer_H
11
//
12
// This is the declaration of the VectorMesonVectorScalarDecayer 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
Herwig
;
20
41
class
VectorMesonVectorScalarDecayer
:
public
DecayIntegrator
{
42
43
public
:
44
51
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
52
const
tPDVector
& children)
const
;
53
63
double
me2
(
const
int
ichan,
const
Particle
& part,
64
const
tPDVector
&
outgoing
,
65
const
vector<Lorentz5Momentum> & momenta,
66
MEOption
meopt)
const
;
67
71
virtual
void
constructSpinInfo
(
const
Particle
& part,
72
ParticleVector
outgoing
)
const
;
73
79
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
80
81
public
:
82
89
void
persistentOutput
(
PersistentOStream
& os)
const
;
90
96
void
persistentInput
(
PersistentIStream
& is,
int
version);
98
102
static
void
Init
();
103
112
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
113
114
protected
:
115
122
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
123
128
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
130
131
protected
:
132
140
virtual
void
doinit
();
141
145
virtual
void
doinitrun
();
147
148
private
:
149
153
VectorMesonVectorScalarDecayer
&
operator=
(
const
VectorMesonVectorScalarDecayer
&) =
delete
;
154
155
public
:
156
160
string
setUpDecayMode
(
string
arg);
161
162
private
:
163
167
vector<InvEnergy>
coupling_
;
168
172
vector<int>
incoming_
;
173
177
vector<pair<int,int> >
outgoing_
;
178
182
vector<double>
maxWeight_
;
183
187
mutable
RhoDMatrix
rho_
;
188
192
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
[2];
193
194
};
195
196
}
197
198
199
#endif
/* HERWIG_VectorMesonVectorScalarDecayer_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::VectorMesonVectorScalarDecayer
This class is designed for the decay of a vector meson to a spin-1 particle, either a vector meson or...
Definition:
VectorMesonVectorScalarDecayer.h:41
Herwig::VectorMesonVectorScalarDecayer::operator=
VectorMesonVectorScalarDecayer & operator=(const VectorMesonVectorScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMesonVectorScalarDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
VectorMesonVectorScalarDecayer.h:187
Herwig::VectorMesonVectorScalarDecayer::coupling_
vector< InvEnergy > coupling_
coupling for a decay
Definition:
VectorMesonVectorScalarDecayer.h:167
Herwig::VectorMesonVectorScalarDecayer::incoming_
vector< int > incoming_
PDG codes for the incoming particles.
Definition:
VectorMesonVectorScalarDecayer.h:172
Herwig::VectorMesonVectorScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMesonVectorScalarDecayer.h:128
Herwig::VectorMesonVectorScalarDecayer::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::VectorMesonVectorScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VectorMesonVectorScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMesonVectorScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonVectorScalarDecayer.h:122
Herwig::VectorMesonVectorScalarDecayer::outgoing_
vector< pair< int, int > > outgoing_
PDG codes for the outgoing particles (vector,scalar)
Definition:
VectorMesonVectorScalarDecayer.h:177
Herwig::VectorMesonVectorScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::VectorMesonVectorScalarDecayer::maxWeight_
vector< double > maxWeight_
maximum weight for a decay
Definition:
VectorMesonVectorScalarDecayer.h:182
Herwig::VectorMesonVectorScalarDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::VectorMesonVectorScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorMesonVectorScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VectorMesonVectorScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::VectorMesonVectorScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::VectorMesonVectorScalarDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[2]
Polarization vectors.
Definition:
VectorMesonVectorScalarDecayer.h:192
Herwig::VectorMesonVectorScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::VectorMesonVectorScalarDecayer::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::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