ATLAS Offline Software
Classes | Namespaces | Functions
TrigConfHLTData/Root/HLTUtils.cxx File Reference
#include <iostream>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <algorithm>
#include <iterator>
#include <vector>
#include "TrigConfL1Data/HelperFunctions.h"
#include "TrigConfHLTData/HLTChainList.h"
#include "TrigConfHLTData/HLTChain.h"
#include "TrigConfHLTData/HLTSignature.h"
#include "TrigConfHLTData/HLTSequenceList.h"
#include "TrigConfHLTData/HLTSequence.h"
#include "TrigConfHLTData/HLTTriggerElement.h"
#include "TrigConfHLTData/HLTFrame.h"
#include "TrigConfHLTUtils/HLTUtils.h"
#include "TrigConfHLTData/HLTUtils.h"

Go to the source code of this file.

Classes

class  CompareSequenceOutput
 

Namespaces

 TrigConf
 Forward iterator to traverse the main components of the trigger configuration.
 

Functions

void recursivelyFindInputTEs (unsigned int teId, const TrigConf::HLTSequenceList &seqList, std::vector< unsigned int > &tes)
 
void recursivelyFindInputTEs (const std::string &tename, const TrigConf::HLTSequenceList &seqList, std::vector< std::string > &tes)
 
void TrigConf::recursivelyFindOutputTEs (const std::string &tename, const TrigConf::HLTSequenceList &sequenceList, std::set< std::string > &tes, int level, const std::set< std::string > *veto=0)
 
void TrigConf::recursivelyFindOutputTEsWithLevelFromSequence (const std::string &tename, const TrigConf::HLTSequenceList &sequenceList, std::set< std::string > &tes, int level)
 

Function Documentation

◆ recursivelyFindInputTEs() [1/2]

void recursivelyFindInputTEs ( const std::string &  tename,
const TrigConf::HLTSequenceList seqList,
std::vector< std::string > &  tes 
)

Definition at line 53 of file TrigConfHLTData/Root/HLTUtils.cxx.

53  {
54  const TrigConf::HLTSequence* seq = seqList.getSequence(tename);
55  if ( seq==0 ) return;
56 
57  for( TrigConf::HLTTriggerElement* te : seq->inputTEs() ) {
58  tes.push_back(te->name());
59  recursivelyFindInputTEs(te->name(), seqList, tes);
60  }
61 }

◆ recursivelyFindInputTEs() [2/2]

void recursivelyFindInputTEs ( unsigned int  teId,
const TrigConf::HLTSequenceList seqList,
std::vector< unsigned int > &  tes 
)

Definition at line 44 of file TrigConfHLTData/Root/HLTUtils.cxx.

44  {
45  const TrigConf::HLTSequence * seq = seqList.getSequence(teId);
46  if ( seq==0 ) return;
47  for(TrigConf::HLTTriggerElement* te : seq->inputTEs() ) {
48  tes.push_back(te->hashId());
49  recursivelyFindInputTEs( te->hashId(), seqList, tes);
50  }
51 }
test_athena_ntuple_filter.seq
seq
filter configuration ## -> we use the special sequence 'AthMasterSeq' which is run before any other a...
Definition: test_athena_ntuple_filter.py:18
TrigConf::HLTSequenceList::getSequence
HLTSequence * getSequence(unsigned int id) const
counts the number of sequences in the menu
Definition: HLTSequenceList.cxx:45
xAOD::teId
teId
Definition: L2StandAloneMuon_v1.cxx:323
recursivelyFindInputTEs
void recursivelyFindInputTEs(unsigned int teId, const TrigConf::HLTSequenceList &seqList, std::vector< unsigned int > &tes)
Definition: TrigConfHLTData/Root/HLTUtils.cxx:44
TrigConf::HLTTriggerElement
HLT trigger element configuration information.
Definition: HLTTriggerElement.h:26
TrigConf::HLTSequence
HLT sequence configuration information.
Definition: HLTSequence.h:28