5#ifndef TrigConf_HLTSequenceList
6#define TrigConf_HLTSequenceList
15#include <boost/multi_index_container.hpp>
16#include <boost/multi_index/mem_fun.hpp>
17#include <boost/multi_index/hashed_index.hpp>
18#include <boost/multi_index/ordered_index.hpp>
31 typedef boost::multi_index::multi_index_container<
HLTSequence*, boost::multi_index::indexed_by<
32 boost::multi_index::ordered_unique< boost::multi_index::identity<HLTSequence> >,
33 boost::multi_index::ordered_unique< boost::multi_index::tag<seq_hash_id>, boost::multi_index::const_mem_fun<HLTSequence, unsigned int, &HLTSequence::hashId> >,
34 boost::multi_index::hashed_unique< boost::multi_index::tag<seq_name_hash>, boost::multi_index::const_mem_fun<TrigConfData, const std::string&, &TrigConfData::name> >
67 void print(
const std::string& indent=
"",
unsigned int detail=1)
const;
DiffStruct * compareTo(const HLTSequenceList *o) const
bool hasTE(const std::string &name)
HLTSequence * getSequence(unsigned int id) const
counts the number of sequences in the menu
HLTSequenceList()
default constructor
~HLTSequenceList()
destructor
void addHLTSequence(HLTSequence *sequence)
adds an HLTSequence to the menu
friend std::ostream & operator<<(std::ostream &, const HLTSequenceList &)
void print(const std::string &indent="", unsigned int detail=1) const
print the sequence list
bool getLabel(unsigned int hashId, std::string &label)
find name from ID in the map m_IdToLabel
bool getHashIdFromLabel(const char *label, unsigned int &hashId)
find ID from name in the map m_IdToLabel
HLT sequence configuration information.
std::string label(const std::string &format, int i)
Forward iterator to traverse the main components of the trigger configuration.
boost::multi_index::multi_index_container< HLTSequence *, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::identity< HLTSequence > >, boost::multi_index::ordered_unique< boost::multi_index::tag< seq_hash_id >, boost::multi_index::const_mem_fun< HLTSequence, unsigned int, &HLTSequence::hashId > >, boost::multi_index::hashed_unique< boost::multi_index::tag< seq_name_hash >, boost::multi_index::const_mem_fun< TrigConfData, const std::string &, &TrigConfData::name > > > > HLTSequenceContainer
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)