herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
BtoSGammaFlatEnergy.h
1 // -*- C++ -*-
2 //
3 // BtoSGammaFlatEnergy.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_BtoSGammaFlatEnergy_H
10 #define HERWIG_BtoSGammaFlatEnergy_H
11 //
12 // This is the declaration of the BtoSGammaFlatEnergy class.
13 //
14 
15 #include "BtoSGammaHadronicMass.h"
16 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
31 
32 public:
33 
41  virtual Energy hadronicMass(Energy mb, Energy mquark);
42 
49  virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
50 
51 public:
52 
59  static void Init();
60 
61 protected:
62 
69  virtual IBPtr clone() const {return new_ptr(*this);}
70 
75  virtual IBPtr fullclone() const {return new_ptr(*this);}
77 
78 private:
79 
84  BtoSGammaFlatEnergy & operator=(const BtoSGammaFlatEnergy &) = delete;
85 
86 };
87 
88 }
89 
90 #endif /* HERWIG_BtoSGammaFlatEnergy_H */
The BtoSGammaHadronicMass class is the base class for the implementation of models of the hadronic ma...
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
The BtoSGammaFlatEnergy class is a model of the hadronic mass is decays which produces a flat photon...
-*- C++ -*-
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual IBPtr clone() const
Make a simple clone of this object.