ThePEG
1.8.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MatrixElement
MEQq2Qq4.h
1
// -*- C++ -*-
2
//
3
// MEQq2Qq4.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2011 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef ThePEG_MEQq2Qq_H
10
#define ThePEG_MEQq2Qq_H
11
// This is the declaration of the MEQq2Qq class.
12
13
#include "ThePEG/MatrixElement/ME2to2QCD.h"
14
15
namespace
ThePEG {
16
25
class
MEQq2Qq
:
public
ME2to2QCD
{
26
27
public
:
28
38
virtual
double
me2
()
const
;
39
43
virtual
void
getDiagrams
()
const
;
44
52
virtual
Selector<const ColourLines *>
53
colourGeometries
(
tcDiagPtr
diag)
const
;
54
63
virtual
Selector<DiagramIndex>
diagrams
(
const
DiagramVector
& dv)
const
;
65
66
protected
:
67
75
double
colA
()
const
76
{
77
return
(sqr(
uHat
()) + sqr(
sHat
()))/sqr(
tHat
());
78
}
80
81
public
:
82
86
static
void
Init
();
87
88
protected
:
89
96
virtual
IBPtr
clone
()
const
{
return
new_ptr
(*
this
); }
97
102
virtual
IBPtr
fullclone
()
const
{
return
new_ptr
(*
this
); }
104
105
private
:
106
110
static
NoPIOClassDescription<MEQq2Qq>
initMEQq2Qq
;
111
115
MEQq2Qq
&
operator=
(
const
MEQq2Qq
&);
116
117
};
118
119
}
120
121
122
namespace
ThePEG {
123
128
template
<>
129
struct
BaseClassTrait<MEQq2Qq,1>:
public
ClassTraitsType {
131
typedef
ME2to2QCD
NthBase
;
132
};
133
136
template
<>
137
struct
ClassTraits<MEQq2Qq>:
public
ClassTraitsBase<MEQq2Qq> {
139
static
string
className
() {
return
"ThePEG::MEQq2Qq"
; }
143
static
string
library
() {
return
"MEQCD.so"
; }
144
};
145
148
}
149
150
#endif
/* ThePEG_MEQq2Qq_H */
Generated on Sat Jun 16 2012 16:51:04 for ThePEG by
1.8.1.1