ATLAS Offline Software
ChainGroupFunctions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigDecisionTool_ChainGroupFunctions_h
6 #define TrigDecisionTool_ChainGroupFunctions_h
7 /**********************************************************************************
8  * @Project: TrigDecisionTool
9  * @Package: TrigDecisionTool
10  * @class : ChainGroupFunctions
11  *
12  * @brief Chain Group management
13  *
14  * @author Michael Begel <michael.begel@cern.ch> - Brookhaven National Laboratory
15  * @author Tomasz Bold <Tomasz.Bold@cern.ch> - UC Irvine - AGH Krakow
16  * @author Joerg Stelzer <Joerg.Stelzer@cern.ch> - DESY
17  *
18  ***********************************************************************************/
19 #include <string>
20 #include <vector>
21 
23 
24 namespace Trig {
25 
26  class ChainGroup;
27  class CacheGlobalMemory;
28 
29  class ChainGroupFunctions
30  {
31  public:
32  // constructors, destructor
33  ChainGroupFunctions() = default;
34  virtual ~ChainGroupFunctions() = default;
35 
37  const Trig::ChainGroup* getChainGroup(const std::vector< std::string >& patterns,
39 
41  const Trig::ChainGroup* getChainGroup(const std::string& pattern,
43 
44  protected:
45 
46  void ChainGroupInitialize();
47 
48  private:
49 
50  virtual Trig::CacheGlobalMemory* cgm() = 0;
51  virtual const Trig::CacheGlobalMemory* cgm() const = 0;
52 
53  };
54 }
55 #endif
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
GroupProperties.h
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
patterns
std::vector< std::string > patterns
Definition: listroot.cxx:187
Trig::ChainGroupFunctions::cgm
virtual Trig::CacheGlobalMemory * cgm()=0
Trig::ChainGroupFunctions::~ChainGroupFunctions
virtual ~ChainGroupFunctions()=default
Trig::CacheGlobalMemory
Definition: CacheGlobalMemory.h:67
TrigDefs::Group::Default
@ Default
Trig::ChainGroupFunctions::ChainGroupInitialize
void ChainGroupInitialize()
Definition: ChainGroupFunctions.cxx:25
Trig::ChainGroupFunctions::ChainGroupFunctions
ChainGroupFunctions()=default
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