herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
PDT
BaryonWidthGenerator.h
1
// -*- C++ -*-
2
#ifndef HERWIG_BaryonWidthGenerator_H
3
#define HERWIG_BaryonWidthGenerator_H
4
//
5
// This is the declaration of the BaryonWidthGenerator class.
6
//
7
8
#include "GenericWidthGenerator.h"
9
#include "BaryonWidthGenerator.fh"
10
#include "Herwig/Decay/Baryon/Baryon1MesonDecayerBase.h"
11
12
namespace
Herwig
{
13
using namespace
ThePEG
;
14
26
class
BaryonWidthGenerator
:
public
GenericWidthGenerator
{
27
28
public
:
29
36
void
persistentOutput
(
PersistentOStream
& os)
const
;
37
43
void
persistentInput
(
PersistentIStream
& is,
int
version);
45
52
static
void
Init
();
53
54
public
:
55
61
virtual
void
dataBaseOutput
(ofstream &
output
,
bool
header=
true
);
62
63
72
virtual
Energy
partial2BodyWidth
(
int
iloc,Energy m0,Energy m1,Energy m2)
const
;
73
74
protected
:
75
82
virtual
void
setupMode
(
tcDMPtr
mode, tDecayIntegratorPtr decayer,
unsigned
int
imode);
83
84
protected
:
85
92
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
93
98
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
100
101
protected
:
102
105
111
virtual
void
doinit
();
113
114
private
:
115
120
BaryonWidthGenerator
&
operator=
(
const
BaryonWidthGenerator
&) =
delete
;
121
122
private
:
123
127
vector<Baryon1MesonDecayerBasePtr>
_baryondecayers
;
128
132
vector<int>
_modeloc
;
133
134
};
135
136
}
137
138
#endif
/* HERWIG_BaryonWidthGenerator_H */
Herwig::BaryonWidthGenerator
The BaryonWidthGenerator class is designed to automatically calculate the running width for a given p...
Definition:
BaryonWidthGenerator.h:26
Herwig::BaryonWidthGenerator::_modeloc
vector< int > _modeloc
Location of the decay mode in the decayer.
Definition:
BaryonWidthGenerator.h:132
Herwig::BaryonWidthGenerator::setupMode
virtual void setupMode(tcDMPtr mode, tDecayIntegratorPtr decayer, unsigned int imode)
Perform the set up for a mode, this is called by the base class.
Herwig::BaryonWidthGenerator::_baryondecayers
vector< Baryon1MesonDecayerBasePtr > _baryondecayers
vector of pointers to the decayers
Definition:
BaryonWidthGenerator.h:127
Herwig::BaryonWidthGenerator::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
BaryonWidthGenerator.h:92
Herwig::BaryonWidthGenerator::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::BaryonWidthGenerator::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::BaryonWidthGenerator::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::BaryonWidthGenerator::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
BaryonWidthGenerator.h:98
Herwig::BaryonWidthGenerator::partial2BodyWidth
virtual Energy partial2BodyWidth(int iloc, Energy m0, Energy m1, Energy m2) const
The width for outgoing particles which can be off-shell.
Herwig::BaryonWidthGenerator::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::BaryonWidthGenerator::dataBaseOutput
virtual void dataBaseOutput(ofstream &output, bool header=true)
Output the initialisation info for the database.
Herwig::BaryonWidthGenerator::operator=
BaryonWidthGenerator & operator=(const BaryonWidthGenerator &)=delete
The assignment operator is private and must never be called.
Herwig::GenericWidthGenerator
The GenericWidthGenerator class is designed to automatically calculate the running width for a given ...
Definition:
GenericWidthGenerator.h:51
Herwig::GenericWidthGenerator::output
bool output() const
Output option for use by the inheriting classes.
Definition:
GenericWidthGenerator.h:289
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::tcDMPtr
ThePEG::Ptr< DecayMode >::transient_const_pointer tcDMPtr
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6