/usr/include/CLHEP/Random/engineIDulong.h is in libclhep-dev 2.1.2.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | // $Id
// -*- C++ -*-
//
// -----------------------------------------------------------------------
// HEP Random
// --- engineIDulong ---
// function header file
// -----------------------------------------------------------------------
// Class generating new engines from streamed saves.
// =======================================================================
// M Fischler - Created: Mar. 8, 2005
// =======================================================================
#ifndef engineIDulong_h
#define engineIDulong_h 1
namespace CLHEP {
unsigned long crc32ul(const std::string & s);
template <class E>
unsigned long engineIDulong() {
static unsigned long id = crc32ul(E::engineName());
return id;
}
} // namespace CLHEP
#ifdef ENABLE_BACKWARDS_COMPATIBILITY
// backwards compatibility will be enabled ONLY in CLHEP 1.9
using namespace CLHEP;
#endif
#endif
|