ATLAS Offline Software
Public Member Functions | List of all members
top::ElectronSelectionBase Class Referenceabstract

Base class for implementing an electron selection. More...

#include <ElectronSelectionBase.h>

Inheritance diagram for top::ElectronSelectionBase:
Collaboration diagram for top::ElectronSelectionBase:

Public Member Functions

 ElectronSelectionBase ()
 
virtual ~ElectronSelectionBase ()
 
 ElectronSelectionBase (const ElectronSelectionBase &rhs)=delete
 No copy construction. More...
 
 ElectronSelectionBase (ElectronSelectionBase &&rhs)=delete
 No moving - really? Seems a bit strict. We'll see. More...
 
ElectronSelectionBaseoperator= (const ElectronSelectionBase &rhs)=delete
 No assignment. More...
 
virtual bool passSelection (const xAOD::Electron &) const =0
 For the main analysis object selection. More...
 
virtual bool passSelectionLoose (const xAOD::Electron &) const =0
 For the loose (e.g. fakes) object selection. More...
 
virtual void print (std::ostream &) const =0
 Because everybody likes to know what object definitions they ran with. More...
 

Detailed Description

Base class for implementing an electron selection.

If you want to build a new electron selection, you should inherit from this. Why didn't I use ASG tools as a base? I suspect it's a bit over-complicated for this simple task, and this way we can force people to implement passSelection for an Electron. I think it would be a less-clean solution if we were to use the 'proper' CP tool style.

Definition at line 22 of file ElectronSelectionBase.h.

Constructor & Destructor Documentation

◆ ElectronSelectionBase() [1/3]

top::ElectronSelectionBase::ElectronSelectionBase ( )

Definition at line 10 of file ElectronSelectionBase.cxx.

10  {
11  }

◆ ~ElectronSelectionBase()

top::ElectronSelectionBase::~ElectronSelectionBase ( )
virtual

Definition at line 13 of file ElectronSelectionBase.cxx.

13  {
14  }

◆ ElectronSelectionBase() [2/3]

top::ElectronSelectionBase::ElectronSelectionBase ( const ElectronSelectionBase rhs)
delete

No copy construction.

◆ ElectronSelectionBase() [3/3]

top::ElectronSelectionBase::ElectronSelectionBase ( ElectronSelectionBase &&  rhs)
delete

No moving - really? Seems a bit strict. We'll see.

Member Function Documentation

◆ operator=()

ElectronSelectionBase& top::ElectronSelectionBase::operator= ( const ElectronSelectionBase rhs)
delete

No assignment.

◆ passSelection()

virtual bool top::ElectronSelectionBase::passSelection ( const xAOD::Electron ) const
pure virtual

For the main analysis object selection.

Implemented in top::ElectronLikelihood.

◆ passSelectionLoose()

virtual bool top::ElectronSelectionBase::passSelectionLoose ( const xAOD::Electron ) const
pure virtual

For the loose (e.g. fakes) object selection.

Implemented in top::ElectronLikelihood.

◆ print()

virtual void top::ElectronSelectionBase::print ( std::ostream &  ) const
pure virtual

Because everybody likes to know what object definitions they ran with.

Implemented in top::ElectronLikelihood.


The documentation for this class was generated from the following files: