The Gaudi Framework  master (37c0b60a)
Rndm::BreitWignerCutOff Class Reference

Parameters for the BreitWigner distributed random number generation with cut off;. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/RndmGenerators.h>

Inheritance diagram for Rndm::BreitWignerCutOff:
Collaboration diagram for Rndm::BreitWignerCutOff:

Public Member Functions

 BreitWignerCutOff (double m, double g, double c)
 Standard Constructor. More...
 
double mean () const
 Access mean value of the distribution. More...
 
double gamma () const
 Access width of the distribution. More...
 
double cutOff () const
 Access width of the distribution. More...
 
BreitWignerCutOffclone () const override
 Clone parameters. More...
 
- Public Member Functions inherited from IRndmGen::Param
 Param (const InterfaceID &type=IID_IRndmFlat)
 Standard constructor. More...
 
virtual ~Param ()=default
 Standard Destructor. More...
 
virtual const InterfaceIDtype () const
 Parameter's type. More...
 

Static Public Member Functions

static const InterfaceIDtypeID ()
 Identifier for factory. More...
 

Protected Attributes

double m_mean
 Mean, Gamma and cut off parameter of the Breit-Wigner distribution. More...
 
double m_gamma
 
double m_cut
 
- Protected Attributes inherited from IRndmGen::Param
const InterfaceID m_type
 Type of the generator. More...
 

Friends

class Generator< BreitWignerCutOff >
 

Detailed Description

Parameters for the BreitWigner distributed random number generation with cut off;.

Definition at line 139 of file RndmGenerators.h.

Constructor & Destructor Documentation

◆ BreitWignerCutOff()

Rndm::BreitWignerCutOff::BreitWignerCutOff ( double  m,
double  g,
double  c 
)
inline

Standard Constructor.

Definition at line 148 of file RndmGenerators.h.

149  : IRndmGen::Param( IID_IRndmBreitWignerCutOff ), m_mean( m ), m_gamma( g ), m_cut( c ) {}

Member Function Documentation

◆ clone()

BreitWignerCutOff* Rndm::BreitWignerCutOff::clone ( ) const
inlineoverridevirtual

Clone parameters.

Implements IRndmGen::Param.

Definition at line 159 of file RndmGenerators.h.

159 { return new BreitWignerCutOff( m_mean, m_gamma, m_cut ); }

◆ cutOff()

double Rndm::BreitWignerCutOff::cutOff ( ) const
inline

Access width of the distribution.

Definition at line 155 of file RndmGenerators.h.

155 { return m_cut; }

◆ gamma()

double Rndm::BreitWignerCutOff::gamma ( ) const
inline

Access width of the distribution.

Definition at line 153 of file RndmGenerators.h.

153 { return m_gamma; }

◆ mean()

double Rndm::BreitWignerCutOff::mean ( ) const
inline

Access mean value of the distribution.

Definition at line 151 of file RndmGenerators.h.

151 { return m_mean; }

◆ typeID()

static const InterfaceID& Rndm::BreitWignerCutOff::typeID ( )
inlinestatic

Identifier for factory.

Definition at line 157 of file RndmGenerators.h.

157 { return IID_IRndmBreitWignerCutOff; }

Friends And Related Function Documentation

◆ Generator< BreitWignerCutOff >

friend class Generator< BreitWignerCutOff >
friend

Definition at line 133 of file RndmGenerators.h.

Member Data Documentation

◆ m_cut

double Rndm::BreitWignerCutOff::m_cut
protected

Definition at line 144 of file RndmGenerators.h.

◆ m_gamma

double Rndm::BreitWignerCutOff::m_gamma
protected

Definition at line 144 of file RndmGenerators.h.

◆ m_mean

double Rndm::BreitWignerCutOff::m_mean
protected

Mean, Gamma and cut off parameter of the Breit-Wigner distribution.

Definition at line 144 of file RndmGenerators.h.


The documentation for this class was generated from the following file:
Rndm::BreitWignerCutOff::m_gamma
double m_gamma
Definition: RndmGenerators.h:144
gaudirun.c
c
Definition: gaudirun.py:525
gaudirun.g
dictionary g
Definition: gaudirun.py:582
Gaudi::Units::m
constexpr double m
Definition: SystemOfUnits.h:108
Rndm::BreitWignerCutOff::m_cut
double m_cut
Definition: RndmGenerators.h:144
IRndmGen::Param
Definition: IRndmGen.h:49
Rndm::BreitWignerCutOff::m_mean
double m_mean
Mean, Gamma and cut off parameter of the Breit-Wigner distribution.
Definition: RndmGenerators.h:144
Rndm::BreitWignerCutOff::BreitWignerCutOff
BreitWignerCutOff(double m, double g, double c)
Standard Constructor.
Definition: RndmGenerators.h:148