Herwig 7 is hosted by Hepforge, IPPP Durham
Herwig  7.1.0
Herwig::BtoSGammaHadronicMass Class Referenceabstract

The BtoSGammaHadronicMass class is the base class for the implementation of models of the hadronic mass spectrum in $B\to s\gamma$ decays. More...

#include <BtoSGammaHadronicMass.h>

Inheritance diagram for Herwig::BtoSGammaHadronicMass:

Public Member Functions

 BtoSGammaHadronicMass ()
 The default constructor.
 
virtual Energy hadronicMass (Energy mb, Energy mquark)=0
 Virtual member which must be implemented in classes inheriting from this class to return the hadronic mass. More...
 
virtual void dataBaseOutput (ofstream &os, bool header, bool create) const
 Output the setup information for the particle database. More...
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
virtual IBPtr fullclone () const
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 

Protected Member Functions

Access to the limits on the mass.
Energy minMass () const
 Minimum mass.
 
Energy maxMass () const
 Maximum mass.
 
Functions for the fermi motion needed in classes inheriting from this
InvEnergy exponentialFermiFunction (Energy scale, Energy lambda, double a, InvEnergy norm, Energy2 lambda1) const
 Exponential function of the form, $N(1-x)^ae^{-3\bar{\Lambda}^2x/\lambda_1}$, where $x=k_+/\bar{\Lambda}$ taken from hep-ph/9805303. More...
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Private Member Functions

BtoSGammaHadronicMassoperator= (const BtoSGammaHadronicMass &)
 The assignment operator is private and must never be called. More...
 

Private Attributes

Energy _minMass
 The minimum value of the hadronic mass.
 
Energy _maxMass
 The maximum value of the hadronic mass.
 

Static Private Attributes

static AbstractClassDescription< BtoSGammaHadronicMassinitBtoSGammaHadronicMass
 The static object used to initialize the description of this class. More...
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

The BtoSGammaHadronicMass class is the base class for the implementation of models of the hadronic mass spectrum in $B\to s\gamma$ decays.

Classes inheriting from this class should implement the hadronicMass() member which should return a value of the hadronic mass selected from the distribution.

The parameters relating to the minimum and maximum values of the mass are stored in this class.

Definition at line 34 of file BtoSGammaHadronicMass.h.

Member Function Documentation

◆ dataBaseOutput()

virtual void Herwig::BtoSGammaHadronicMass::dataBaseOutput ( ofstream &  os,
bool  header,
bool  create 
) const
virtual

Output the setup information for the particle database.

Parameters
osThe stream to output the information to
headerWhether or not to output the information for MySQL
createWhether or not to add a statement creating the object

Reimplemented in Herwig::BtoSGammaKagan, and Herwig::BtoSGammaFlatEnergy.

◆ exponentialFermiFunction()

InvEnergy Herwig::BtoSGammaHadronicMass::exponentialFermiFunction ( Energy  scale,
Energy  lambda,
double  a,
InvEnergy  norm,
Energy2  lambda1 
) const
inlineprotected

Exponential function of the form, $N(1-x)^ae^{-3\bar{\Lambda}^2x/\lambda_1}$, where $x=k_+/\bar{\Lambda}$ taken from hep-ph/9805303.

Parameters
scaleThe energy scale, $k_+$, at which to evaluate the function.
lambdaThe hadronic scale, $\bar{\Lambda}$
aThe shape parameter, $a$.
normThe normalisation, $N$.
lambda1Scale related to kinetic energy of b quark, $\lambda_1$.

Definition at line 114 of file BtoSGammaHadronicMass.h.

References pow(), and sqr().

◆ hadronicMass()

virtual Energy Herwig::BtoSGammaHadronicMass::hadronicMass ( Energy  mb,
Energy  mquark 
)
pure virtual

Virtual member which must be implemented in classes inheriting from this class to return the hadronic mass.

Parameters
mbThe mass of the decaying B meson
mquarkThe minimum mass of the hadronic system based on the consistuent quark masses.
Returns
The hadronic mass

Implemented in Herwig::BtoSGammaKagan, and Herwig::BtoSGammaFlatEnergy.

◆ Init()

static void Herwig::BtoSGammaHadronicMass::Init ( )
static

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

◆ operator=()

BtoSGammaHadronicMass& Herwig::BtoSGammaHadronicMass::operator= ( const BtoSGammaHadronicMass )
private

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::BtoSGammaHadronicMass::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void Herwig::BtoSGammaHadronicMass::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ initBtoSGammaHadronicMass

AbstractClassDescription<BtoSGammaHadronicMass> Herwig::BtoSGammaHadronicMass::initBtoSGammaHadronicMass
staticprivate

The static object used to initialize the description of this class.

Indicates that this is an abstract class with persistent data.

Definition at line 127 of file BtoSGammaHadronicMass.h.


The documentation for this class was generated from the following file: