ThePEG
1.8.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PDT
DummyDecayer.h
1
// -*- C++ -*-
2
//
3
// DummyDecayer.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_DummyDecayer_H
10
#define THEPEG_DummyDecayer_H
11
// This is the declaration of the DummyDecayer class.
12
13
#include "ThePEG/PDT/Decayer.h"
14
15
namespace
ThePEG {
16
25
class
DummyDecayer
:
public
Decayer
{
26
27
public
:
28
38
virtual
bool
accept
(
const
DecayMode
& dm)
const
;
39
47
virtual
ParticleVector
decay
(
const
DecayMode
& dm,
const
Particle
& p)
const
;
48
53
virtual
double
brat
(
const
DecayMode
&,
54
const
ParticleData
&,
double
)
const
;
59
virtual
double
brat
(
const
DecayMode
&,
const
Particle
&,
double
)
const
;
61
62
public
:
63
67
static
void
Init
();
68
69
protected
:
70
71
72
protected
:
73
80
virtual
IBPtr
clone
()
const
;
81
86
virtual
IBPtr
fullclone
()
const
;
88
89
private
:
90
94
static
NoPIOClassDescription<DummyDecayer>
initDummyDecayer
;
95
99
DummyDecayer
&
operator=
(
const
DummyDecayer
&);
100
101
};
102
103
}
104
105
106
namespace
ThePEG {
107
112
template
<>
113
struct
BaseClassTrait<DummyDecayer,1>:
public
ClassTraitsType {
115
typedef
Decayer
NthBase
;
116
};
117
120
template
<>
121
struct
ClassTraits<DummyDecayer>
122
:
public
ClassTraitsBase<DummyDecayer> {
124
static
string
className
() {
return
"ThePEG::DummyDecayer"
; }
125
126
};
127
130
}
131
132
#endif
/* THEPEG_DummyDecayer_H */
Generated on Sat Jun 16 2012 16:51:03 for ThePEG by
1.8.1.1