Geant4
10.03.p01
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
engineIDulong.h
Go to the documentation of this file.
1
// $Id:$
2
// -*- C++ -*-
3
//
4
// -----------------------------------------------------------------------
5
// HEP Random
6
// --- engineIDulong ---
7
// function header file
8
// -----------------------------------------------------------------------
9
10
// Class generating new engines from streamed saves.
11
12
// =======================================================================
13
// M Fischler - Created: Mar. 8, 2005
14
// =======================================================================
15
16
#ifndef engineIDulong_h
17
#define engineIDulong_h 1
18
19
namespace
CLHEP {
20
21
unsigned
long
crc32ul
(
const
std::string &
s
);
22
23
template
<
class
E>
24
unsigned
long
engineIDulong
() {
25
static
const
unsigned
long
id
=
crc32ul
(E::engineName());
26
return
id;
27
}
28
29
}
// namespace CLHEP
30
31
#endif
32
CLHEP::crc32ul
unsigned long crc32ul(const std::string &s)
Definition:
engineIDulong.cc:37
CLHEP::engineIDulong
unsigned long engineIDulong()
Definition:
engineIDulong.h:24
s
const XML_Char * s
Definition:
expat.h:262
geant4.10.03.p01
source
externals
clhep
include
CLHEP
Random
engineIDulong.h
Generated on Thu Mar 16 2017 22:37:51 for Geant4 by
1.8.5