thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
PDT
DalitzDecayer.h
1
// -*- C++ -*-
2
//
3
// DalitzDecayer.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef THEPEG_DalitzDecayer_H
10
#define THEPEG_DalitzDecayer_H
11
// This is the declaration of the DalitzDecayer class.
12
13
#include "ThePEG/PDT/Decayer.h"
14
// #include "DalitzDecayer.fh"
15
// #include "DalitzDecayer.xh"
16
17
namespace
ThePEG
{
18
26
class
DalitzDecayer
:
public
Decayer
{
27
28
public
:
29
39
virtual
bool
accept
(
const
DecayMode
& dm)
const
;
40
47
virtual
ParticleVector
decay
(
const
DecayMode
& dm,
const
Particle
& p)
const
;
49
50
public
:
51
58
void
persistentOutput
(
PersistentOStream
& os)
const
;
59
65
void
persistentInput
(
PersistentIStream
& is,
int
version);
67
71
static
void
Init
();
72
73
protected
:
74
81
virtual
IBPtr
clone
()
const
;
82
87
virtual
IBPtr
fullclone
()
const
;
89
90
protected
:
91
99
virtual
void
doinit
();
100
110
virtual
void
rebind
(
const
TranslationMap
& trans)
111
;
112
118
virtual
IVector
getReferences
();
120
121
private
:
122
126
PDPtr
rho
;
127
128
private
:
129
133
static
ClassDescription<DalitzDecayer>
initDalitzDecayer
;
134
138
DalitzDecayer
&
operator=
(
const
DalitzDecayer
&) =
delete
;
139
140
};
141
142
}
143
144
145
namespace
ThePEG
{
146
151
template
<>
152
struct
BaseClassTrait<DalitzDecayer,1>:
public
ClassTraitsType {
154
typedef
Decayer
NthBase
;
155
};
156
160
template
<>
161
struct
ClassTraits<DalitzDecayer>
162
:
public
ClassTraitsBase<DalitzDecayer> {
164
static
string
className
() {
return
"ThePEG::DalitzDecayer"
; }
168
static
string
library
() {
return
"DalitzDecayer.so"
; }
169
170
};
171
174
}
175
176
#endif
/* THEPEG_DalitzDecayer_H */
ThePEG::ClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data.
Definition:
ClassDescription.h:333
ThePEG::DalitzDecayer
The DalitzDecayer inherits from the Decayer class and performs Dalitz decays into .
Definition:
DalitzDecayer.h:26
ThePEG::DalitzDecayer::rebind
virtual void rebind(const TranslationMap &trans)
Rebind pointer to other Interfaced objects.
ThePEG::DalitzDecayer::accept
virtual bool accept(const DecayMode &dm) const
Check if this decayer can perfom the decay specified by the given decay mode.
ThePEG::DalitzDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::DalitzDecayer::operator=
DalitzDecayer & operator=(const DalitzDecayer &)=delete
Private and non-existent assignment operator.
ThePEG::DalitzDecayer::decay
virtual ParticleVector decay(const DecayMode &dm, const Particle &p) const
Perform a decay for a given DecayMode and a given Particle instance.
ThePEG::DalitzDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::DalitzDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
ThePEG::DalitzDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::DalitzDecayer::rho
PDPtr rho
Quick access to the rho particle data.
Definition:
DalitzDecayer.h:126
ThePEG::DalitzDecayer::initDalitzDecayer
static ClassDescription< DalitzDecayer > initDalitzDecayer
Describe a concrete class with persistent data.
Definition:
DalitzDecayer.h:133
ThePEG::DalitzDecayer::getReferences
virtual IVector getReferences()
Return a vector of all pointers to Interfaced objects used in this object.
ThePEG::DalitzDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::DalitzDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
ThePEG::DecayMode
The DecayMode class describes a decay channel of a particle.
Definition:
DecayMode.h:87
ThePEG::Decayer
Decayer is an abstract base class to specify objects modelling the decay of a particle.
Definition:
Decayer.h:29
ThePEG::Particle
The Particle class is used to describe an instance of a particle.
Definition:
Particle.h:83
ThePEG::PersistentIStream
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Definition:
PersistentIStream.h:48
ThePEG::PersistentOStream
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
Definition:
PersistentOStream.h:51
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Rebinder
Rebinder is a class associating pairs of pointers to objects.
Definition:
Rebinder.h:27
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::ParticleVector
vector< PPtr > ParticleVector
A vector of pointers to Particle objects.
Definition:
Containers.h:73
ThePEG::IVector
vector< IBPtr > IVector
A vector of pointers to InterfacedBase objects.
Definition:
Containers.h:67
ThePEG::BaseClassTrait::NthBase
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition:
ClassTraits.h:161
ThePEG::ClassTraitsBase::className
static string className()
Return the name of class T.
Definition:
ClassTraits.h:66
ThePEG::ClassTraitsBase::library
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition:
ClassTraits.h:85
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6