FastJetSeeds Namespace Reference

Functions

uint64_t crc64 (const std::string &str)
 Find the CRC-64 of a string.
uint64_t crc64addint (uint64_t crc, unsigned int x)
 Extend a previously-calculated CRC to include an int.

Detailed Description

Provide function to properly build random seeds. Recopied from "SGTools/crc64.h" here so this can be used outside Athena.


Function Documentation

uint64_t FastJetSeeds::crc64 ( const std::string &  str  ) 

Find the CRC-64 of a string.

Parameters:
str The string to hash.
uint64_t FastJetSeeds::crc64addint ( uint64_t  crc,
unsigned int  x 
)

Extend a previously-calculated CRC to include an int.

Parameters:
crc The previously-calculated CRC.
x The integer to add.
Returns:
The new CRC.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1