ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConf::HLTUtils Class Reference

#include <HLTUtils.h>

Collaboration diagram for TrigConf::HLTUtils:

Static Public Member Functions

static HLTHash string2hash (const std::string &, const std::string &category="TE")
 hash function translating TE names into identifiers
static const std::string hash2string (HLTHash, const std::string &category="TE")
 hash function translating identifiers into names (via internal dictionary)
static void hashes2file (const std::string &fileName="hashes2string.txt")
 debugging output of internal dictionary
static void file2hashes (const std::string &fileName="hashes2string.txt")
 debugging output of internal dictionary

Static Private Attributes

static const std::string s_newCategory {"##NewCategory"}
 In-file identifier.
static HashStore s_hashStore ATLAS_THREAD_SAFE {}
 Nested concurrent hash-maps to store (key=hash, value=string) pairs for different hash categories.

Detailed Description

Definition at line 47 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.

Member Function Documentation

◆ file2hashes()

void TrigConf::HLTUtils::file2hashes ( const std::string & fileName = "hashes2string.txt")
static

debugging output of internal dictionary

◆ hash2string()

const std::string TrigConf::HLTUtils::hash2string ( HLTHash ,
const std::string & category = "TE" )
static

hash function translating identifiers into names (via internal dictionary)

◆ hashes2file()

void TrigConf::HLTUtils::hashes2file ( const std::string & fileName = "hashes2string.txt")
static

debugging output of internal dictionary

◆ string2hash()

HLTHash TrigConf::HLTUtils::string2hash ( const std::string & ,
const std::string & category = "TE" )
static

hash function translating TE names into identifiers

Member Data Documentation

◆ ATLAS_THREAD_SAFE

HashStore s_hashStore TrigConf::HLTUtils::ATLAS_THREAD_SAFE {}
inlinestaticprivate

Nested concurrent hash-maps to store (key=hash, value=string) pairs for different hash categories.

Definition at line 63 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.

63{};

◆ s_newCategory

const std::string TrigConf::HLTUtils::s_newCategory {"##NewCategory"}
inlinestaticprivate

In-file identifier.

Definition at line 60 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.

60{"##NewCategory"};

The documentation for this class was generated from the following file: