ATLAS Offline Software
Loading...
Searching...
No Matches
ChainGroupFunctions.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5/**********************************************************************************
6 * @Project: TrigDecisionTool
7 * @Package: TrigDecisionTool
8 * @Class : ChainGroupFunctions
9 *
10 * @brief Chain Group management
11 *
12 * @author Michael Begel <michael.begel@cern.ch> - Brookhaven National Laboratory
13 * @author Tomasz Bold <Tomasz.Bold@cern.ch> - UC Irvine - AGH Krakow
14 * @author Joerg Stelzer <Joerg.Stelzer@cern.ch> - DESY
15 *
16 ***********************************************************************************/
17
18#include <string>
19#include <vector>
20
24
26 // all triggers
27 getChainGroup(".*");
28 // all L1 triggers
29 getChainGroup("L1_.*");
30 // all L2 triggers
31 getChainGroup("L2_.*");
32 // all EF triggers
33 getChainGroup("EF_.*");
34 // all merged L2EF triggers
35 getChainGroup("HLT_.*");
36}
38const Trig::ChainGroup* Trig::ChainGroupFunctions::getChainGroup(const std::vector< std::string >& triggerNames,
39 TrigDefs::Group props) const {
40 return cgm()->getChainGroup (triggerNames, props);
42
43const Trig::ChainGroup* Trig::ChainGroupFunctions::getChainGroup(const std::string& triggerNames,
44 TrigDefs::Group props) const {
45 return getChainGroup(Trig::convertStringToVector(triggerNames), props);
46}
47
virtual Trig::CacheGlobalMemory * cgm()=0
const Trig::ChainGroup * getChainGroup(const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const
Create/get chain group (.
Group
Properties of a chain group.
std::vector< std::string > convertStringToVector(const std::string &triggerNames)
makes a split of list of chains into the vector of chains