CMS 3D CMS Logo

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

#include <AndPairSelector.h>

Public Member Functions

 AndPairSelector (const S1 &s1, const S2 &s2)
 
template<typename T1 , typename T2 >
bool operator() (const T1 &t1, const T2 &t2) const
 

Private Attributes

S1 s1_
 
S2 s2_
 

Detailed Description

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

Definition at line 11 of file AndPairSelector.h.

Constructor & Destructor Documentation

◆ AndPairSelector()

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

Definition at line 12 of file AndPairSelector.h.

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

Member Function Documentation

◆ operator()()

template<typename S1 , typename S2 >
template<typename T1 , typename T2 >
bool AndPairSelector< S1, S2 >::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Definition at line 14 of file AndPairSelector.h.

14  {
15  return s1_(t1) && s2_(t2);
16  }

References AndPairSelector< S1, S2 >::s1_, AndPairSelector< S1, S2 >::s2_, RandomServiceHelper::t1, and RandomServiceHelper::t2.

Member Data Documentation

◆ s1_

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

Definition at line 19 of file AndPairSelector.h.

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

◆ s2_

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

Definition at line 20 of file AndPairSelector.h.

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

RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
AndPairSelector::s1_
S1 s1_
Definition: AndPairSelector.h:19
indexGen.s2
s2
Definition: indexGen.py:107
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
AndPairSelector::s2_
S2 s2_
Definition: AndPairSelector.h:20