herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
QTilde
Matching
ProtoBranching.h
1
// -*- C++ -*-
2
#ifndef HERWIG_ProtoBranching_H
3
#define HERWIG_ProtoBranching_H
4
//
5
// This is the declaration of the ProtoBranching class.
6
//
7
8
namespace
Herwig
{
9
10
using namespace
ThePEG
;
11
15
class
ProtoBranching;
16
ThePEG_DECLARE_POINTERS(
Herwig::ProtoBranching
,ProtoBranchingPtr);
17
21
class
ProtoBranching
:
public
Base
{
22
23
public
:
24
28
ProtoBranching
() {}
29
33
ProtoBranching
(
tcPDPtr
part,
HardBranching::Status
status
,
34
const
Lorentz5Momentum &
momentum
,
35
tSudakovPtr
sudakov
)
36
:
part_
(part),
status_
(
status
),
momentum_
(
momentum
),
37
sudakov_
(
sudakov
),
type_
(
ShowerPartnerType
::Undefined)
38
{}
39
43
long
id
() {
return
part_
->id();}
44
48
tcPDPtr
particle
() {
return
part_
;}
49
53
HardBranching::Status
status
() {
return
status_
;}
54
58
tProtoBranchingPtr
parent
() {
return
parent_
;}
59
63
void
parent
(tProtoBranchingPtr in) {
parent_
=in;}
64
68
vector<tProtoBranchingPtr>
children
() {
return
children_
;}
69
73
void
addChild
(tProtoBranchingPtr in ) {
children_
.push_back(in);}
74
78
vector<tProtoBranchingPtr>
backChildren
() {
return
backChildren_
;}
79
83
void
addBackChild
(tProtoBranchingPtr in ) {
backChildren_
.push_back(in);}
84
88
const
Lorentz5Momentum &
momentum
() {
return
momentum_
;}
89
93
tSudakovPtr
sudakov
() {
return
sudakov_
;}
94
98
void
sudakov
(tSudakovPtr in) {
sudakov_
=in; }
99
103
ShowerPartnerType
type
()
const
{
104
return
type_
;
105
}
106
110
void
type
(
ShowerPartnerType
in) {
111
type_
= in;
112
assert(
type_
!=ShowerPartnerType::Undefined);
113
}
114
118
tColinePtr
colourLine
()
const
{
119
return
colourLine_
;
120
}
124
tColinePtr
antiColourLine
()
const
{
125
return
antiColourLine_
;
126
}
127
131
void
colourLine
(
tColinePtr
in) {
132
colourLine_
= in;
133
}
137
void
antiColourLine
(
tColinePtr
in) {
138
antiColourLine_
= in;
139
}
140
141
private
:
142
146
tcPDPtr
part_
;
147
151
HardBranching::Status
status_
;
152
156
Lorentz5Momentum
momentum_
;
157
161
tSudakovPtr
sudakov_
;
162
166
vector<tProtoBranchingPtr>
children_
;
167
171
vector<tProtoBranchingPtr>
backChildren_
;
172
176
tProtoBranchingPtr
parent_
;
177
181
ShowerPartnerType
type_
;
182
190
tColinePtr
colourLine_
;
191
195
tColinePtr
antiColourLine_
;
197
198
};
199
200
}
201
202
#endif
/* HERWIG_ProtoBranching_H */
Herwig::HardBranching::Status
Status
Enum for the status.
Definition:
HardBranching.h:35
Herwig::ProtoBranching
Class to store a prototype branching.
Definition:
ProtoBranching.h:21
Herwig::ProtoBranching::sudakov
tSudakovPtr sudakov()
Get the Sudakov.
Definition:
ProtoBranching.h:93
Herwig::ProtoBranching::type_
ShowerPartnerType type_
The type of branching.
Definition:
ProtoBranching.h:181
Herwig::ProtoBranching::addBackChild
void addBackChild(tProtoBranchingPtr in)
Add a child.
Definition:
ProtoBranching.h:83
Herwig::ProtoBranching::type
void type(ShowerPartnerType in)
Type of branching.
Definition:
ProtoBranching.h:110
Herwig::ProtoBranching::ProtoBranching
ProtoBranching()
Default constructor.
Definition:
ProtoBranching.h:28
Herwig::ProtoBranching::type
ShowerPartnerType type() const
Type of branching.
Definition:
ProtoBranching.h:103
Herwig::ProtoBranching::backChildren
vector< tProtoBranchingPtr > backChildren()
Back children.
Definition:
ProtoBranching.h:78
Herwig::ProtoBranching::sudakov_
tSudakovPtr sudakov_
Sudakov.
Definition:
ProtoBranching.h:161
Herwig::ProtoBranching::sudakov
void sudakov(tSudakovPtr in)
Set the Sudakov.
Definition:
ProtoBranching.h:98
Herwig::ProtoBranching::antiColourLine
tColinePtr antiColourLine() const
Anticolour line.
Definition:
ProtoBranching.h:124
Herwig::ProtoBranching::id
long id()
Id of the brnaching particle.
Definition:
ProtoBranching.h:43
Herwig::ProtoBranching::parent_
tProtoBranchingPtr parent_
parent
Definition:
ProtoBranching.h:176
Herwig::ProtoBranching::parent
tProtoBranchingPtr parent()
Set the parent.
Definition:
ProtoBranching.h:58
Herwig::ProtoBranching::children_
vector< tProtoBranchingPtr > children_
children
Definition:
ProtoBranching.h:166
Herwig::ProtoBranching::children
vector< tProtoBranchingPtr > children()
Children.
Definition:
ProtoBranching.h:68
Herwig::ProtoBranching::colourLine
tColinePtr colourLine() const
Colour line.
Definition:
ProtoBranching.h:118
Herwig::ProtoBranching::part_
tcPDPtr part_
PDG code.
Definition:
ProtoBranching.h:146
Herwig::ProtoBranching::colourLine_
tColinePtr colourLine_
Colour lines.
Definition:
ProtoBranching.h:190
Herwig::ProtoBranching::antiColourLine
void antiColourLine(tColinePtr in)
Anticolour line.
Definition:
ProtoBranching.h:137
Herwig::ProtoBranching::addChild
void addChild(tProtoBranchingPtr in)
Add a child.
Definition:
ProtoBranching.h:73
Herwig::ProtoBranching::ProtoBranching
ProtoBranching(tcPDPtr part, HardBranching::Status status, const Lorentz5Momentum &momentum, tSudakovPtr sudakov)
Constructor.
Definition:
ProtoBranching.h:33
Herwig::ProtoBranching::status
HardBranching::Status status()
Status of the branching.
Definition:
ProtoBranching.h:53
Herwig::ProtoBranching::momentum_
Lorentz5Momentum momentum_
Momentum.
Definition:
ProtoBranching.h:156
Herwig::ProtoBranching::colourLine
void colourLine(tColinePtr in)
Colour line.
Definition:
ProtoBranching.h:131
Herwig::ProtoBranching::antiColourLine_
tColinePtr antiColourLine_
Anticolour line.
Definition:
ProtoBranching.h:195
Herwig::ProtoBranching::momentum
const Lorentz5Momentum & momentum()
momentum
Definition:
ProtoBranching.h:88
Herwig::ProtoBranching::particle
tcPDPtr particle()
The ParticleData.
Definition:
ProtoBranching.h:48
Herwig::ProtoBranching::status_
HardBranching::Status status_
status
Definition:
ProtoBranching.h:151
Herwig::ProtoBranching::backChildren_
vector< tProtoBranchingPtr > backChildren_
back children
Definition:
ProtoBranching.h:171
Herwig::ProtoBranching::parent
void parent(tProtoBranchingPtr in)
Get the parent.
Definition:
ProtoBranching.h:63
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Herwig::ShowerPartnerType
ShowerPartnerType
Enum for the type of shower partner.
Definition:
ShowerInteraction.h:35
ThePEG
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
ThePEG::tColinePtr
ThePEG::Ptr< ColourLine >::transient_pointer tColinePtr
ThePEG::Base
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6