herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
General
VectorCurrentDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorCurrentDecayer.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_VectorCurrentDecayer_H
10
#define HERWIG_VectorCurrentDecayer_H
11
//
12
// This is the declaration of the VectorCurrentDecayer class.
13
//
14
15
#include "ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
16
#include "Herwig/Decay/DecayIntegrator.h"
17
#include "Herwig/Decay/WeakCurrents/WeakCurrent.h"
18
#include "Herwig/Decay/PhaseSpaceMode.h"
19
#include "VectorCurrentDecayer.fh"
20
21
namespace
Herwig
{
22
using namespace
ThePEG
;
23
using
ThePEG::Helicity::VectorWaveFunction
;
24
31
class
VectorCurrentDecayer
:
public
DecayIntegrator
{
32
33
public
:
34
38
VectorCurrentDecayer
() :
cSMmed_
({0.,0.,0.}),
wgtmax_
(0.)
39
{}
40
49
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
const
tPDVector
& children)
const
;
51
54
64
double
me2
(
const
int
ichan,
const
Particle
& part,
65
const
tPDVector
&
outgoing
,
66
const
vector<Lorentz5Momentum> & momenta,
67
MEOption
meopt)
const
;
68
72
virtual
void
constructSpinInfo
(
const
Particle
& part,
73
ParticleVector
outgoing
)
const
;
74
80
virtual
Energy
partialWidth
(
tPDPtr
inpart, vector<tPDPtr> out);
82
86
void
setDecayInfo
(
PDPtr
in,
const
vector<tPDPtr> & outCurrent,
87
WeakCurrentPtr current);
88
89
public
:
90
97
void
persistentOutput
(
PersistentOStream
& os)
const
;
98
104
void
persistentInput
(
PersistentIStream
& is,
int
version);
106
113
static
void
Init
();
114
115
protected
:
116
123
virtual
IBPtr
clone
()
const
;
124
129
virtual
IBPtr
fullclone
()
const
;
131
132
protected
:
133
141
virtual
void
doinit
();
142
147
virtual
void
doinitrun
();
149
150
protected
:
151
157
int
modeNumber
(
bool
& cc, vector<long>
id
)
const
;
158
163
unsigned
int
mode
()
const
{
return
mode_
; }
164
168
WeakCurrentPtr
weakCurrent
()
const
{
return
current_
; }
169
170
private
:
171
176
VectorCurrentDecayer
&
operator=
(
const
VectorCurrentDecayer
&) =
delete
;
177
178
private
:
179
183
PDPtr
inpart_
;
184
188
vector<tPDPtr>
currentOut_
;
189
193
Complex
cDMmed_
;
194
198
vector<Complex>
cSMmed_
;
199
203
WeakCurrentPtr
current_
;
204
208
unsigned
int
mode_
;
209
213
int
wgtloc_
;
214
218
double
wgtmax_
;
219
223
vector<double>
weights_
;
224
228
mutable
RhoDMatrix
rho_
;
229
233
mutable
vector<VectorWaveFunction>
vectors_
;
234
};
235
236
}
237
238
#endif
/* HERWIG_VectorCurrentDecayer_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::VectorCurrentDecayer
Here is the documentation of the VectorCurrentDecayer class.
Definition:
VectorCurrentDecayer.h:31
Herwig::VectorCurrentDecayer::operator=
VectorCurrentDecayer & operator=(const VectorCurrentDecayer &)=delete
The assignment operator is private and must never be called.
Herwig::VectorCurrentDecayer::currentOut_
vector< tPDPtr > currentOut_
Outgoing particles from the current.
Definition:
VectorCurrentDecayer.h:188
Herwig::VectorCurrentDecayer::cSMmed_
vector< Complex > cSMmed_
SM couplings to the dark mediator.
Definition:
VectorCurrentDecayer.h:198
Herwig::VectorCurrentDecayer::wgtloc_
int wgtloc_
location of the weights
Definition:
VectorCurrentDecayer.h:213
Herwig::VectorCurrentDecayer::vectors_
vector< VectorWaveFunction > vectors_
Polarization vectors for the decaying particle.
Definition:
VectorCurrentDecayer.h:233
Herwig::VectorCurrentDecayer::weights_
vector< double > weights_
The weights for the different channels.
Definition:
VectorCurrentDecayer.h:223
Herwig::VectorCurrentDecayer::modeNumber
int modeNumber(bool &cc, vector< long > id) const
The number of the mode.
Herwig::VectorCurrentDecayer::current_
WeakCurrentPtr current_
Pointer to the current.
Definition:
VectorCurrentDecayer.h:203
Herwig::VectorCurrentDecayer::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::VectorCurrentDecayer::setDecayInfo
void setDecayInfo(PDPtr in, const vector< tPDPtr > &outCurrent, WeakCurrentPtr current)
set up the decay
Herwig::VectorCurrentDecayer::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::VectorCurrentDecayer::wgtmax_
double wgtmax_
the maximum weight
Definition:
VectorCurrentDecayer.h:218
Herwig::VectorCurrentDecayer::inpart_
PDPtr inpart_
Incoming particle.
Definition:
VectorCurrentDecayer.h:183
Herwig::VectorCurrentDecayer::partialWidth
virtual Energy partialWidth(tPDPtr inpart, vector< tPDPtr > out)
Function to return partial Width.
Herwig::VectorCurrentDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorCurrentDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorCurrentDecayer::cDMmed_
Complex cDMmed_
DM coupling to the dark mediator.
Definition:
VectorCurrentDecayer.h:193
Herwig::VectorCurrentDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::VectorCurrentDecayer::mode
unsigned int mode() const
Access to the map between the number of the mode and the modes in the current.
Definition:
VectorCurrentDecayer.h:163
Herwig::VectorCurrentDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VectorCurrentDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
VectorCurrentDecayer.h:228
Herwig::VectorCurrentDecayer::mode_
unsigned int mode_
mapping of the modes to the currents
Definition:
VectorCurrentDecayer.h:208
Herwig::VectorCurrentDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::VectorCurrentDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::VectorCurrentDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VectorCurrentDecayer::VectorCurrentDecayer
VectorCurrentDecayer()
The default constructor.
Definition:
VectorCurrentDecayer.h:38
Herwig::VectorCurrentDecayer::doinitrun
virtual void doinitrun()
Initialize this object.
Herwig::VectorCurrentDecayer::weakCurrent
WeakCurrentPtr weakCurrent() const
Access to the weak current.
Definition:
VectorCurrentDecayer.h:168
ThePEG::Helicity::VectorWaveFunction
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
ThePEG
ThePEG::tPDPtr
ThePEG::Ptr< ParticleData >::transient_pointer tPDPtr
ThePEG::Complex
std::complex< double > Complex
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
ThePEG::PDPtr
ThePEG::Ptr< ParticleData >::pointer PDPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6