ATLAS Offline Software
ElectronSelectionBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef ELECTRONSELECTIONBASE_H_
6 #define ELECTRONSELECTIONBASE_H_
7 
8 #include "xAODEgamma/Electron.h"
9 
10 #include <memory>
11 
12 namespace top {
23  public:
25  virtual ~ElectronSelectionBase();
26 
29 
32 
35 
37  virtual bool passSelection(const xAOD::Electron&) const = 0;
38 
40  virtual bool passSelectionLoose(const xAOD::Electron&) const = 0;
41 
43  virtual void print(std::ostream&) const = 0;
44  };
45 
46  std::ostream& operator << (std::ostream& os, const ElectronSelectionBase& selection);
47 }
48 
49 #endif
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::ElectronSelectionBase::passSelectionLoose
virtual bool passSelectionLoose(const xAOD::Electron &) const =0
For the loose (e.g. fakes) object selection.
top::operator<<
std::ostream & operator<<(std::ostream &os, const SelectionConfigurationData &data)
Definition: ConfigurationSettings.cxx:1041
top::ElectronSelectionBase::ElectronSelectionBase
ElectronSelectionBase()
Definition: ElectronSelectionBase.cxx:10
top::ElectronSelectionBase::ElectronSelectionBase
ElectronSelectionBase(ElectronSelectionBase &&rhs)=delete
No moving - really? Seems a bit strict. We'll see.
selection
std::string selection
Definition: fbtTestBasics.cxx:73
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
top::ElectronSelectionBase::operator=
ElectronSelectionBase & operator=(const ElectronSelectionBase &rhs)=delete
No assignment.
top::ElectronSelectionBase::print
virtual void print(std::ostream &) const =0
Because everybody likes to know what object definitions they ran with.
xAOD::Electron_v1
Definition: Electron_v1.h:34
top::ElectronSelectionBase::~ElectronSelectionBase
virtual ~ElectronSelectionBase()
Definition: ElectronSelectionBase.cxx:13
Electron.h
top::ElectronSelectionBase::passSelection
virtual bool passSelection(const xAOD::Electron &) const =0
For the main analysis object selection.
top::ElectronSelectionBase::ElectronSelectionBase
ElectronSelectionBase(const ElectronSelectionBase &rhs)=delete
No copy construction.
top::ElectronSelectionBase
Base class for implementing an electron selection.
Definition: ElectronSelectionBase.h:22