ATLAS Offline Software
Loading...
Searching...
No Matches
TDTUtilities.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGGER_DECISION_TOOL_UTILITIES_H
6#define TRIGGER_DECISION_TOOL_UTILITIES_H
7/**********************************************************************************
8 * @Project: TrigDecisionTool
9 * @Package: TrigDecisionTool
10 *
11 * @brief utility functions
12 *
13 * @author Michael Begel <michael.begel@cern.ch> - Brookhaven National Laboratory
14 *
15 ***********************************************************************************/
16#include <string>
17#include <string_view>
18#include <vector>
19
20class TTree;
21
22namespace HLT {
23 class TriggerElement;
24}
25
26namespace Trig {
27
31 std::vector< std::string > convertStringToVector(std::string_view triggerNames);
32
36 std::vector< std::string > keyWrap(const std::vector< std::string >& triggerNames);
37
38
39
43 std::string getTEName(const HLT::TriggerElement& te);
44}
45#endif
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
The common trigger namespace for trigger analysis tools.
std::vector< std::string > convertStringToVector(std::string_view triggerNames)
makes a split of list of chains into the vector of chains
std::string getTEName(const HLT::TriggerElement &te)
converts TEid to TE name (this may not always work, it depends on the availability of config)
std::vector< std::string > keyWrap(const std::vector< std::string > &triggerNames)
normalizes the list of triggers (patterns) by sorting and uniquing them