CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
egHLT::EgNotCut< T > Struct Template Reference

#include <EgHLTDQMCut.h>

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

Public Member Functions

EgHLTDQMCut< T > * clone () const
 
 EgNotCut (EgHLTDQMCut< T > *cut)
 
 EgNotCut (const EgNotCut< T > &rhs)
 
bool pass (const T &obj, const OffEvt &evt) const
 
 ~EgNotCut ()
 
- Public Member Functions inherited from egHLT::EgHLTDQMCut< T >
 EgHLTDQMCut ()=default
 
virtual ~EgHLTDQMCut ()=default
 

Private Attributes

EgHLTDQMCut< T > * cut_
 

Additional Inherited Members

- Protected Member Functions inherited from egHLT::EgHLTDQMCut< T >
 EgHLTDQMCut (const EgHLTDQMCut &rhs)=default
 

Detailed Description

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

Definition at line 237 of file EgHLTDQMCut.h.

Constructor & Destructor Documentation

◆ EgNotCut() [1/2]

template<class T>
egHLT::EgNotCut< T >::EgNotCut ( EgHLTDQMCut< T > *  cut)
inline

Definition at line 242 of file EgHLTDQMCut.h.

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

242 : cut_(cut) {}
EgHLTDQMCut< T > * cut_
Definition: EgHLTDQMCut.h:239

◆ EgNotCut() [2/2]

template<class T>
egHLT::EgNotCut< T >::EgNotCut ( const EgNotCut< T > &  rhs)
inline

Definition at line 243 of file EgHLTDQMCut.h.

243 : cut_(rhs.cut_->clone()) {}
EgHLTDQMCut< T > * cut_
Definition: EgHLTDQMCut.h:239

◆ ~EgNotCut()

template<class T>
egHLT::EgNotCut< T >::~EgNotCut ( )
inline

Definition at line 244 of file EgHLTDQMCut.h.

References egHLT::EgNotCut< T >::cut_.

244 { delete cut_; }
EgHLTDQMCut< T > * cut_
Definition: EgHLTDQMCut.h:239

Member Function Documentation

◆ clone()

template<class T>
EgHLTDQMCut<T>* egHLT::EgNotCut< T >::clone ( void  ) const
inlinevirtual

Implements egHLT::EgHLTDQMCut< T >.

Definition at line 247 of file EgHLTDQMCut.h.

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

247 { return new EgNotCut(*this); }
EgNotCut(EgHLTDQMCut< T > *cut)
Definition: EgHLTDQMCut.h:242

◆ pass()

template<class T>
bool egHLT::EgNotCut< T >::pass ( const T obj,
const OffEvt evt 
) const
inlinevirtual

Implements egHLT::EgHLTDQMCut< T >.

Definition at line 246 of file EgHLTDQMCut.h.

References egHLT::EgNotCut< T >::cut_, and getGTfromDQMFile::obj.

246 { return !cut_->pass(obj, evt); }
EgHLTDQMCut< T > * cut_
Definition: EgHLTDQMCut.h:239

Member Data Documentation

◆ cut_

template<class T>
EgHLTDQMCut<T>* egHLT::EgNotCut< T >::cut_
private

Definition at line 239 of file EgHLTDQMCut.h.

Referenced by egHLT::EgNotCut< T >::pass(), and egHLT::EgNotCut< T >::~EgNotCut().