herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
VectorMeson
VectorMesonVectorPScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMesonVectorPScalarDecayer.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_VectorMesonVectorPScalarDecayer_H
10
#define HERWIG_VectorMesonVectorPScalarDecayer_H
11
// This is the declaration of the VectorMesonVectorPScalarDecayer class.
12
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
15
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
16
17
namespace
Herwig
{
18
49
class
VectorMesonVectorPScalarDecayer
:
public
DecayIntegrator
{
50
51
public
:
52
56
VectorMesonVectorPScalarDecayer
();
57
64
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
65
const
tPDVector
& children)
const
;
66
75
double
me2
(
const
int
ichan,
const
Particle
& part,
76
const
ParticleVector
&
decay
,
MEOption
meopt)
const
;
77
86
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
87
93
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
94
95
public
:
96
103
void
persistentOutput
(
PersistentOStream
& os)
const
;
104
110
void
persistentInput
(
PersistentIStream
& is,
int
version);
112
116
static
void
Init
();
117
118
protected
:
119
126
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
127
132
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
134
135
protected
:
136
144
virtual
void
doinit
();
145
149
virtual
void
doinitrun
();
151
152
private
:
153
157
VectorMesonVectorPScalarDecayer
&
operator=
(
const
VectorMesonVectorPScalarDecayer
&) =
delete
;
158
159
private
:
160
164
vector<InvEnergy>
_coupling
;
165
169
vector<int>
_incoming
;
170
174
vector<int>
_outgoingV
;
175
179
vector<int>
_outgoingP
;
180
184
vector<double>
_maxweight
;
185
189
unsigned
int
_initsize
;
190
194
mutable
RhoDMatrix
_rho
;
195
199
mutable
vector<Helicity::LorentzPolarizationVector>
_vectors
[2];
200
201
};
202
203
}
204
205
206
#endif
/* HERWIG_VectorMesonVectorPScalarDecayer_H */
Herwig::VectorMesonVectorPScalarDecayer::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.
ThePEG::PersistentIStream
Herwig::VectorMesonVectorPScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
ThePEG::Particle
Herwig::VectorMesonVectorPScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMesonVectorPScalarDecayer.h:132
Herwig::VectorMesonVectorPScalarDecayer::_outgoingV
vector< int > _outgoingV
the PDG codes for the outgoing vector
Definition:
VectorMesonVectorPScalarDecayer.h:174
Herwig::VectorMesonVectorPScalarDecayer::_coupling
vector< InvEnergy > _coupling
coupling for a decay
Definition:
VectorMesonVectorPScalarDecayer.h:164
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::VectorMesonVectorPScalarDecayer::VectorMesonVectorPScalarDecayer
VectorMesonVectorPScalarDecayer()
Default constructor.
Herwig::VectorMesonVectorPScalarDecayer::operator=
VectorMesonVectorPScalarDecayer & operator=(const VectorMesonVectorPScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMesonVectorPScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::VectorMesonVectorPScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::VectorMesonVectorPScalarDecayer::_outgoingP
vector< int > _outgoingP
the PDG codes for the outgoing pseudoscalar
Definition:
VectorMesonVectorPScalarDecayer.h:179
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::VectorMesonVectorPScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VectorMesonVectorPScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMesonVectorPScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonVectorPScalarDecayer.h:126
Herwig::VectorMesonVectorPScalarDecayer
This class is designed for the decay of a vector meson to another spin-1 particle, either another vector meson or a photon, and a pseduoscalar meson.
Definition:
VectorMesonVectorPScalarDecayer.h:49
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::VectorMesonVectorPScalarDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
VectorMesonVectorPScalarDecayer.h:189
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::VectorMesonVectorPScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
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::VectorMesonVectorPScalarDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
VectorMesonVectorPScalarDecayer.h:194
Herwig::VectorMesonVectorPScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorMesonVectorPScalarDecayer::_incoming
vector< int > _incoming
the PDG codes for the incoming particle
Definition:
VectorMesonVectorPScalarDecayer.h:169
Herwig::VectorMesonVectorPScalarDecayer::_maxweight
vector< double > _maxweight
maximum weight for a decay
Definition:
VectorMesonVectorPScalarDecayer.h:184
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::VectorMesonVectorPScalarDecayer::_vectors
vector< Helicity::LorentzPolarizationVector > _vectors[2]
Polarization vectors.
Definition:
VectorMesonVectorPScalarDecayer.h:199
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::VectorMesonVectorPScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13