herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
VectorMeson
PVectorMesonVectorPScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// PVectorMesonVectorPScalarDecayer.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_PVectorMesonVectorPScalarDecayer_H
10
#define HERWIG_PVectorMesonVectorPScalarDecayer_H
11
//
12
// This is the declaration of the PVectorMesonVectorPScalarDecayer 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
ThePEG
;
20
41
class
PVectorMesonVectorPScalarDecayer
:
public
DecayIntegrator
{
42
43
public
:
44
48
PVectorMesonVectorPScalarDecayer
();
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
PVectorMesonVectorPScalarDecayer
& operator=(
const
PVectorMesonVectorPScalarDecayer
&) =
delete
;
150
151
private
:
152
156
vector<InvEnergy>
_coupling
;
157
161
vector<int>
_incoming
;
162
166
vector<int>
_outgoingV
;
167
171
vector<int>
_outgoingP
;
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_PVectorMesonVectorPScalarDecayer_H */
Herwig::PVectorMesonVectorPScalarDecayer::_outgoingP
vector< int > _outgoingP
PDG codes for the outgoing pseudoscalar mesons.
Definition:
PVectorMesonVectorPScalarDecayer.h:171
ThePEG::PersistentIStream
ThePEG::Particle
Herwig::PVectorMesonVectorPScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
PVectorMesonVectorPScalarDecayer.h:118
Herwig::PVectorMesonVectorPScalarDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
PVectorMesonVectorPScalarDecayer.h:181
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::PVectorMesonVectorPScalarDecayer::_maxweight
vector< double > _maxweight
maximum weight for a decay
Definition:
PVectorMesonVectorPScalarDecayer.h:176
ThePEG
Herwig::PVectorMesonVectorPScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
PVectorMesonVectorPScalarDecayer.h:124
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::PVectorMesonVectorPScalarDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
PVectorMesonVectorPScalarDecayer.h:186
ThePEG::tPDVector
vector< tPDPtr > tPDVector
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::PVectorMesonVectorPScalarDecayer::_incoming
vector< int > _incoming
PDG codes for the incoming particles.
Definition:
PVectorMesonVectorPScalarDecayer.h:161
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Herwig::PVectorMesonVectorPScalarDecayer
This class is designed for the decay of a pseudovector meson to a spin-1 particle, either a vector meson or a photon, and a pseudoscalar meson.
Definition:
PVectorMesonVectorPScalarDecayer.h:41
ThePEG::DecayMode
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::PVectorMesonVectorPScalarDecayer::_outgoingV
vector< int > _outgoingV
PDG codes for the outgoing vector.
Definition:
PVectorMesonVectorPScalarDecayer.h:166
Herwig::PVectorMesonVectorPScalarDecayer::_coupling
vector< InvEnergy > _coupling
Coupling for a decay.
Definition:
PVectorMesonVectorPScalarDecayer.h:156
Generated on Sat Apr 11 2020 14:50:31 for Herwig by
1.8.13