CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PairSelector< S1, S2 > Struct Template Reference

#include <PairSelector.h>

Public Member Functions

template<typename T >
bool operator() (const T &t) const
 
 PairSelector (const S1 &s1, const S2 &s2)
 

Private Attributes

S1 s1_
 
S2 s2_
 

Detailed Description

template<typename S1, typename S2>
struct PairSelector< S1, S2 >

Definition at line 11 of file PairSelector.h.

Constructor & Destructor Documentation

◆ PairSelector()

template<typename S1 , typename S2 >
PairSelector< S1, S2 >::PairSelector ( const S1 &  s1,
const S2 &  s2 
)
inline

Definition at line 12 of file PairSelector.h.

12 : s1_(s1), s2_(s2) {}

Member Function Documentation

◆ operator()()

template<typename S1 , typename S2 >
template<typename T >
bool PairSelector< S1, S2 >::operator() ( const T t) const
inline

Definition at line 14 of file PairSelector.h.

14  {
15  return s1_(t.first) && s2_(t.second);
16  }

References PairSelector< S1, S2 >::s1_, PairSelector< S1, S2 >::s2_, and OrderedSet::t.

Member Data Documentation

◆ s1_

template<typename S1 , typename S2 >
S1 PairSelector< S1, S2 >::s1_
private

Definition at line 19 of file PairSelector.h.

Referenced by PairSelector< S1, S2 >::operator()().

◆ s2_

template<typename S1 , typename S2 >
S2 PairSelector< S1, S2 >::s2_
private

Definition at line 20 of file PairSelector.h.

Referenced by PairSelector< S1, S2 >::operator()().

indexGen.s2
s2
Definition: indexGen.py:107
PairSelector::s1_
S1 s1_
Definition: PairSelector.h:19
OrderedSet.t
t
Definition: OrderedSet.py:90
PairSelector::s2_
S2 s2_
Definition: PairSelector.h:20