CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
egHLT::EgGreaterCut< T, varType > Struct Template Reference

#include <EgHLTDQMCut.h>

Inheritance diagram for egHLT::EgGreaterCut< T, varType >:
egHLT::EgHLTDQMCut< T >

Public Member Functions

EgHLTDQMCut< T > * clone () const override
 
 EgGreaterCut (varType cutValue, varType(T::*varFunc)() const)
 
bool pass (const T &obj, const OffEvt &evt) const override
 
- Public Member Functions inherited from egHLT::EgHLTDQMCut< T >
 EgHLTDQMCut ()=default
 
virtual ~EgHLTDQMCut ()=default
 

Private Attributes

varType cutValue_
 
varType(T::* varFunc_ )() const
 

Additional Inherited Members

- Protected Member Functions inherited from egHLT::EgHLTDQMCut< T >
 EgHLTDQMCut (const EgHLTDQMCut &rhs)=default
 

Detailed Description

template<class T, typename varType>
struct egHLT::EgGreaterCut< T, varType >

Definition at line 98 of file EgHLTDQMCut.h.

Constructor & Destructor Documentation

◆ EgGreaterCut()

template<class T, typename varType>
egHLT::EgGreaterCut< T, varType >::EgGreaterCut ( varType  cutValue,
varType(T::*)() const  varFunc 
)
inline

Definition at line 104 of file EgHLTDQMCut.h.

Referenced by egHLT::EgGreaterCut< T, varType >::clone().

104 : cutValue_(cutValue), varFunc_(varFunc) {}
varType(T::* varFunc_)() const
Definition: EgHLTDQMCut.h:101

Member Function Documentation

◆ clone()

template<class T, typename varType>
EgHLTDQMCut<T>* egHLT::EgGreaterCut< T, varType >::clone ( void  ) const
inlineoverridevirtual

Implements egHLT::EgHLTDQMCut< T >.

Definition at line 107 of file EgHLTDQMCut.h.

References egHLT::EgGreaterCut< T, varType >::EgGreaterCut().

107 { return new EgGreaterCut(*this); } //default copy constructor is fine
EgGreaterCut(varType cutValue, varType(T::*varFunc)() const)
Definition: EgHLTDQMCut.h:104

◆ pass()

template<class T, typename varType>
bool egHLT::EgGreaterCut< T, varType >::pass ( const T obj,
const OffEvt evt 
) const
inlineoverridevirtual

Member Data Documentation

◆ cutValue_

template<class T, typename varType>
varType egHLT::EgGreaterCut< T, varType >::cutValue_
private

Definition at line 100 of file EgHLTDQMCut.h.

Referenced by egHLT::EgGreaterCut< T, varType >::pass().

◆ varFunc_

template<class T, typename varType>
varType(T::* egHLT::EgGreaterCut< T, varType >::varFunc_) () const
private

Definition at line 101 of file EgHLTDQMCut.h.

Referenced by egHLT::EgGreaterCut< T, varType >::pass().