#include <DQMOffline/Trigger/interface/EgHLTDQMCut.h>
Public Member Functions | |
EgHLTDQMCut< T > * | clone () const |
EgHLTDQMVarCut (int cutsToPass, int(T::*cutCodeFunc)() const) | |
bool | pass (const T &obj, const EgHLTOffData &evtData) const |
~EgHLTDQMVarCut () | |
Private Attributes | |
int(T::* | cutCodeFunc_ )() const |
int | cutsToPass_ |
Definition at line 41 of file EgHLTDQMCut.h.
EgHLTDQMVarCut< T >::EgHLTDQMVarCut | ( | int | cutsToPass, | |
int(T::*)() const | cutCodeFunc | |||
) | [inline] |
Definition at line 47 of file EgHLTDQMCut.h.
Referenced by EgHLTDQMVarCut< T >::clone().
00047 :cutsToPass_(cutsToPass),cutCodeFunc_(cutCodeFunc){}
EgHLTDQMVarCut< T >::~EgHLTDQMVarCut | ( | ) | [inline] |
EgHLTDQMCut<T>* EgHLTDQMVarCut< T >::clone | ( | void | ) | const [inline, virtual] |
Implements EgHLTDQMCut< T >.
Definition at line 51 of file EgHLTDQMCut.h.
References EgHLTDQMVarCut< T >::EgHLTDQMVarCut().
00051 {return new EgHLTDQMVarCut(*this);} //default copy constructor is fine
bool EgHLTDQMVarCut< T >::pass | ( | const T & | obj, | |
const EgHLTOffData & | evtData | |||
) | const [inline, virtual] |
Implements EgHLTDQMCut< T >.
Definition at line 61 of file EgHLTDQMCut.h.
References EgHLTDQMVarCut< T >::cutCodeFunc_, and EgHLTDQMVarCut< T >::cutsToPass_.
00062 { 00063 if(((obj.*cutCodeFunc_)() & cutsToPass_)==0) return true; 00064 else return false; 00065 }
int(T::* EgHLTDQMVarCut< T >::cutCodeFunc_)() const [private] |
Referenced by EgHLTDQMVarCut< T >::pass().
int EgHLTDQMVarCut< T >::cutsToPass_ [private] |