CMS 3D CMS Logo

Public Member Functions | Private Attributes

egHLT::ChargeCut< T > Struct Template Reference

#include <EgHLTDQMCut.h>

Inheritance diagram for egHLT::ChargeCut< T >:
egHLT::EgHLTDQMCut< T >

List of all members.

Public Member Functions

 ChargeCut (int charge)
EgHLTDQMCut< T > * clone () const
bool pass (const T &obj, const OffEvt &evt) const
 ~ChargeCut ()

Private Attributes

int charge_

Detailed Description

template<class T>
struct egHLT::ChargeCut< T >

Definition at line 239 of file EgHLTDQMCut.h.


Constructor & Destructor Documentation

template<class T >
egHLT::ChargeCut< T >::ChargeCut ( int  charge) [inline]

Definition at line 244 of file EgHLTDQMCut.h.

Referenced by egHLT::ChargeCut< T >::clone().

template<class T >
egHLT::ChargeCut< T >::~ChargeCut ( ) [inline]

Definition at line 245 of file EgHLTDQMCut.h.

{}

Member Function Documentation

template<class T >
EgHLTDQMCut<T>* egHLT::ChargeCut< T >::clone ( void  ) const [inline, virtual]

Implements egHLT::EgHLTDQMCut< T >.

Definition at line 248 of file EgHLTDQMCut.h.

References egHLT::ChargeCut< T >::ChargeCut().

{return new ChargeCut(*this);}
template<class T >
bool egHLT::ChargeCut< T >::pass ( const T obj,
const OffEvt evt 
) const [inline, virtual]

Implements egHLT::EgHLTDQMCut< T >.

Definition at line 247 of file EgHLTDQMCut.h.

References egHLT::ChargeCut< T >::charge_.

{return obj.charge()==charge_;}

Member Data Documentation

template<class T >
int egHLT::ChargeCut< T >::charge_ [private]

Definition at line 241 of file EgHLTDQMCut.h.

Referenced by egHLT::ChargeCut< T >::pass().