herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
QuarkoniumDecayer.h
1 // -*- C++ -*-
2 //
3 // QuarkoniumDecayer.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_QuarkoniumDecayer_H
10 #define HERWIG_QuarkoniumDecayer_H
11 //
12 // This is the declaration of the QuarkoniumDecayer class.
13 //
14 
15 #include "PartonicDecayerBase.h"
16 
17 namespace Herwig {
18 using namespace ThePEG;
19 
51 
52 public:
53 
58 
65  virtual bool accept(tcPDPtr parent, const tPDVector & children) const;
66 
73  virtual ParticleVector decay(const Particle & parent,
74  const tPDVector & children) const;
75 
76 
82  virtual void dataBaseOutput(ofstream & os,bool header) const;
83 
84 public:
85 
89  static void Init();
90 
94  void persistentOutput(PersistentOStream &) const;
95 
99  void persistentInput(PersistentIStream &, int);
100 
104 protected:
105 
109  virtual IBPtr clone() const;
110 
114  virtual IBPtr fullclone() const;
115 
116 private:
117 
121  const QuarkoniumDecayer & operator=(const QuarkoniumDecayer &) = delete;
122 
123 private:
124 
128  int MECode;
129 };
130 
131 }
132 
133 #endif /* HERWIG_QuarkoniumDecayer_H */
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
The QuarkoniumDecayer class is designed for the partonic decay of bottom and charmonium resonances...
-*- C++ -*-
Here is the documentation of the PartonicDecayerBase class.
int MECode
The code for the type of matrix element being used.
vector< PPtr > ParticleVector