#include <EgHLTDQMCut.h>
Public Types | |
enum | CutLogic { AND, OR } |
Public Member Functions | |
EgHLTDQMCut< T > * | clone () const |
EgEvtTrigCut (TrigCodes::TrigBitSet bitsToPass, CutLogic passLogic=OR) | |
bool | pass (const T &obj, const OffEvt &evt) const |
~EgEvtTrigCut () | |
Private Attributes | |
TrigCodes::TrigBitSet | bitsToPass_ |
CutLogic | passLogic_ |
Definition at line 202 of file EgHLTDQMCut.h.
enum egHLT::EgEvtTrigCut::CutLogic |
egHLT::EgEvtTrigCut< T >::EgEvtTrigCut | ( | TrigCodes::TrigBitSet | bitsToPass, |
CutLogic | passLogic = OR |
||
) | [inline] |
Definition at line 211 of file EgHLTDQMCut.h.
Referenced by egHLT::EgEvtTrigCut< T >::clone().
:bitsToPass_(bitsToPass),passLogic_(passLogic){}
egHLT::EgEvtTrigCut< T >::~EgEvtTrigCut | ( | ) | [inline] |
Definition at line 212 of file EgHLTDQMCut.h.
{}
EgHLTDQMCut<T>* egHLT::EgEvtTrigCut< T >::clone | ( | void | ) | const [inline, virtual] |
Implements egHLT::EgHLTDQMCut< T >.
Definition at line 215 of file EgHLTDQMCut.h.
References egHLT::EgEvtTrigCut< T >::EgEvtTrigCut().
{return new EgEvtTrigCut(*this);}
bool egHLT::EgEvtTrigCut< T >::pass | ( | const T & | obj, |
const OffEvt & | evt | ||
) | const [virtual] |
Implements egHLT::EgHLTDQMCut< T >.
Definition at line 218 of file EgHLTDQMCut.h.
References reco::tau::qcuts::AND(), and egHLT::OffEvt::evtTrigBits().
{ TrigCodes::TrigBitSet passMasked = bitsToPass_&evt.evtTrigBits(); return passLogic_==AND ? passMasked==bitsToPass_ : passMasked!=0x0; }
TrigCodes::TrigBitSet egHLT::EgEvtTrigCut< T >::bitsToPass_ [private] |
Definition at line 207 of file EgHLTDQMCut.h.
CutLogic egHLT::EgEvtTrigCut< T >::passLogic_ [private] |
Definition at line 208 of file EgHLTDQMCut.h.