ATLAS Offline Software
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 }
37 
38 const Trig::ChainGroup* Trig::ChainGroupFunctions::getChainGroup(const std::vector< std::string >& triggerNames,
39  TrigDefs::Group props) const {
40  return cgm()->getChainGroup (triggerNames, props);
41 }
42 
43 const Trig::ChainGroup* Trig::ChainGroupFunctions::getChainGroup(const std::string& triggerNames,
44  TrigDefs::Group props) const {
45  return getChainGroup(Trig::convertStringToVector(triggerNames), props);
46 }
47 
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
TDTUtilities.h
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
Trig::ChainGroupFunctions::ChainGroupInitialize
void ChainGroupInitialize()
Definition: ChainGroupFunctions.cxx:25
CacheGlobalMemory.h
Trig::ChainGroupFunctions::getChainGroup
const Trig::ChainGroup * getChainGroup(const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const
Create/get chain group (.
Definition: ChainGroupFunctions.cxx:38
Trig::ChainGroup
Definition: ChainGroup.h:51
ChainGroupFunctions.h