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 (const EgNotCut< T > &rhs)
 
 EgNotCut (EgHLTDQMCut< T > *cut)
 
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.

242 : cut_(cut) {}

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

◆ 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()) {}

◆ ~EgNotCut()

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

Definition at line 244 of file EgHLTDQMCut.h.

244 { delete cut_; }

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

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.

247 { return new EgNotCut(*this); }

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

◆ 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.

246 { return !cut_->pass(obj, evt); }

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

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().

TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
egHLT::EgNotCut::cut_
EgHLTDQMCut< T > * cut_
Definition: EgHLTDQMCut.h:239
egHLT::EgNotCut::EgNotCut
EgNotCut(EgHLTDQMCut< T > *cut)
Definition: EgHLTDQMCut.h:242