|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigCompositeUtils_ChainNameParser_h
6 #define TrigCompositeUtils_ChainNameParser_h
72 std::string::const_iterator
m_itr;
73 std::string::const_iterator
m_end;
96 std::string
l1Item()
const;
const std::vector< std::string > & allSignatures()
A list of all signature names.
std::ptrdiff_t difference_type
xAODType::ObjectType type() const
The type of xAOD IParticle produced by this signature if relevant.
pointer operator->() const
Iterate over the legs of a chain.
const_iterator end() const
Iterator to the end of the leg infos.
Helper class that provides access to information about individual legs.
std::string signature
The HLT signature responsible for creating the object.
reference operator*() const
Dereference the iterator.
bool exhausted() const
Whether the iterator is exhausted.
std::size_t m_peekMultiplicity
std::string::const_iterator m_itr
LegInfoIterator()=default
Default constructor creates a past-the-end iterator.
const std::string & chain() const
The chain.
std::string::const_iterator m_end
bool operator==(const LegInfoIterator &other) const
Check (in)equality against another iterator.
const_iterator begin() const
Iterator to the start of the leg infos.
std::string l1Item() const
Read the L1 item from the chain. Returns the empty string if the L1 item isn't in the chain name.
std::vector< int > multiplicities(const std::string &chain)
std::vector< std::string > legParts
All the parts of the leg.
bool operator!=(const LegInfoIterator &other) const
std::vector< std::string > signatures(const std::string &chain)
Struct containing information on each leg of a chain.
std::string m_peekSignature
LegInfoIterator & operator++()
pre-increment operator
HLTChainInfo(const std::string &chain)
std::string legHeadPattern()
ObjectType
Type of objects that have a representation in the xAOD EDM.
std::string legName() const
The name of the leg.
std::input_iterator_tag iterator_category
std::size_t multiplicity
The multiplicity of the leg (number of objects returned by the leg)