CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

OrSelector< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand > Struct Template Reference

#include <OrSelector.h>

List of all members.

Public Member Functions

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

Private Attributes

S1 s1_
S2 s2_

Friends

class reco::modules::CombinedEventSetupInit< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand >

Detailed Description

template<typename S1, typename S2>
struct OrSelector< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand >

Definition at line 41 of file OrSelector.h.


Constructor & Destructor Documentation

template<typename S1 , typename S2 >
OrSelector< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand >::OrSelector ( const S1 &  s1,
const S2 &  s2 
) [inline]

Definition at line 42 of file OrSelector.h.

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

Member Function Documentation

template<typename S1 , typename S2 >
template<typename T >
bool OrSelector< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand >::operator() ( const T t) const [inline]

Definition at line 46 of file OrSelector.h.

References OrSelector< S1, S2, S3, S4, S5 >::s1_, and OrSelector< S1, S2, S3, S4, S5 >::s2_.

                                       { 
    return s1_( t ) || s2_( t );
  }

Friends And Related Function Documentation

template<typename S1 , typename S2 >
friend class reco::modules::CombinedEventSetupInit< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand > [friend]

Definition at line 50 of file OrSelector.h.


Member Data Documentation

template<typename S1 , typename S2 >
S1 OrSelector< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand >::s1_ [private]

Definition at line 51 of file OrSelector.h.

template<typename S1 , typename S2 >
S2 OrSelector< S1, S2, helpers::NullOrOperand, helpers::NullOrOperand, helpers::NullOrOperand >::s2_ [private]

Definition at line 52 of file OrSelector.h.