ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MaxCombinationCondition< T > Class Template Reference

#include <MaxCombinationCondition.h>

Inheritance diagram for MaxCombinationCondition< T >:
Collaboration diagram for MaxCombinationCondition< T >:

Public Member Functions

 MaxCombinationCondition (std::size_t k, std::unique_ptr< ICondition > cond, const T &cmp)
 
 ~MaxCombinationCondition () override=default
 
virtual bool isSatisfied (const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
 
virtual unsigned int capacity () const override
 
virtual std::string toString () const override
 

Private Attributes

std::size_t m_k
 
std::unique_ptr< IConditionm_acceptingCondition
 
m_cmp
 

Detailed Description

template<typename T>
class MaxCombinationCondition< T >

Definition at line 32 of file MaxCombinationCondition.h.

Constructor & Destructor Documentation

◆ MaxCombinationCondition()

template<typename T >
MaxCombinationCondition< T >::MaxCombinationCondition ( std::size_t  k,
std::unique_ptr< ICondition cond,
const T &  cmp 
)

◆ ~MaxCombinationCondition()

template<typename T >
MaxCombinationCondition< T >::~MaxCombinationCondition ( )
overridedefault

Member Function Documentation

◆ capacity()

template<typename T >
virtual unsigned int MaxCombinationCondition< T >::capacity ( ) const
inlineoverridevirtual

Implements ICondition.

Definition at line 42 of file MaxCombinationCondition.h.

42 {return m_k;}

◆ isSatisfied()

template<typename T >
virtual bool MaxCombinationCondition< T >::isSatisfied ( const HypoJetVector ,
const std::unique_ptr< ITrigJetHypoInfoCollector > &   
) const
overridevirtual

Implements ICondition.

◆ toString()

template<typename T >
virtual std::string MaxCombinationCondition< T >::toString ( ) const
overridevirtual

Implements ICondition.

Member Data Documentation

◆ m_acceptingCondition

template<typename T >
std::unique_ptr<ICondition> MaxCombinationCondition< T >::m_acceptingCondition
private

Definition at line 52 of file MaxCombinationCondition.h.

◆ m_cmp

template<typename T >
T MaxCombinationCondition< T >::m_cmp
private

Definition at line 54 of file MaxCombinationCondition.h.

◆ m_k

template<typename T >
std::size_t MaxCombinationCondition< T >::m_k
private

Definition at line 48 of file MaxCombinationCondition.h.


The documentation for this class was generated from the following file:
MaxCombinationCondition::m_k
std::size_t m_k
Definition: MaxCombinationCondition.h:48