herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::SMHiggsMassGenerator Class Reference

The SMHiggsMassGenerator class implements the generation of the Higgs boson mass according to the prescription of hep-ph/9505211. More...

#include <SMHiggsMassGenerator.h>

Inheritance diagram for Herwig::SMHiggsMassGenerator:

Public Member Functions

 SMHiggsMassGenerator ()
 The default constructor.
 
virtual double weight (Energy q, int shape) const
 Weight for the factor for an off-shell mass. More...
 
bool accept (const ParticleData &part) const
 Return true if this mass generator can handle the given particle type. More...
 
virtual void dataBaseOutput (ofstream &, bool)
 output for the database
 
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 Herwig::GenericMassGenerator
 GenericMassGenerator ()
 Default constructor.
 
virtual ~GenericMassGenerator ()
 Destructor.
 
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...
 
Energy mass (const ParticleData &part) const
 Generate a mass using the default limits. More...
 
Energy mass (const ParticleData &part, const Energy low, const Energy upp) const
 Generate a mass using specified limits. More...
 
Energy mass (double &wgt, const ParticleData &part, double r=UseRandom::rnd()) const
 Return a mass with the weight using the default limits. More...
 
Energy mass (double &wgt, const ParticleData &part, const Energy low, const Energy upp, double r=UseRandom::rnd()) const
 Return a mass with the weight using the specified limits. More...
 
virtual double weight (Energy q) const
 Weight for the factor. More...
 
virtual InvEnergy2 BreitWignerWeight (Energy q)
 Return the full weight.
 
pair< Energy, Energy > width (Energy q, int shape) const
 The running width. More...
 
Energy lowerLimit () const
 Lower limit on the mass.
 
Energy upperLimit () const
 Upper limit on the mass.
 
Energy nominalMass () const
 Default mass.
 
Energy nominalWidth () const
 Default Width.
 
- 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 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())
 
 Named (const Named &)=default
 
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 Herwig::GenericMassGenerator
static void Init ()
 Standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from ThePEG::MassGenerator
static void Init ()
 
- 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

virtual InvEnergy2 BreitWignerWeight (Energy q, int shape) const
 Weight for the factor for an off-shell mass. More...
 
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 
Standard Interfaced functions.
virtual void doinit ()
 Initialize this object after the setup phase before saving and EventGenerator to disk. More...
 
- Protected Member Functions inherited from Herwig::GenericMassGenerator
virtual void dofinish ()
 Finalize this object. More...
 
virtual void rebind (const TranslationMap &trans)
 Rebind pointer to other Interfaced objects. More...
 
virtual IVector getReferences ()
 Return a vector of all pointers to Interfaced objects used in this object. More...
 
virtual Energy mass (double &wgt, const ParticleData &, const Energy low, const Energy upp, int shape, double r=UseRandom::rnd()) const
 Return a mass with the weight using the specified limits. More...
 
Energy mass (double &wgt, const ParticleData &part, int shape, double r=UseRandom::rnd()) const
 Return a mass with the weight using the default limits. More...
 
tcPDPtr particle () const
 Accesss to the particle.
 
void particle (tPDPtr in)
 Set the particle.
 
- 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
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinitrun ()
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinitrun ()
 
- 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

SMHiggsMassGeneratoroperator= (const SMHiggsMassGenerator &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

unsigned int _shape
 Option for the line-shape.
 
GenericWidthGeneratorPtr _hwidth
 The width generator.
 

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 SMHiggsMassGenerator class implements the generation of the Higgs boson mass according to the prescription of hep-ph/9505211.

See also
The interfaces defined for SMHiggsMassGenerator.

Definition at line 29 of file SMHiggsMassGenerator.h.

Member Function Documentation

◆ accept()

bool Herwig::SMHiggsMassGenerator::accept ( const ParticleData part) const
virtual

Return true if this mass generator can handle the given particle type.

Parameters
partThe particle data pointer of the particle.
Returns
True ig this class can handle the particle and false otherwise

Reimplemented from Herwig::GenericMassGenerator.

◆ BreitWignerWeight()

virtual InvEnergy2 Herwig::SMHiggsMassGenerator::BreitWignerWeight ( Energy  q,
int  shape 
) const
inlineprotectedvirtual

Weight for the factor for an off-shell mass.

Parameters
qThe off-shell mass
shapeThe type of shape to use as for the BreitWignerShape interface
Returns
The weight.

Reimplemented from Herwig::GenericMassGenerator.

Definition at line 95 of file SMHiggsMassGenerator.h.

References sqr().

◆ clone()

virtual IBPtr Herwig::SMHiggsMassGenerator::clone ( ) const
inlineprotectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Reimplemented from Herwig::GenericMassGenerator.

Definition at line 116 of file SMHiggsMassGenerator.h.

◆ doinit()

virtual void Herwig::SMHiggsMassGenerator::doinit ( )
protectedvirtual

Initialize this object after the setup phase before saving and EventGenerator to disk.

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from Herwig::GenericMassGenerator.

◆ fullclone()

virtual IBPtr Herwig::SMHiggsMassGenerator::fullclone ( ) const
inlineprotectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from Herwig::GenericMassGenerator.

Definition at line 122 of file SMHiggsMassGenerator.h.

◆ Init()

static void Herwig::SMHiggsMassGenerator::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=()

SMHiggsMassGenerator& Herwig::SMHiggsMassGenerator::operator= ( const SMHiggsMassGenerator )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::SMHiggsMassGenerator::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::SMHiggsMassGenerator::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ weight()

virtual double Herwig::SMHiggsMassGenerator::weight ( Energy  q,
int  shape 
) const
inlinevirtual

Weight for the factor for an off-shell mass.

Parameters
qThe off-shell mass
shapeThe type of shape to use as for the BreitWignerShape interface
Returns
The weight.

Reimplemented from Herwig::GenericMassGenerator.

Definition at line 44 of file SMHiggsMassGenerator.h.

References sqr().


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