CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::RandBreitWigner Class Reference

#include <CLHEP/Random/RandBreitWigner.h>

Inheritance diagram for CLHEP::RandBreitWigner:
CLHEP::HepRandom

Public Member Functions

 RandBreitWigner (HepRandomEngine &anEngine, double a=1.0, double b=0.2)
 
 RandBreitWigner (HepRandomEngine *anEngine, double a=1.0, double b=0.2)
 
virtual ~RandBreitWigner ()
 
double fire ()
 
double fire (double a, double b)
 
double fire (double a, double b, double c)
 
double fireM2 ()
 
double fireM2 (double a, double b)
 
double fireM2 (double a, double b, double c)
 
void fireArray (const int size, double *vect)
 
void fireArray (const int size, double *vect, double a, double b)
 
void fireArray (const int size, double *vect, double a, double b, double c)
 
double operator() ()
 
double operator() (double a, double b)
 
double operator() (double a, double b, double c)
 
std::ostream & put (std::ostream &os) const
 
std::istream & get (std::istream &is)
 
std::string name () const
 
HepRandomEngineengine ()
 
- Public Member Functions inherited from CLHEP::HepRandom
 HepRandom ()
 
 HepRandom (long seed)
 
 HepRandom (HepRandomEngine &algorithm)
 
 HepRandom (HepRandomEngine *algorithm)
 
virtual ~HepRandom ()
 
double flat ()
 
void flatArray (const int size, double *vect)
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (HepRandomEngine *theNewEngine, const int size, double *vect)
 

Static Public Member Functions

static double shoot (double a=1.0, double b=0.2)
 
static double shoot (double a, double b, double c)
 
static double shootM2 (double a=1.0, double b=0.2)
 
static double shootM2 (double a, double b, double c)
 
static void shootArray (const int size, double *vect)
 
static void shootArray (const int size, double *vect, double a, double b)
 
static void shootArray (const int size, double *vect, double a, double b, double c)
 
static double shoot (HepRandomEngine *anEngine, double a=1.0, double b=0.2)
 
static double shoot (HepRandomEngine *anEngine, double a, double b, double c)
 
static double shootM2 (HepRandomEngine *anEngine, double a=1.0, double b=0.2)
 
static double shootM2 (HepRandomEngine *anEngine, double a, double b, double c)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double a, double b)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double a, double b, double c)
 
static std::string distributionName ()
 
- Static Public Member Functions inherited from CLHEP::HepRandom
static void setTheSeed (long seed, int lxr=3)
 
static long getTheSeed ()
 
static void setTheSeeds (const long *seeds, int aux=-1)
 
static const long * getTheSeeds ()
 
static void getTheTableSeeds (long *seeds, int index)
 
static HepRandomgetTheGenerator ()
 
static void setTheEngine (HepRandomEngine *theNewEngine)
 
static HepRandomEnginegetTheEngine ()
 
static void saveEngineStatus (const char filename[]="Config.conf")
 
static void restoreEngineStatus (const char filename[]="Config.conf")
 
static std::ostream & saveFullState (std::ostream &os)
 
static std::istream & restoreFullState (std::istream &is)
 
static std::ostream & saveDistState (std::ostream &os)
 
static std::istream & restoreDistState (std::istream &is)
 
static std::ostream & saveStaticRandomStates (std::ostream &os)
 
static std::istream & restoreStaticRandomStates (std::istream &is)
 
static void showEngineStatus ()
 
static int createInstance ()
 
static std::string distributionName ()
 

Additional Inherited Members

- Static Protected Attributes inherited from CLHEP::HepRandom
static const long seedTable [215][2]
 

Detailed Description

Constructor & Destructor Documentation

◆ RandBreitWigner() [1/2]

CLHEP::RandBreitWigner::RandBreitWigner ( HepRandomEngine & anEngine,
double a = 1.0,
double b = 0.2 )
inline

Definition at line 17 of file RandBreitWigner.icc.

References CLHEP::HepRandom::HepRandom().

◆ RandBreitWigner() [2/2]

CLHEP::RandBreitWigner::RandBreitWigner ( HepRandomEngine * anEngine,
double a = 1.0,
double b = 0.2 )
inline

Definition at line 22 of file RandBreitWigner.icc.

References CLHEP::HepRandom::HepRandom().

◆ ~RandBreitWigner()

virtual CLHEP::RandBreitWigner::~RandBreitWigner ( )
virtual

Member Function Documentation

◆ distributionName()

static std::string CLHEP::RandBreitWigner::distributionName ( )
inlinestatic

Definition at line 132 of file RandBreitWigner.h.

◆ engine()

HepRandomEngine & CLHEP::RandBreitWigner::engine ( )
virtual

Reimplemented from CLHEP::HepRandom.

◆ fire() [1/3]

double CLHEP::RandBreitWigner::fire ( )

◆ fire() [2/3]

double CLHEP::RandBreitWigner::fire ( double a,
double b )

◆ fire() [3/3]

double CLHEP::RandBreitWigner::fire ( double a,
double b,
double c )

◆ fireArray() [1/3]

void CLHEP::RandBreitWigner::fireArray ( const int size,
double * vect )

◆ fireArray() [2/3]

void CLHEP::RandBreitWigner::fireArray ( const int size,
double * vect,
double a,
double b )

◆ fireArray() [3/3]

void CLHEP::RandBreitWigner::fireArray ( const int size,
double * vect,
double a,
double b,
double c )

◆ fireM2() [1/3]

double CLHEP::RandBreitWigner::fireM2 ( )

◆ fireM2() [2/3]

double CLHEP::RandBreitWigner::fireM2 ( double a,
double b )

◆ fireM2() [3/3]

double CLHEP::RandBreitWigner::fireM2 ( double a,
double b,
double c )

◆ get()

std::istream & CLHEP::RandBreitWigner::get ( std::istream & is)
virtual

Reimplemented from CLHEP::HepRandom.

◆ name()

std::string CLHEP::RandBreitWigner::name ( ) const
virtual

Reimplemented from CLHEP::HepRandom.

◆ operator()() [1/3]

double CLHEP::RandBreitWigner::operator() ( )
virtual

Reimplemented from CLHEP::HepRandom.

◆ operator()() [2/3]

double CLHEP::RandBreitWigner::operator() ( double a,
double b )

◆ operator()() [3/3]

double CLHEP::RandBreitWigner::operator() ( double a,
double b,
double c )

◆ put()

std::ostream & CLHEP::RandBreitWigner::put ( std::ostream & os) const
virtual

Reimplemented from CLHEP::HepRandom.

◆ shoot() [1/4]

static double CLHEP::RandBreitWigner::shoot ( double a,
double b,
double c )
static

◆ shoot() [2/4]

static double CLHEP::RandBreitWigner::shoot ( double a = 1.0,
double b = 0.2 )
static

◆ shoot() [3/4]

static double CLHEP::RandBreitWigner::shoot ( HepRandomEngine * anEngine,
double a,
double b,
double c )
static

◆ shoot() [4/4]

static double CLHEP::RandBreitWigner::shoot ( HepRandomEngine * anEngine,
double a = 1.0,
double b = 0.2 )
static

◆ shootArray() [1/6]

static void CLHEP::RandBreitWigner::shootArray ( const int size,
double * vect )
static

◆ shootArray() [2/6]

static void CLHEP::RandBreitWigner::shootArray ( const int size,
double * vect,
double a,
double b )
static

◆ shootArray() [3/6]

static void CLHEP::RandBreitWigner::shootArray ( const int size,
double * vect,
double a,
double b,
double c )
static

◆ shootArray() [4/6]

static void CLHEP::RandBreitWigner::shootArray ( HepRandomEngine * anEngine,
const int size,
double * vect )
static

◆ shootArray() [5/6]

static void CLHEP::RandBreitWigner::shootArray ( HepRandomEngine * anEngine,
const int size,
double * vect,
double a,
double b )
static

◆ shootArray() [6/6]

static void CLHEP::RandBreitWigner::shootArray ( HepRandomEngine * anEngine,
const int size,
double * vect,
double a,
double b,
double c )
static

◆ shootM2() [1/4]

static double CLHEP::RandBreitWigner::shootM2 ( double a,
double b,
double c )
static

◆ shootM2() [2/4]

static double CLHEP::RandBreitWigner::shootM2 ( double a = 1.0,
double b = 0.2 )
static

◆ shootM2() [3/4]

static double CLHEP::RandBreitWigner::shootM2 ( HepRandomEngine * anEngine,
double a,
double b,
double c )
static

◆ shootM2() [4/4]

static double CLHEP::RandBreitWigner::shootM2 ( HepRandomEngine * anEngine,
double a = 1.0,
double b = 0.2 )
static

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