herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
DecayVertex.h
1// -*- C++ -*-
2//
3// DecayVertex.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_DecayVertex_H
10#define HERWIG_DecayVertex_H
11//
12// This is the declaration of the DecayVertex class.
13//
14#include <ThePEG/EventRecord/HelicityVertex.h>
15#include "DecayMatrixElement.h"
16#include "DecayVertex.fh"
17
18namespace Herwig {
19
36
37public:
38
46 const DecayMEPtr ME() const {
47 return matrixElement_;
48 }
49
53 void ME(DecayMEPtr in) const {
54 matrixElement_ = in;
55 }
57
58public:
59
63 static void Init();
64
65public:
66
72 virtual RhoDMatrix getRhoMatrix(int iprod,bool recursive) const;
73
78 virtual RhoDMatrix getDMatrix(int) const;
79
83 DecayVertex & operator=(const DecayVertex &) = delete;
84
85private:
86
90 mutable DecayMEPtr matrixElement_;
91
92};
93
94}
95
96#endif /* HERWIG_DecayVertex_H */
const DecayMEPtr ME() const
Access to the matrix element.
Definition: DecayVertex.h:46
void ME(DecayMEPtr in) const
Set the matrix element.
Definition: DecayVertex.h:53
virtual RhoDMatrix getDMatrix(int) const
Method to calculate the matrix for the decaying particle.
DecayMEPtr matrixElement_
Storage of the decay matrix element.
Definition: DecayVertex.h:90
DecayVertex & operator=(const DecayVertex &)=delete
Private and non-existent assignment operator.
static void Init()
Standard Init function used to initialize the interfaces.
virtual RhoDMatrix getRhoMatrix(int iprod, bool recursive) const
Method to calculate the matrix for one of the decay products.
-*- C++ -*-