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=s_defaultCategory)
 hash function translating TE names into identifiers
static const std::string hash2string (HLTHash, const std::string &category=s_defaultCategory)
 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 const std::string s_defaultCategory {"TE"}
 Default category.
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 = s_defaultCategory )
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 = s_defaultCategory )
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 64 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.

64{};

◆ s_defaultCategory

const std::string TrigConf::HLTUtils::s_defaultCategory {"TE"}
inlinestaticprivate

Default category.

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

62{"TE"};

◆ 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: