herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
HeavyDecayer.h
1 // -*- C++ -*-
2 //
3 // HeavyDecayer.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig 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 HERWIG_HeavyDecayer_H
10 #define HERWIG_HeavyDecayer_H
11 // This is the declaration of the HeavyDecayer class.
12 
13 #include "PartonicDecayerBase.h"
14 
15 namespace Herwig {
16 
17 using namespace ThePEG;
18 
48 
49 public:
50 
54  HeavyDecayer();
55 
62  virtual bool accept(tcPDPtr parent, const tPDVector & children) const;
63 
70  virtual ParticleVector decay(const Particle & parent,
71  const tPDVector & children) const;
72 
78  virtual void dataBaseOutput(ofstream & os,bool header) const;
79 
80 public:
81 
85  static void Init();
86 
93  void persistentOutput(PersistentOStream & os) const;
94 
99  void persistentInput(PersistentIStream & is, int version);
101 
108  virtual IBPtr clone() const;
109 
114  virtual IBPtr fullclone() const;
116 
117 private:
118 
122  static double VAWt(Energy2, Energy2, Energy2, InvEnergy4);
123 
124 private:
125 
129  const HeavyDecayer & operator=(const HeavyDecayer &) = delete;
130 
131 private:
132 
136  int MECode;
137 };
138 
139 }
140 
141 #endif /* HERWIG_HeavyDecayer_H */
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
This class is designed for the partonic decay of a bottom or charm mesons and baryons and is intended...
Definition: HeavyDecayer.h:47
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
-*- C++ -*-
Here is the documentation of the PartonicDecayerBase class.
vector< PPtr > ParticleVector
int MECode
The code for the matrix element being used.
Definition: HeavyDecayer.h:136