CLHEP
2.4.7.1
C++ Class Library for High Energy Physics
CLHEP
Random
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
15
namespace
CLHEP
{
16
17
inline
RandBreitWigner::RandBreitWigner
(
HepRandomEngine
& anEngine,
18
double
a,
double
b )
19
:
HepRandom
( ), localEngine(&anEngine,
do_nothing_deleter
()), defaultA(a),
20
defaultB(b) {}
21
22
inline
RandBreitWigner::RandBreitWigner
(
HepRandomEngine
* anEngine,
23
double
a,
double
b )
24
:
HepRandom
( ), localEngine(anEngine), defaultA(a),
25
defaultB(b) {}
26
27
}
// namespace CLHEP
CLHEP::HepRandomEngine
Definition
RandomEngine.h:55
CLHEP::HepRandom
Definition
Random.h:50
CLHEP::RandBreitWigner::RandBreitWigner
RandBreitWigner(HepRandomEngine &anEngine, double a=1.0, double b=0.2)
Definition
RandBreitWigner.icc:17
CLHEP
Definition
ClhepVersion.h:13
CLHEP::do_nothing_deleter
Definition
memory.h:25
Generated by
1.12.0