herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
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/DecayPhaseSpaceMode.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
48
VectorMesonVectorScalarDecayer
();
49
56
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
57
const
tPDVector
& children)
const
;
58
67
double
me2
(
const
int
ichan,
const
Particle
& part,
68
const
ParticleVector
&
decay
,
MEOption
meopt)
const
;
69
75
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
76
77
public
:
78
85
void
persistentOutput
(
PersistentOStream
& os)
const
;
86
92
void
persistentInput
(
PersistentIStream
& is,
int
version);
94
98
static
void
Init
();
99
108
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
109
110
protected
:
111
118
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
119
124
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
126
127
protected
:
128
136
virtual
void
doinit
();
137
141
virtual
void
doinitrun
();
143
144
private
:
145
149
VectorMesonVectorScalarDecayer
&
operator=
(
const
VectorMesonVectorScalarDecayer
&) =
delete
;
150
151
private
:
152
156
vector<InvEnergy>
_coupling
;
157
161
vector<int>
_incoming
;
162
166
vector<int>
_outgoingV
;
167
171
vector<int>
_outgoingS
;
172
176
vector<double>
_maxweight
;
177
181
unsigned
int
_initsize
;
182
186
mutable
RhoDMatrix
_rho
;
187
191
mutable
vector<Helicity::LorentzPolarizationVector>
_vectors
[2];
192
193
};
194
195
}
196
197
198
#endif
/* HERWIG_VectorMesonVectorScalarDecayer_H */
ThePEG::PersistentIStream
Herwig::VectorMesonVectorScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonVectorScalarDecayer.h:118
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
ThePEG::Particle
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::_coupling
vector< InvEnergy > _coupling
coupling for a decay
Definition:
VectorMesonVectorScalarDecayer.h:156
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::VectorMesonVectorScalarDecayer::_outgoingS
vector< int > _outgoingS
PDG codes for the outgoing scalar mesons.
Definition:
VectorMesonVectorScalarDecayer.h:171
Herwig::VectorMesonVectorScalarDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
VectorMesonVectorScalarDecayer.h:181
Herwig::VectorMesonVectorScalarDecayer::operator=
VectorMesonVectorScalarDecayer & operator=(const VectorMesonVectorScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMesonVectorScalarDecayer::me2
double me2(const int ichan, const Particle &part, const ParticleVector &decay, MEOption meopt) const
Return the matrix element squared for a given mode and phase-space channel.
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::VectorMesonVectorScalarDecayer::_incoming
vector< int > _incoming
PDG codes for the incoming particles.
Definition:
VectorMesonVectorScalarDecayer.h:161
Herwig::VectorMesonVectorScalarDecayer::_maxweight
vector< double > _maxweight
maximum weight for a decay
Definition:
VectorMesonVectorScalarDecayer.h:176
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::VectorMesonVectorScalarDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
VectorMesonVectorScalarDecayer.h:186
Herwig::VectorMesonVectorScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:62
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Herwig::VectorMesonVectorScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::DecayIntegrator::decay
virtual ParticleVector decay(const Particle &parent, const tPDVector &children) const
For a given decay mode and a given particle instance, perform the decay and return the decay products...
Herwig::VectorMesonVectorScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::VectorMesonVectorScalarDecayer::_vectors
vector< Helicity::LorentzPolarizationVector > _vectors[2]
Polarization vectors.
Definition:
VectorMesonVectorScalarDecayer.h:191
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:124
Herwig::VectorMesonVectorScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::VectorMesonVectorScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::VectorMesonVectorScalarDecayer::VectorMesonVectorScalarDecayer
VectorMesonVectorScalarDecayer()
Default constructor.
Herwig::VectorMesonVectorScalarDecayer::_outgoingV
vector< int > _outgoingV
PDG codes for the outgoing vector.
Definition:
VectorMesonVectorScalarDecayer.h:166
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::VectorMesonVectorScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMesonVectorScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13