Geant4-11
RandBreitWigner.icc
Go to the documentation of this file.
1// -*- C++ -*-
2//
3// -----------------------------------------------------------------------
4// HEP Random
5// --- RandBreitWigner ---
6// inlined functions implementation file
7// -----------------------------------------------------------------------
8// This file is part of Geant4 (simulation toolkit for HEP).
9
10// =======================================================================
11// Gabriele Cosmo - Created: 19th August 1998
12// =======================================================================
13
14namespace CLHEP {
15
16inline RandBreitWigner::RandBreitWigner(HepRandomEngine & anEngine,
17 double a, double b )
18: HepRandom( ), localEngine(&anEngine, do_nothing_deleter()), defaultA(a),
19 defaultB(b) {}
20
21inline RandBreitWigner::RandBreitWigner(HepRandomEngine * anEngine,
22 double a, double b )
23: HepRandom( ), localEngine(anEngine), defaultA(a),
24 defaultB(b) {}
25
26} // namespace CLHEP