thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
PDT
BreitWignerMass.h
1
// -*- C++ -*-
2
//
3
// BreitWignerMass.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_BreitWignerMass_H
10
#define ThePEG_BreitWignerMass_H
11
// This is the declaration of the BreitWignerMass class.
12
13
#include "ThePEG/PDT/MassGenerator.h"
14
15
namespace
ThePEG
{
16
27
class
BreitWignerMass
:
public
MassGenerator
{
28
29
public
:
30
37
virtual
bool
accept
(
const
ParticleData
&)
const
{
return
true
; }
38
42
virtual
Energy
mass
(
const
ParticleData
&)
const
;
44
45
public
:
46
50
static
void
Init
();
51
52
protected
:
53
60
virtual
IBPtr
clone
()
const
;
61
66
virtual
IBPtr
fullclone
()
const
;
68
69
private
:
70
74
static
NoPIOClassDescription<BreitWignerMass>
initBreitWignerMass
;
75
79
BreitWignerMass
&
operator=
(
const
BreitWignerMass
&) =
delete
;
80
81
};
82
83
85
ThePEG_DECLARE_DYNAMIC_CLASS_TRAITS(
BreitWignerMass
,
MassGenerator
,
"BreitWignerMass.so"
);
88
}
89
90
#endif
/* ThePEG_BreitWignerMass_H */
ThePEG::BreitWignerMass
BreitWignerMass is derived from MassGenerator and is able to generate the mass for a particle given i...
Definition:
BreitWignerMass.h:27
ThePEG::BreitWignerMass::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::BreitWignerMass::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::BreitWignerMass::accept
virtual bool accept(const ParticleData &) const
Return true if this mass generator can handle the given particle type.
Definition:
BreitWignerMass.h:37
ThePEG::BreitWignerMass::initBreitWignerMass
static NoPIOClassDescription< BreitWignerMass > initBreitWignerMass
Describe concrete class without persistent data.
Definition:
BreitWignerMass.h:74
ThePEG::BreitWignerMass::Init
static void Init()
Standard Init function used to initialize the interface.
ThePEG::BreitWignerMass::mass
virtual Energy mass(const ParticleData &) const
Generate a mass for an instance of a given particle type.
ThePEG::BreitWignerMass::operator=
BreitWignerMass & operator=(const BreitWignerMass &)=delete
Private and non-existent assignment operator.
ThePEG::MassGenerator
MassGenerator is an abstract base class used by the ParticleData class to generate a mass for a Parti...
Definition:
MassGenerator.h:27
ThePEG::NoPIOClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
Definition:
ClassDescription.h:381
ThePEG::ParticleData
ParticleData inherits from InterfacedBase and represents the properties of a particle type.
Definition:
ParticleData.h:36
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Qty< 0, 1, 0 >
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6