25#ifndef RandBreitWigner_h
26#define RandBreitWigner_h 1
28#include "CLHEP/Random/defs.h"
29#include "CLHEP/Random/RandFlat.h"
30#include "CLHEP/Utility/memory.h"
60 static double shoot(
double a=1.0,
double b=0.2 );
62 static double shoot(
double a,
double b,
double c );
64 static double shootM2(
double a=1.0,
double b=0.2 );
66 static double shootM2(
double a,
double b,
double c );
68 static void shootArray (
const int size,
double* vect);
70 static void shootArray (
const int size,
double* vect,
73 static void shootArray (
const int size,
double* vect,
74 double a,
double b,
double c );
88 const int size,
double* vect );
90 const int size,
double* vect,
93 const int size,
double* vect,
94 double a,
double b,
double c );
103 double fire(
double a,
double b );
105 double fire(
double a,
double b,
double c );
109 double fireM2(
double a,
double b );
111 double fireM2(
double a,
double b,
double c );
113 void fireArray (
const int size,
double* vect);
115 void fireArray (
const int size,
double* vect,
116 double a,
double b );
118 void fireArray (
const int size,
double* vect,
119 double a,
double b,
double c );
122 double operator()(
double a,
double b,
double c );
126 std::ostream &
put ( std::ostream & os )
const;
127 std::istream &
get ( std::istream & is );
129 std::string
name()
const;
137 std::shared_ptr<HepRandomEngine> localEngine;
145#ifdef ENABLE_BACKWARDS_COMPATIBILITY
147using namespace CLHEP;
150#include "CLHEP/Random/RandBreitWigner.icc"
HepRandomEngine & engine()
static double shootM2(double a=1.0, double b=0.2)
static void shootArray(const int size, double *vect)
std::istream & get(std::istream &is)
virtual ~RandBreitWigner()
RandBreitWigner(HepRandomEngine *anEngine, double a=1.0, double b=0.2)
static double shoot(double a=1.0, double b=0.2)
std::ostream & put(std::ostream &os) const
static std::string distributionName()
RandBreitWigner(HepRandomEngine &anEngine, double a=1.0, double b=0.2)
void fireArray(const int size, double *vect)