ATLAS Offline Software
|
Base class for implementing an electron selection. More...
#include <ElectronSelectionBase.h>
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... | |
ElectronSelectionBase & | operator= (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... | |
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.
top::ElectronSelectionBase::ElectronSelectionBase | ( | ) |
Definition at line 10 of file ElectronSelectionBase.cxx.
|
virtual |
Definition at line 13 of file ElectronSelectionBase.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.
Implemented in top::ElectronLikelihood.
|
pure virtual |
For the loose (e.g. fakes) object selection.
Implemented in top::ElectronLikelihood.
|
pure virtual |
Because everybody likes to know what object definitions they ran with.
Implemented in top::ElectronLikelihood.