ATLAS Offline Software
Loading...
Searching...
No Matches
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

namespace  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}
void recursivelyFindInputTEs(unsigned int teId, const TrigConf::HLTSequenceList &seqList, std::vector< unsigned int > &tes)
HLTSequence * getSequence(unsigned int id) const
counts the number of sequences in the menu
HLT sequence configuration information.
Definition HLTSequence.h:28
HLT trigger element configuration information.
seq
filter configuration ## -> we use the special sequence 'AthMasterSeq' which is run before any other a...

◆ 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}