ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
engineIDulong.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file engineIDulong.h
1
// -*- C++ -*-
2
//
3
// -----------------------------------------------------------------------
4
// HEP Random
5
// --- engineIDulong ---
6
// function header file
7
// -----------------------------------------------------------------------
8
9
// Class generating new engines from streamed saves.
10
11
// =======================================================================
12
// M Fischler - Created: Mar. 8, 2005
13
// =======================================================================
14
15
#ifndef engineIDulong_h
16
#define engineIDulong_h 1
17
18
namespace
CLHEP {
19
20
unsigned
long
crc32ul
(
const
std::string &
s
);
21
22
template
<
class
E>
23
unsigned
long
engineIDulong
() {
24
static
const
unsigned
long
id
=
crc32ul
(E::engineName());
25
return
id;
26
}
27
28
}
// namespace CLHEP
29
30
#endif
31
geant4
tree
geant4-10.6-release
source
externals
clhep
include
CLHEP
Random
engineIDulong.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:14
using
1.8.2 with
ECCE GitHub integration