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

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

#include <FwdElectronSelectionBase.h>

Collaboration diagram for top::FwdElectronSelectionBase:

Public Member Functions

 FwdElectronSelectionBase ()
 
virtual ~FwdElectronSelectionBase ()
 
 FwdElectronSelectionBase (const FwdElectronSelectionBase &rhs)=delete
 No copy construction. More...
 
 FwdElectronSelectionBase (FwdElectronSelectionBase &&rhs)=delete
 No moving - really? Seems a bit strict. We'll see. More...
 
FwdElectronSelectionBaseoperator= (const FwdElectronSelectionBase &rhs)=delete
 No assignment. More...
 
virtual bool passSelection (const xAOD::Electron &, int bcid, int runNumber) const =0
 For the main analysis object selection. More...
 
virtual bool passSelectionLoose (const xAOD::Electron &, int bcid, int runNumber) 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 FwdElectronSelectionBase.h.

Constructor & Destructor Documentation

◆ FwdElectronSelectionBase() [1/3]

top::FwdElectronSelectionBase::FwdElectronSelectionBase ( )

Definition at line 10 of file FwdElectronSelectionBase.cxx.

10  {
11  }

◆ ~FwdElectronSelectionBase()

top::FwdElectronSelectionBase::~FwdElectronSelectionBase ( )
virtual

Definition at line 13 of file FwdElectronSelectionBase.cxx.

13  {
14  }

◆ FwdElectronSelectionBase() [2/3]

top::FwdElectronSelectionBase::FwdElectronSelectionBase ( const FwdElectronSelectionBase rhs)
delete

No copy construction.

◆ FwdElectronSelectionBase() [3/3]

top::FwdElectronSelectionBase::FwdElectronSelectionBase ( FwdElectronSelectionBase &&  rhs)
delete

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

Member Function Documentation

◆ operator=()

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

No assignment.

◆ passSelection()

virtual bool top::FwdElectronSelectionBase::passSelection ( const xAOD::Electron ,
int  bcid,
int  runNumber 
) const
pure virtual

For the main analysis object selection.

◆ passSelectionLoose()

virtual bool top::FwdElectronSelectionBase::passSelectionLoose ( const xAOD::Electron ,
int  bcid,
int  runNumber 
) const
pure virtual

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

◆ print()

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

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


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