herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
GravitonMassGenerator.h
1// -*- C++ -*-
2#ifndef HERWIG_GravitonMassGenerator_H
3#define HERWIG_GravitonMassGenerator_H
4//
5// This is the declaration of the GravitonMassGenerator class.
6//
7
8#include "Herwig/PDT/GenericMassGenerator.h"
9
10namespace Herwig {
11
12using namespace ThePEG;
13
21
22public:
23
28
29public:
30
38
44 void persistentInput(PersistentIStream & is, int version);
46
53 static void Init();
54
55protected:
56
63 virtual IBPtr clone() const;
64
69 virtual IBPtr fullclone() const;
71
72protected:
73
81 virtual void doinit();
83
84protected:
85
96 virtual Energy mass(double & wgt, const ParticleData & part,
97 const Energy low,const Energy upp, int shape,
98 double r=UseRandom::rnd()) const;
99
100private:
101
107
108private:
109
114
118 unsigned int delta_;
119
123 Energy md_;
124
128 Energy mMin_;
129
130};
131
132}
133
134#endif /* HERWIG_GravitonMassGenerator_H */
The GenericMassGenerator class is a simple class for the generation of particle masses in Herwig.
Here is the documentation of the GravitonMassGenerator class.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
unsigned int delta_
Number of extra dimensions.
virtual IBPtr clone() const
Make a simple clone of this object.
GravitonMassGenerator & operator=(const GravitonMassGenerator &)=delete
The assignment operator is private and must never be called.
Energy mMin_
Minimum mass cut to avoid numerical problems.
virtual Energy mass(double &wgt, const ParticleData &part, const Energy low, const Energy upp, int shape, double r=UseRandom::rnd()) const
Return a mass with the weight using the specified limits.
Energy md_
d-dimensional Planck mass
GravitonMassGenerator()
The default constructor.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static void Init()
The standard Init function used to initialize the interfaces.
static double rnd()
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr