#include <EgHLTDQMCut.h>
Public Member Functions | |
EgHLTDQMCut< T > * | clone () const |
EgMultiCut (const EgMultiCut< T > &rhs) | |
EgMultiCut () | |
EgMultiCut< T > & | operator<< (const EgHLTDQMCut< T > *inputCut) |
bool | pass (const T &obj, const OffEvt &evt) const |
~EgMultiCut () | |
Private Attributes | |
std::vector< const EgHLTDQMCut < T > * > | cuts_ |
Definition at line 114 of file EgHLTDQMCut.h.
egHLT::EgMultiCut< T >::EgMultiCut | ( | ) | [inline] |
egHLT::EgMultiCut< T >::EgMultiCut | ( | const EgMultiCut< T > & | rhs | ) |
Definition at line 133 of file EgHLTDQMCut.h.
References egHLT::EgMultiCut< T >::cuts_.
{ for(size_t cutNr=0;cutNr<rhs.cuts_.size();cutNr++){ cuts_.push_back(rhs.cuts_[cutNr]->clone()); } }
egHLT::EgMultiCut< T >::~EgMultiCut | ( | ) | [inline] |
Definition at line 121 of file EgHLTDQMCut.h.
References egHLT::EgMultiCut< T >::cuts_, and i.
EgHLTDQMCut<T>* egHLT::EgMultiCut< T >::clone | ( | void | ) | const [inline, virtual] |
Implements egHLT::EgHLTDQMCut< T >.
Definition at line 130 of file EgHLTDQMCut.h.
References egHLT::EgMultiCut< T >::EgMultiCut().
{return new EgMultiCut(*this);}
EgMultiCut< T > & egHLT::EgMultiCut< T >::operator<< | ( | const EgHLTDQMCut< T > * | inputCut | ) |
Definition at line 141 of file EgHLTDQMCut.h.
References NULL.
{ if(typeid(*inputCut)==typeid(EgMultiCut)){ edm::LogError("EgMultiCut") <<" Error can not currently load an EgMultiCut inside a EgMultiCut, the practical upshot is that the selection you think is being loaded isnt "; }else if(inputCut==NULL){ edm::LogError("EgMultiCut") << "Error, cut being loaded is null, ignoring"; }else cuts_.push_back(inputCut); return *this; }
bool egHLT::EgMultiCut< T >::pass | ( | const T & | obj, |
const OffEvt & | evt | ||
) | const [virtual] |
std::vector<const EgHLTDQMCut<T>*> egHLT::EgMultiCut< T >::cuts_ [private] |
Definition at line 116 of file EgHLTDQMCut.h.
Referenced by egHLT::EgMultiCut< T >::EgMultiCut(), and egHLT::EgMultiCut< T >::~EgMultiCut().