ATLAS Offline Software
Loading...
Searching...
No Matches
HLTLevel.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigConf_HLTLevel
6#define TrigConf_HLTLevel
7
8#include <string>
9
10namespace TrigConf {
11
12 enum HLTLevel { L2=0, EF, HLT };
13
14 inline HLTLevel str2lvl(const std::string& level) {
15 return (level=="L2" || level=="l2") ? L2 :
16 ((level=="EF" || level=="ef") ? EF : HLT);
17 }
18
19 inline std::string lvl2str(HLTLevel level) {
20 return level==L2 ? "L2" :
21 (level==EF ? "EF" : "HLT");
22 }
23
24}
25
26#endif
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22
HLTLevel str2lvl(const std::string &level)
Definition HLTLevel.h:14
std::string lvl2str(HLTLevel level)
Definition HLTLevel.h:19