5#ifndef TrigConf_HLTChainList
6#define TrigConf_HLTChainList
14#include <boost/multi_index_container.hpp>
15#include <boost/multi_index/mem_fun.hpp>
16#include <boost/multi_index/hashed_index.hpp>
17#include <boost/multi_index/ordered_index.hpp>
18#include <boost/multi_index/random_access_index.hpp>
19#include <boost/multi_index/composite_key.hpp>
32 std::ostream &
operator<<(std::ostream &,
const TrigConf::HLTChainList &);
39 typedef boost::multi_index::multi_index_container<
HLTChain*, boost::multi_index::indexed_by<
40 boost::multi_index::ordered_unique< boost::multi_index::identity<HLTChain> >,
41 boost::multi_index::ordered_unique< boost::multi_index::tag<counter>,
42 boost::multi_index::composite_key<
44 boost::multi_index::const_mem_fun<HLTChain,int,&HLTChain::chain_counter>,
45 boost::multi_index::const_mem_fun<HLTChain,HLTLevel,&HLTChain::level_enum>
48 boost::multi_index::ordered_unique< boost::multi_index::tag<name>, boost::multi_index::const_mem_fun<HLTChain, const std::string&, &HLTChain::chain_name> >,
49 boost::multi_index::hashed_unique< boost::multi_index::tag<name_hash>, boost::multi_index::const_mem_fun<HLTChain,const std::string&, &HLTChain::chain_name> >,
50 boost::multi_index::random_access<>
92 void print(
const std::string& indent=
"",
unsigned int detail=1)
const;
list of all HLT chains in a trigger menu
bool addHLTChain(HLTChain *ch)
adds an HLTChain to the menu
void setL2LowerChainCounter(const CTPConfig *ctpcfg)
HLTChain * chain(const std::string &chainname) const
access the chain by name returns null-pointer if chain not found
HLTChainList()
default constructor
void applyPrescaleSet(const HLTPrescaleSet *pss)
set prescales of all chains
void print(const std::string &indent="", unsigned int detail=1) const
accessors to list of chains, for backward compatibility, use HLTChainList directly
~HLTChainList()
default destructor
DiffStruct * compareTo(const HLTChainList *o) const
friend std::ostream & operator<<(std::ostream &o, const TrigConf::HLTChainList &c)
HLTPrescaleSet * extractPrescaleSet() const
extract prescales from all chains
void setEFLowerChainCounter()
HLT chain configuration information.
HLT chain configuration information.
Forward iterator to traverse the main components of the trigger configuration.
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
boost::multi_index::multi_index_container< HLTChain *, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::identity< HLTChain > >, boost::multi_index::ordered_unique< boost::multi_index::tag< counter >, boost::multi_index::composite_key< HLTChain *, boost::multi_index::const_mem_fun< HLTChain, int,&HLTChain::chain_counter >, boost::multi_index::const_mem_fun< HLTChain, HLTLevel,&HLTChain::level_enum > > >, boost::multi_index::ordered_unique< boost::multi_index::tag< name >, boost::multi_index::const_mem_fun< HLTChain, const std::string &, &HLTChain::chain_name > >, boost::multi_index::hashed_unique< boost::multi_index::tag< name_hash >, boost::multi_index::const_mem_fun< HLTChain, const std::string &, &HLTChain::chain_name > >, boost::multi_index::random_access<> > > HLTChainContainer