#include <EgHLTDQMCut.h>
Public Member Functions | |
EgHLTDQMCut< T > * | clone () const |
EgHLTDQMVarCut (int cutsToPass, int(T::*cutCodeFunc)() const) | |
bool | pass (const T &obj, const OffEvt &evt) const |
~EgHLTDQMVarCut () | |
Private Attributes | |
int(T::* | cutCodeFunc_ )() const |
int | cutsToPass_ |
Definition at line 44 of file EgHLTDQMCut.h.
egHLT::EgHLTDQMVarCut< T >::EgHLTDQMVarCut | ( | int | cutsToPass, |
int(T::*)() const | cutCodeFunc | ||
) | [inline] |
Definition at line 50 of file EgHLTDQMCut.h.
Referenced by egHLT::EgHLTDQMVarCut< T >::clone().
:cutsToPass_(cutsToPass),cutCodeFunc_(cutCodeFunc){}
egHLT::EgHLTDQMVarCut< T >::~EgHLTDQMVarCut | ( | ) | [inline] |
Definition at line 51 of file EgHLTDQMCut.h.
{}
EgHLTDQMCut<T>* egHLT::EgHLTDQMVarCut< T >::clone | ( | void | ) | const [inline, virtual] |
Implements egHLT::EgHLTDQMCut< T >.
Definition at line 54 of file EgHLTDQMCut.h.
References egHLT::EgHLTDQMVarCut< T >::EgHLTDQMVarCut().
{return new EgHLTDQMVarCut(*this);} //default copy constructor is fine
bool egHLT::EgHLTDQMVarCut< T >::pass | ( | const T & | obj, |
const OffEvt & | evt | ||
) | const [virtual] |
Implements egHLT::EgHLTDQMCut< T >.
Definition at line 64 of file EgHLTDQMCut.h.
{ if(((obj.*cutCodeFunc_)() & cutsToPass_)==0) return true; else return false; }
int(T::* egHLT::EgHLTDQMVarCut< T >::cutCodeFunc_)() const [private] |
Definition at line 47 of file EgHLTDQMCut.h.
int egHLT::EgHLTDQMVarCut< T >::cutsToPass_ [private] |
Definition at line 46 of file EgHLTDQMCut.h.