cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.3
A generic central exclusive processes event generator
Loading...
Searching...
No Matches
BreitWigner Class Reference

A Breit-Wigner/Cauchy distribution generator. More...

#include <CepGen/Physics/BreitWigner.h>

Public Member Functions

 BreitWigner (double mean=0., double gamma=0., double emin=-1., double emax=-1.)
 
double min () const
 Minimal energy to consider.
 
double max () const
 Maximal energy to consider.
 
double operator() (double x) const
 Shoot a value according to parameterisation.
 

Detailed Description

Definition at line 24 of file BreitWigner.h.

Constructor & Destructor Documentation

◆ BreitWigner()

BreitWigner ( double  mean = 0.,
double  gamma = 0.,
double  emin = -1.,
double  emax = -1. 
)
explicit

Definition at line 24 of file BreitWigner.cpp.

Member Function Documentation

◆ max()

double max ( ) const

Definition at line 31 of file BreitWigner.h.

◆ min()

double min ( ) const

Definition at line 29 of file BreitWigner.h.

◆ operator()()

double operator() ( double  x) const

Definition at line 27 of file BreitWigner.cpp.