herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
QTilde
Matching
PotentialTree.h
1
// -*- C++ -*-
2
#ifndef HERWIG_PotentialTree_H
3
#define HERWIG_PotentialTree_H
4
//
5
// This is the declaration of the PotentialTree class.
6
//
7
8
#include "CKKWTree.h"
9
10
namespace
Herwig
{
11
12
using namespace
ThePEG
;
13
17
struct
PotentialTree
{
18
22
PotentialTree
() {}
23
27
PotentialTree
(CKKWTreePtr itree, DiagPtr idiag,
28
Ptr<ColourLines>::transient_const_pointer icl)
29
:
tree_
(itree),
diagram_
(idiag),
cl_
(icl),
wgt_
(0.)
30
{}
31
35
CKKWTreePtr
tree
()
const
{
return
tree_
;}
36
40
void
tree
(CKKWTreePtr in) {
tree_
=in;}
41
45
tcDiagPtr
diagram
() {
return
diagram_
;}
46
50
void
diagram
(tcDiagPtr in) {
diagram_
=in;}
51
55
MEBase::DiagramVector
&
diagrams
() {
return
diagrams_
;}
56
60
Ptr<ColourLines>::transient_const_pointer
colourLines
() {
return
cl_
;}
61
65
void
colourLines
(Ptr<ColourLines>::transient_const_pointer in) {
cl_
=in;}
66
70
void
weight
(
double
weight
) {
wgt_
=
weight
;}
71
75
double
weight
()
const
{
return
wgt_
;}
76
77
private
:
78
82
CKKWTreePtr
tree_
;
83
87
MEBase::DiagramVector
diagrams_
;
88
92
tcDiagPtr
diagram_
;
93
97
Ptr<ColourLines>::transient_const_pointer
cl_
;
98
102
double
wgt_
;
103
};
104
105
}
106
107
#endif
/* HERWIG_PotentialTree_H */
ThePEG::MEBase::DiagramVector
vector< DiagPtr > DiagramVector
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
Herwig::PotentialTree
Struct to store a potential CKKWTree.
Definition:
PotentialTree.h:17
Herwig::PotentialTree::colourLines
Ptr< ColourLines >::transient_const_pointer colourLines()
Colour Structure.
Definition:
PotentialTree.h:60
Herwig::PotentialTree::diagram_
tcDiagPtr diagram_
The diagram.
Definition:
PotentialTree.h:92
Herwig::PotentialTree::weight
double weight() const
Get the weight.
Definition:
PotentialTree.h:75
Herwig::PotentialTree::diagram
void diagram(tcDiagPtr in)
set the tree
Definition:
PotentialTree.h:50
Herwig::PotentialTree::PotentialTree
PotentialTree(CKKWTreePtr itree, DiagPtr idiag, Ptr< ColourLines >::transient_const_pointer icl)
Constructor.
Definition:
PotentialTree.h:27
Herwig::PotentialTree::cl_
Ptr< ColourLines >::transient_const_pointer cl_
The colour structure.
Definition:
PotentialTree.h:97
Herwig::PotentialTree::colourLines
void colourLines(Ptr< ColourLines >::transient_const_pointer in)
Colour Structure.
Definition:
PotentialTree.h:65
Herwig::PotentialTree::tree
CKKWTreePtr tree() const
Get the tree.
Definition:
PotentialTree.h:35
Herwig::PotentialTree::diagrams
MEBase::DiagramVector & diagrams()
All diagrams.
Definition:
PotentialTree.h:55
Herwig::PotentialTree::weight
void weight(double weight)
Set the weight.
Definition:
PotentialTree.h:70
Herwig::PotentialTree::diagram
tcDiagPtr diagram()
Get the diagram.
Definition:
PotentialTree.h:45
Herwig::PotentialTree::wgt_
double wgt_
The weight.
Definition:
PotentialTree.h:102
Herwig::PotentialTree::tree_
CKKWTreePtr tree_
The tree.
Definition:
PotentialTree.h:82
Herwig::PotentialTree::PotentialTree
PotentialTree()
Constructor.
Definition:
PotentialTree.h:22
Herwig::PotentialTree::diagrams_
MEBase::DiagramVector diagrams_
All diagrams.
Definition:
PotentialTree.h:87
Herwig::PotentialTree::tree
void tree(CKKWTreePtr in)
set the tree
Definition:
PotentialTree.h:40
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6