herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
QTilde
Base
ShowerVertex.h
1
// -*- C++ -*-
2
//
3
// ShowerVertex.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_ShowerVertex_H
10
#define HERWIG_ShowerVertex_H
11
//
12
// This is the declaration of the ShowerVertex class.
13
//
14
15
#include "ThePEG/EventRecord/HelicityVertex.h"
16
#include "Herwig/Decay/DecayMatrixElement.h"
17
#include "ShowerVertex.fh"
18
19
namespace
Herwig
{
20
21
using namespace
ThePEG
;
22
40
class
ShowerVertex
:
public
HelicityVertex
{
41
42
public
:
43
47
ShowerVertex
() :
convertIn_
(false),
convertOut_
(2,false),
outMatrix_
(2,
RhoDMatrix
())
48
{}
49
50
public
:
51
59
inline
const
DecayMEPtr
ME
()
const
{
60
return
matrixElement_
;
61
}
62
66
inline
void
ME
(DecayMEPtr in)
const
{
67
matrixElement_
= in;
68
}
70
74
inline
void
incomingBasisTransform
(
RhoDMatrix
conv) {
75
convertIn_
=
true
;
76
inMatrix_
= conv;
77
}
78
79
public
:
80
85
virtual
RhoDMatrix
getRhoMatrix
(
int
iprod,
bool
)
const
;
86
91
virtual
RhoDMatrix
getDMatrix
(
int
)
const
;
92
96
RhoDMatrix
mapIncoming
(
RhoDMatrix
rho)
const
;
97
98
public
:
99
106
static
void
Init
();
107
108
private
:
109
114
ShowerVertex
&
operator=
(
const
ShowerVertex
&) =
delete
;
115
116
private
:
117
121
mutable
DecayMEPtr
matrixElement_
;
122
126
bool
convertIn_
;
127
131
vector<bool>
convertOut_
;
132
136
RhoDMatrix
inMatrix_
;
137
138
142
vector<RhoDMatrix>
outMatrix_
;
143
144
};
145
}
146
147
#endif
/* HERWIG_ShowerVertex_H */
Herwig::ShowerVertex
Definition:
ShowerVertex.h:40
Herwig::ShowerVertex::outMatrix_
vector< RhoDMatrix > outMatrix_
Storage of conversion for outgoing particles.
Definition:
ShowerVertex.h:142
Herwig::ShowerVertex::operator=
ShowerVertex & operator=(const ShowerVertex &)=delete
The assignment operator is private and must never be called.
Herwig::ShowerVertex::ME
const DecayMEPtr ME() const
Access to the matrix element.
Definition:
ShowerVertex.h:59
Herwig::ShowerVertex::matrixElement_
DecayMEPtr matrixElement_
Storage of the decay matrix element.
Definition:
ShowerVertex.h:121
Herwig::ShowerVertex::ShowerVertex
ShowerVertex()
Default constructor.
Definition:
ShowerVertex.h:47
Herwig::ShowerVertex::mapIncoming
RhoDMatrix mapIncoming(RhoDMatrix rho) const
Get the transformed rho matrix.
Herwig::ShowerVertex::incomingBasisTransform
void incomingBasisTransform(RhoDMatrix conv)
Set the change of basis for the incoming particle.
Definition:
ShowerVertex.h:74
Herwig::ShowerVertex::getDMatrix
virtual RhoDMatrix getDMatrix(int) const
Method to calculate the matrix for the decaying particle.
Herwig::ShowerVertex::convertOut_
vector< bool > convertOut_
Whether or not the outgoing spin density matrices need to be converted.
Definition:
ShowerVertex.h:131
Herwig::ShowerVertex::convertIn_
bool convertIn_
Whether or not the incoming spin density matrices need to be converted.
Definition:
ShowerVertex.h:126
Herwig::ShowerVertex::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::ShowerVertex::getRhoMatrix
virtual RhoDMatrix getRhoMatrix(int iprod, bool) const
Method to calculate the matrix for one of the decay products.
Herwig::ShowerVertex::ME
void ME(DecayMEPtr in) const
Set the matrix element.
Definition:
ShowerVertex.h:66
Herwig::ShowerVertex::inMatrix_
RhoDMatrix inMatrix_
Storage of conversion for incoming particle.
Definition:
ShowerVertex.h:136
ThePEG::HelicityVertex
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6