herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
10 namespace Herwig {
11 
12 using namespace ThePEG;
13 
21 
22 public:
23 
28 
29 public:
30 
37  void persistentOutput(PersistentOStream & os) const;
38 
44  void persistentInput(PersistentIStream & is, int version);
46 
53  static void Init();
54 
55 protected:
56 
63  virtual IBPtr clone() const;
64 
69  virtual IBPtr fullclone() const;
71 
72 protected:
73 
81  virtual void doinit();
83 
84 protected:
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 
100 private:
101 
106  GravitonMassGenerator & operator=(const GravitonMassGenerator &) = delete;
107 
108 private:
109 
113  double prefactor_;
114 
118  unsigned int delta_;
119 
123  Energy md_;
124 
128  Energy mMin_;
129 
130 };
131 
132 }
133 
134 #endif /* HERWIG_GravitonMassGenerator_H */
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
static double rnd()
unsigned int delta_
Number of extra dimensions.
Energy md_
d-dimensional Planck mass
Here is the documentation of the GravitonMassGenerator class.
-*- C++ -*-
Energy mMin_
Minimum mass cut to avoid numerical problems.
The GenericMassGenerator class is a simple class for the generation of particle masses in Herwig...