CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
RandBreitWigner.icc
Go to the documentation of this file.
1// $Id: RandBreitWigner.icc,v 1.3 2010/06/16 17:24:53 garren Exp $
2// -*- C++ -*-
3//
4// -----------------------------------------------------------------------
5// HEP Random
6// --- RandBreitWigner ---
7// inlined functions implementation file
8// -----------------------------------------------------------------------
9// This file is part of Geant4 (simulation toolkit for HEP).
10
11// =======================================================================
12// Gabriele Cosmo - Created: 19th August 1998
13// =======================================================================
14
15namespace CLHEP {
16
18 double a, double b )
19: HepRandom( ), localEngine(&anEngine, do_nothing_deleter()), defaultA(a),
20 defaultB(b) {}
21
23 double a, double b )
24: HepRandom( ), localEngine(anEngine), defaultA(a),
25 defaultB(b) {}
26
27} // namespace CLHEP
RandBreitWigner(HepRandomEngine &anEngine, double a=1.0, double b=0.2)