ATLAS Offline Software
Loading...
Searching...
No Matches
HLTIdentifier.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8
9HLT::Identifier::Identifier( const std::string& stringID )
10 : m_id( TrigConf::HLTUtils::string2hash( stringID, "Identifier" ) ) {}
11
12std::string HLT::Identifier::name() const {
13 return TrigConf::HLTUtils::hash2string( numeric(), "Identifier" );
14}
15
16MsgStream& operator<< ( MsgStream& m, const HLT::Identifier& id ) {
17 m << id.name() << " ID#" << id.numeric();
18 return m;
19}
20
22 return HLT::Identifier( tname.substr( tname.find('.') + 1 ) );
23}
TrigCompositeUtils::DecisionID numeric() const
numeric ID
std::string name() const
reports human redable name
static HLT::Identifier fromToolName(const std::string &tname)
Identifier(const std::string &stringID)
constructs identifier from human redable name
static const std::string hash2string(HLTHash, const std::string &category="TE")
hash function translating identifiers into names (via internal dictionary)
MsgStream & operator<<(MsgStream &m, const Navigation &nav)
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22