|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PILEUPTOOLS_PILEUPHASHHELPER_H
6 #define PILEUPTOOLS_PILEUPHASHHELPER_H
16 #include <uuid/uuid.h>
54 #endif // PILEUPTOOLS_PILEUPHASHHELPER_H
Unique pile-up mixture identifier definition.
void clearHashSource()
Clear the stream.
static xAOD::EventInfo::PileUpMixtureID uuidToPileUpMixtureId(const uuid_t &hash)
Convert uuid_t to xAOD::EventInfo::PileUpMixtureID.
std::string hashSource() const
Get the current hash base.
static void pileUpMixtureIdToUuid(const xAOD::EventInfo::PileUpMixtureID &mixture, uuid_t &hash)
xAOD::EventInfo::PileUpMixtureID to uuid_t
void addToHashSource(const std::string &string)
Add a plain string to the stream.
Class describing the basic event information.
void calculateHash(uuid_t &hash) const
Calculate the hash.
static const uint16_t PILEUP_SIZE_BYTES
Size of individual low/high bits in bytes.
std::stringstream m_stream