herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
18namespace Herwig {
19
20using namespace ThePEG;
21
27
28public:
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
57public:
58
66
72 void persistentInput(PersistentIStream & is, int version);
74
81 static void Init();
82
83protected:
84
91 virtual IBPtr clone() const;
92
97 virtual IBPtr fullclone() const;
99
100private:
101
107
108private:
109
113 BtoSGammaHadronicMassPtr _hadronicmass;
114};
115
116}
117
118#endif /* HERWIG_BtoSGammaDecayer_H */
Here is the documentation of the BtoSGammaDecayer class.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
BtoSGammaDecayer & operator=(const BtoSGammaDecayer &)=delete
The assignment operator is private and must never be called.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
virtual bool accept(tcPDPtr parent, const tPDVector &children) const
Check if this decayer can perfom the decay for a particular mode.
BtoSGammaHadronicMassPtr _hadronicmass
Pointer to the object which generates the hadronic mass spectrum.
static void Init()
The standard Init function used to initialize the interfaces.
virtual ParticleVector decay(const Particle &parent, const tPDVector &children) const
For a given decay mode and a given particle instance, perform the decay and return the decay products...
virtual IBPtr clone() const
Make a simple clone of this object.
Here is the documentation of the PartonicDecayerBase class.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr