CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
AndSelector< S1, S2, S3, S4, S5 > Struct Template Reference

#include <AndSelector.h>

Public Member Functions

 AndSelector (const S1 &s1, const S2 &s2, const S3 &s3, const S4 &s4, const S5 &s5)
 
template<typename T >
bool operator() (const T &t) const
 

Private Attributes

S1 s1_
 
S2 s2_
 
S3 s3_
 
S4 s4_
 
S5 s5_
 

Friends

struct reco::modules::CombinedEventSetupInit< S1, S2, S3, S4, S5 >
 

Detailed Description

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
struct AndSelector< S1, S2, S3, S4, S5 >

Definition at line 26 of file AndSelector.h.

Constructor & Destructor Documentation

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
AndSelector< S1, S2, S3, S4, S5 >::AndSelector ( const S1 &  s1,
const S2 &  s2,
const S3 &  s3,
const S4 &  s4,
const S5 &  s5 
)
inline

Definition at line 27 of file AndSelector.h.

28  : s1_(s1), s2_(s2), s3_(s3), s4_(s4), s5_(s5) {}

Member Function Documentation

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
template<typename T >
bool AndSelector< S1, S2, S3, S4, S5 >::operator() ( const T t) const
inline

Definition at line 30 of file AndSelector.h.

30  {
31  return s1_(t) && s2_(t) && s3_(t) && s4_(t) && s5_(t);
32  }

Friends And Related Function Documentation

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
friend struct reco::modules::CombinedEventSetupInit< S1, S2, S3, S4, S5 >
friend

Definition at line 35 of file AndSelector.h.

Member Data Documentation

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
S1 AndSelector< S1, S2, S3, S4, S5 >::s1_
private

Definition at line 36 of file AndSelector.h.

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
S2 AndSelector< S1, S2, S3, S4, S5 >::s2_
private

Definition at line 37 of file AndSelector.h.

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
S3 AndSelector< S1, S2, S3, S4, S5 >::s3_
private

Definition at line 38 of file AndSelector.h.

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
S4 AndSelector< S1, S2, S3, S4, S5 >::s4_
private

Definition at line 39 of file AndSelector.h.

template<typename S1, typename S2, typename S3 = helpers::NullAndOperand, typename S4 = helpers::NullAndOperand, typename S5 = helpers::NullAndOperand>
S5 AndSelector< S1, S2, S3, S4, S5 >::s5_
private

Definition at line 40 of file AndSelector.h.