#include <DQMOffline/Trigger/interface/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 EgHLTOffData &evtData) const |
~EgEvtTrigCut () | |
Private Attributes | |
TrigCodes::TrigBitSet | bitsToPass_ |
CutLogic | passLogic_ |
Definition at line 175 of file EgHLTDQMCut.h.
enum EgEvtTrigCut::CutLogic |
EgEvtTrigCut< T >::EgEvtTrigCut | ( | TrigCodes::TrigBitSet | bitsToPass, | |
CutLogic | passLogic = OR | |||
) | [inline] |
Definition at line 184 of file EgHLTDQMCut.h.
00184 :bitsToPass_(bitsToPass),passLogic_(passLogic){}
EgEvtTrigCut< T >::~EgEvtTrigCut | ( | ) | [inline] |
EgHLTDQMCut<T>* EgEvtTrigCut< T >::clone | ( | void | ) | const [inline, virtual] |
Implements EgHLTDQMCut< T >.
Definition at line 188 of file EgHLTDQMCut.h.
00188 {return new EgEvtTrigCut(*this);}
bool EgEvtTrigCut< T >::pass | ( | const T & | obj, | |
const EgHLTOffData & | evtData | |||
) | const [inline, virtual] |
Implements EgHLTDQMCut< T >.
Definition at line 191 of file EgHLTDQMCut.h.
References EgEvtTrigCut< T >::AND, EgEvtTrigCut< T >::bitsToPass_, EgHLTOffData::evtTrigBits, and EgEvtTrigCut< T >::passLogic_.
00192 { 00193 TrigCodes::TrigBitSet passMasked = bitsToPass_&evtData.evtTrigBits(); 00194 return passLogic_==AND ? passMasked==bitsToPass_ : passMasked!=0x0; 00195 }
TrigCodes::TrigBitSet EgEvtTrigCut< T >::bitsToPass_ [private] |
CutLogic EgEvtTrigCut< T >::passLogic_ [private] |