ATLAS Offline Software
|
Base class for implementing an electron selection. More...
#include <FwdElectronSelectionBase.h>
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... | |
FwdElectronSelectionBase & | operator= (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... | |
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.
top::FwdElectronSelectionBase::FwdElectronSelectionBase | ( | ) |
Definition at line 10 of file FwdElectronSelectionBase.cxx.
|
virtual |
Definition at line 13 of file FwdElectronSelectionBase.cxx.
|
delete |
No copy construction.
|
delete |
No moving - really? Seems a bit strict. We'll see.
|
delete |
No assignment.
|
pure virtual |
For the main analysis object selection.
|
pure virtual |
For the loose (e.g. fakes) object selection.
|
pure virtual |
Because everybody likes to know what object definitions they ran with.