Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19244020
MEee2ZH.cc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
MEee2ZH.cc
View Options
// -*- C++ -*-
//
// This is the implementation of the non-inlined, non-templated member
// functions of the MEee2ZH class.
//
#include
"MEee2ZH.h"
#include
"ThePEG/Interface/ClassDocumentation.h"
#include
"ThePEG/Persistency/PersistentOStream.h"
#include
"ThePEG/Persistency/PersistentIStream.h"
#include
"ThePEG/PDT/EnumParticles.h"
#include
"ThePEG/MatrixElement/Tree2toNDiagram.h"
#include
"ThePEG/PDT/DecayMode.h"
using
namespace
Herwig
;
NoPIOClassDescription
<
MEee2ZH
>
MEee2ZH
::
initMEee2ZH
;
// Definition of the static class description member.
void
MEee2ZH
::
Init
()
{
static
ClassDocumentation
<
MEee2ZH
>
documentation
(
"There is no documentation for the MEee2ZH class"
);
}
void
MEee2ZH
::
getDiagrams
()
const
{
tcPDPtr
eplus
=
getParticleData
(
ParticleID
::
eplus
);
tcPDPtr
eminus
=
getParticleData
(
ParticleID
::
eminus
);
tPDPtr
higgs
=
getParticleData
(
ParticleID
::
h0
);
// find possible Z decays
typedef
Selector
<
tDMPtr
>
DecaySelector
;
DecaySelector
Zdec
=
Z0
()
->
decaySelector
();
vector
<
PDPair
>
Zdecays
;
for
(
DecaySelector
::
const_iterator
cit
=
Zdec
.
begin
();
cit
!=
Zdec
.
end
();
++
cit
)
{
if
(
cit
->
second
->
orderedProducts
().
size
()
!=
2
)
continue
;
if
(
cit
->
second
->
orderedProducts
()[
0
]
->
id
()
>
0
)
Zdecays
.
push_back
(
make_pair
(
cit
->
second
->
orderedProducts
()[
0
],
cit
->
second
->
orderedProducts
()[
1
]));
else
Zdecays
.
push_back
(
make_pair
(
cit
->
second
->
orderedProducts
()[
1
],
cit
->
second
->
orderedProducts
()[
0
]));
}
// create the diagrams
for
(
unsigned
int
ix
=
0
;
ix
<
Zdecays
.
size
();
++
ix
)
{
add
(
new_ptr
((
Tree2toNDiagram
(
2
),
eminus
,
eplus
,
1
,
Z0
(),
3
,
higgs
,
3
,
Z0
(),
5
,
Zdecays
[
ix
].
first
,
5
,
Zdecays
[
ix
].
second
,
-
1
)));
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 4:38 AM (59 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6548217
Default Alt Text
MEee2ZH.cc (1 KB)
Attached To
Mode
rHERWIGHG herwighg
Attached
Detach File
Event Timeline
Log In to Comment