ATLAS Offline Software
Functions
ChainGroupHandling.cxx File Reference
#include "ChainGroupHandling.h"
Include dependency graph for ChainGroupHandling.cxx:

Go to the source code of this file.

Functions

 ClassImp (D3PD::Trig::ChainGroupHandling) namespace D3PD
 

Function Documentation

◆ ClassImp()

The constructor is only needed to give a name to our object.

Create a ChainGroup object from a list of trigger patterns. It's possible to use regular expressions. For instance the following creates a chain group of all the EF muon chains: ["EF_mu.*"].

Parameters
patternsA list of trigger name patterns
Returns
A ChainGroup object describing the requested triggers

This overloaded function can be helpful when you only want to use one trigger name pattern. Notice that it's possible to give a comma separated list of trigger names to the function. So the following is valid for instance: "L1_MU6,L1_EM5,L1_J.*".

Parameters
patternsA list of trigger name patterns
Returns
A ChainGroup object describing the requested triggers

Definition at line 10 of file ChainGroupHandling.cxx.

12  {
13 
14  namespace Trig {
15 
19  ChainGroupHandling::ChainGroupHandling()
20  : TNamed( "ChainGroupHandling", "Class handling chain groups" ) {
21 
22  }
23 
32  ChainGroup ChainGroupHandling::GetChainGroup( const std::vector< std::string >& patterns ) {
33 
34  return ChainGroup( patterns, *this, GetConfigSvc() );
35  }
36 
46  ChainGroup ChainGroupHandling::GetChainGroup( const std::string& pattern ) {
47 
48  std::vector< std::string > patterns; patterns.push_back( pattern );
49  return GetChainGroup( patterns );
50  }
51 
52  } // namespace Trig
53 
54 } // namespace D3PD
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
patterns
std::vector< std::string > patterns
Definition: listroot.cxx:187