Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11222283
MEQq2Qq.cc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
MEQq2Qq.cc
View Options
// -*- C++ -*-
//
// This is the implementation of the non-inlined, non-templated member
// functions of the MEQq2Qq class.
//
#include
"MEQq2Qq.h"
#include
"ThePEG/Interface/ClassDocumentation.h"
#include
"ThePEG/PDT/EnumParticles.h"
#ifdef ThePEG_TEMPLATES_IN_CC_FILE
// #include "MEQq2Qq.tcc"
#endif
using
namespace
ThePEG
;
MEQq2Qq
::~
MEQq2Qq
()
{}
void
MEQq2Qq
::
getDiagrams
()
const
{
tcPDPtr
g
=
getParticleData
(
ParticleID
::
g
);
for
(
int
i
=
1
;
i
<=
maxFlavour
();
++
i
)
{
tcPDPtr
q
=
getParticleData
(
i
);
tcPDPtr
qb
=
q
->
CC
();
for
(
int
j
=
1
;
j
<=
maxFlavour
();
++
j
)
{
if
(
i
==
j
)
continue
;
tcPDPtr
qp
=
getParticleData
(
j
);
tcPDPtr
qbp
=
qp
->
CC
();
add
(
new_ptr
((
Tree2toNDiagram
(
3
),
q
,
g
,
qp
,
1
,
q
,
2
,
qp
,
-
1
)));
add
(
new_ptr
((
Tree2toNDiagram
(
3
),
qb
,
g
,
qp
,
1
,
qb
,
2
,
qp
,
-
2
)));
add
(
new_ptr
((
Tree2toNDiagram
(
3
),
q
,
g
,
qbp
,
1
,
q
,
2
,
qbp
,
-
3
)));
add
(
new_ptr
((
Tree2toNDiagram
(
3
),
qb
,
g
,
qbp
,
1
,
qb
,
2
,
qbp
,
-
4
)));
}
}
}
double
MEQq2Qq
::
me2
()
const
{
return
comfac
()
*
colA
()
*
KfacA
()
*
2.0
/
9.0
;
}
Selector
<
const
ColourLines
*>
MEQq2Qq
::
colourGeometries
(
tcDiagPtr
diag
)
const
{
static
ColourLines
ctUT
(
"1 -2 5, 3 2 4"
);
static
ColourLines
ctST
(
"3 2 -1, -4 -2 5"
);
static
ColourLines
ctTS
(
"1 -2 -3, -5 2 4"
);
static
ColourLines
ctTU
(
"-4 -2 -3, -5 2 -1"
);
Selector
<
const
ColourLines
*>
sel
;
if
(
diag
->
id
()
==
-
1
)
sel
.
insert
(
1.0
,
&
ctUT
);
else
if
(
diag
->
id
()
==
-
2
)
sel
.
insert
(
1.0
,
&
ctST
);
else
if
(
diag
->
id
()
==
-
3
)
sel
.
insert
(
1.0
,
&
ctTS
);
else
if
(
diag
->
id
()
==
-
4
)
sel
.
insert
(
1.0
,
&
ctTU
);
return
sel
;
}
Selector
<
MEQq2Qq
::
DiagramIndex
>
MEQq2Qq
::
diagrams
(
const
DiagramVector
&
diags
)
const
{
Selector
<
DiagramIndex
>
sel
;
for
(
DiagramIndex
i
=
0
;
i
<
diags
.
size
();
++
i
)
if
(
diags
[
i
]
->
id
()
==
-
1
||
diags
[
i
]
->
id
()
==
-
2
||
diags
[
i
]
->
id
()
==
-
3
||
diags
[
i
]
->
id
()
==
-
4
)
sel
.
insert
(
1.0
,
i
);
return
sel
;
}
NoPIOClassDescription
<
MEQq2Qq
>
MEQq2Qq
::
initMEQq2Qq
;
// Definition of the static class description member.
void
MEQq2Qq
::
Init
()
{
static
ClassDocumentation
<
MEQq2Qq
>
documentation
(
"The ThePEG::MEQq2Qq class describes the standard QCD "
"
\\
f$qq'
\\
rightarrow qq'
\\
f$ matrix element."
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Wed, May 14, 11:42 AM (11 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5107214
Default Alt Text
MEQq2Qq.cc (2 KB)
Attached To
rTHEPEGHG thepeghg
Event Timeline
Log In to Comment