ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
Trig::ChainGroupFunctions Class Referenceabstract

#include <ChainGroupFunctions.h>

Inheritance diagram for Trig::ChainGroupFunctions:
Collaboration diagram for Trig::ChainGroupFunctions:

Public Member Functions

 ChainGroupFunctions ()=default
 
virtual ~ChainGroupFunctions ()=default
 
const Trig::ChainGroupgetChainGroup (const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const
 Create/get chain group (. More...
 
const Trig::ChainGroupgetChainGroup (const std::string &pattern, TrigDefs::Group props=TrigDefs::Group::Default) const
 Create/get chain group (. More...
 

Protected Member Functions

void ChainGroupInitialize ()
 

Private Member Functions

virtual Trig::CacheGlobalMemorycgm ()=0
 
virtual const Trig::CacheGlobalMemorycgm () const =0
 

Detailed Description

Definition at line 40 of file ChainGroupFunctions.h.

Constructor & Destructor Documentation

◆ ChainGroupFunctions()

Trig::ChainGroupFunctions::ChainGroupFunctions ( )
default

◆ ~ChainGroupFunctions()

virtual Trig::ChainGroupFunctions::~ChainGroupFunctions ( )
virtualdefault

Member Function Documentation

◆ cgm() [1/2]

virtual const Trig::CacheGlobalMemory* Trig::ChainGroupFunctions::cgm ( ) const
privatepure virtual

Implemented in Trig::TrigDecisionToolCore.

◆ cgm() [2/2]

virtual Trig::CacheGlobalMemory* Trig::ChainGroupFunctions::cgm ( )
privatepure virtual

Implemented in Trig::TrigDecisionToolCore.

◆ ChainGroupInitialize()

void Trig::ChainGroupFunctions::ChainGroupInitialize ( )
protected

Definition at line 25 of file ChainGroupFunctions.cxx.

25  {
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 }

◆ getChainGroup() [1/2]

const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup ( const std::string &  pattern,
TrigDefs::Group  props = TrigDefs::Group::Default 
) const

Create/get chain group (.

See also
CacheGlobalMemory)

Definition at line 43 of file ChainGroupFunctions.cxx.

44  {
45  return getChainGroup(Trig::convertStringToVector(triggerNames), props);
46 }

◆ getChainGroup() [2/2]

const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup ( const std::vector< std::string > &  patterns,
TrigDefs::Group  props = TrigDefs::Group::Default 
) const

Create/get chain group (.

See also
CacheGlobalMemory)

Definition at line 38 of file ChainGroupFunctions.cxx.

39  {
40  return cgm()->getChainGroup (triggerNames, props);
41 }

The documentation for this class was generated from the following files:
Trig::ChainGroupFunctions::cgm
virtual Trig::CacheGlobalMemory * cgm()=0
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::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::CacheGlobalMemory::getChainGroup
const Trig::ChainGroup * getChainGroup(const std::vector< std::string > &triggerNames, TrigDefs::Group props) const
Definition: CacheGlobalMemory.cxx:83