|
ATLAS Offline Software
|
Go to the documentation of this file.
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>
22 class HLTSequenceList;
26 std::ostream &
operator<<(std::ostream &,
const HLTSequenceList &);
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> >
void addHLTSequence(HLTSequence *sequence)
adds an HLTSequence to the menu
bool hasTE(const std::string &name)
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
HLTSequence * getSequence(unsigned int id) const
counts the number of sequences in the menu
bool getHashIdFromLabel(const char *label, unsigned int &hashId)
find ID from name in the map m_IdToLabel
void print(const std::string &indent="", unsigned int detail=1) const
print the sequence list
Forward iterator to traverse the main components of the trigger configuration.
~HLTSequenceList()
destructor
HLTSequenceList()
default constructor
bool getLabel(unsigned int hashId, std::string &label)
find name from ID in the map m_IdToLabel
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
DiffStruct * compareTo(const HLTSequenceList *o) const
friend std::ostream & operator<<(std::ostream &, const HLTSequenceList &)
HLT sequence configuration information.