5#ifndef PILEUPTOOLS_PILEUPHASHHELPER_H
6#define PILEUPTOOLS_PILEUPHASHHELPER_H
void clearHashSource()
Clear the stream.
std::string hashSource() const
Get the current hash base.
std::stringstream m_stream
void addToHashSource(const std::string &string)
Add a plain string to the stream.
void calculateHash(uuid_t &hash) const
Calculate the hash.
static void pileUpMixtureIdToUuid(const xAOD::EventInfo::PileUpMixtureID &mixture, uuid_t &hash)
xAOD::EventInfo::PileUpMixtureID to uuid_t
static xAOD::EventInfo::PileUpMixtureID uuidToPileUpMixtureId(const uuid_t &hash)
Convert uuid_t to xAOD::EventInfo::PileUpMixtureID.
static const uint16_t PILEUP_SIZE_BYTES
Size of individual low/high bits in bytes.
EventInfo_v1 EventInfo
Definition of the latest event info version.
Unique pile-up mixture identifier definition.