Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -5,24 +5,21 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Poisson.hh,v 1.2 1999/05/11 19:43:11 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4Poisson.hh,v 1.4 1999/11/16 17:31:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, IT Division, ASD group
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// Description:
|
||||
// -----------
|
||||
// Class description:
|
||||
//
|
||||
// G4Poisson is the C++ implementation of the CERNLIB GPOISS algorithm
|
||||
// for the generation of Gaussian distributed random numbers. It has been
|
||||
// for the generation of Poisson distributed random numbers. It has been
|
||||
// adapted to invoke HepRandom from CLHEP for the primary engine generators.
|
||||
// GPOISS is recognized to be a faster algorithm, providing however a less
|
||||
// accurate output, than the algorithm adopted in CLHEP.
|
||||
|
||||
// ------------------------------------------------------------
|
||||
#ifndef G4POISSON_HH
|
||||
#define G4POISSON_HH
|
||||
@@ -30,7 +27,7 @@
|
||||
#include "globals.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
G4long G4Poisson(G4double mean)
|
||||
inline G4long G4Poisson(G4double mean)
|
||||
{
|
||||
G4long number = 0;
|
||||
const G4int border = 16;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
// the GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: Randomize.hh,v 1.1 1999/01/07 16:08:58 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: Randomize.hh,v 1.2 1999/11/16 17:31:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef randomize_h
|
||||
#define randomize_h 1
|
||||
|
||||
Reference in New Issue
Block a user