ATLAS Offline Software
TDTUtilities.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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 <vector>
18 
19 class TTree;
20 
21 namespace HLT {
22  class TriggerElement;
23 }
24 
25 namespace Trig {
26 
30  std::vector< std::string > convertStringToVector(const std::string& triggerNames);
31 
35  std::vector< std::string > keyWrap(const std::vector< std::string >& triggerNames);
36 
37 
38 
42  std::string getTEName(const HLT::TriggerElement& te);
43 }
44 #endif
Trig::getTEName
std::string getTEName(const HLT::TriggerElement &te)
converts TEid to TE name (this may not always work, it depends on the availability of config)
Definition: TDTUtilities.cxx:61
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
Trig::convertStringToVector
std::vector< std::string > convertStringToVector(const std::string &triggerNames)
makes a split of list of chains into the vector of chains
Definition: TDTUtilities.cxx:41
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
HLT::TriggerElement
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
Definition: TrigNavStructure/TrigNavStructure/TriggerElement.h:27
Trig::keyWrap
std::vector< std::string > keyWrap(const std::vector< std::string > &triggerNames)
normalizes the list of triggers (patterns) by sorting and uniquing them
Definition: TDTUtilities.cxx:52