herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
BtoSGammaDecayer.h
1 // -*- C++ -*-
2 //
3 // BtoSGammaDecayer.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_BtoSGammaDecayer_H
10 #define HERWIG_BtoSGammaDecayer_H
11 //
12 // This is the declaration of the BtoSGammaDecayer class.
13 //
14 
15 #include "PartonicDecayerBase.h"
16 #include "Herwig/Decay/FormFactors/BtoSGammaHadronicMass.h"
17 
18 namespace Herwig {
19 
20 using namespace ThePEG;
21 
27 
28 public:
29 
38  virtual bool accept(tcPDPtr parent, const tPDVector & children) const;
39 
46  virtual ParticleVector decay(const Particle & parent,
47  const tPDVector & children) const;
48 
54  virtual void dataBaseOutput(ofstream & os,bool header) const;
56 
57 public:
58 
65  void persistentOutput(PersistentOStream & os) const;
66 
72  void persistentInput(PersistentIStream & is, int version);
74 
81  static void Init();
82 
83 protected:
84 
91  virtual IBPtr clone() const;
92 
97  virtual IBPtr fullclone() const;
99 
100 private:
101 
106  BtoSGammaDecayer & operator=(const BtoSGammaDecayer &) = delete;
107 
108 private:
109 
113  BtoSGammaHadronicMassPtr _hadronicmass;
114 };
115 
116 }
117 
118 #endif /* HERWIG_BtoSGammaDecayer_H */
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
BtoSGammaHadronicMassPtr _hadronicmass
Pointer to the object which generates the hadronic mass spectrum.
vector< tPDPtr > tPDVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
-*- C++ -*-
Here is the documentation of the PartonicDecayerBase class.
vector< PPtr > ParticleVector
Here is the documentation of the BtoSGammaDecayer class.