ATLAS Offline Software
FwdElectronSelectionBase.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 FWDELECTRONSELECTIONBASE_H_
6 #define FWDELECTRONSELECTIONBASE_H_
7 
8 #include "xAODEgamma/Electron.h"
9 
10 #include <memory>
11 
12 namespace top {
23  public:
25  virtual ~FwdElectronSelectionBase();
26 
29 
32 
35 
37  virtual bool passSelection(const xAOD::Electron&, int bcid, int runNumber) const = 0;
38 
40  virtual bool passSelectionLoose(const xAOD::Electron&, int bcid, int runNumber) const = 0;
41 
43  virtual void print(std::ostream&) const = 0;
44  };
45 
46  std::ostream& operator << (std::ostream& os, const top::FwdElectronSelectionBase& selection);
47 }
48 
49 #endif
top::FwdElectronSelectionBase
Base class for implementing an electron selection.
Definition: FwdElectronSelectionBase.h:22
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::FwdElectronSelectionBase::passSelection
virtual bool passSelection(const xAOD::Electron &, int bcid, int runNumber) const =0
For the main analysis object selection.
top::FwdElectronSelectionBase::passSelectionLoose
virtual bool passSelectionLoose(const xAOD::Electron &, int bcid, int runNumber) 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::FwdElectronSelectionBase::FwdElectronSelectionBase
FwdElectronSelectionBase()
Definition: FwdElectronSelectionBase.cxx:10
top::FwdElectronSelectionBase::FwdElectronSelectionBase
FwdElectronSelectionBase(FwdElectronSelectionBase &&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
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
top::FwdElectronSelectionBase::~FwdElectronSelectionBase
virtual ~FwdElectronSelectionBase()
Definition: FwdElectronSelectionBase.cxx:13
xAOD::Electron_v1
Definition: Electron_v1.h:34
DeMoAtlasDataLoss.runNumber
string runNumber
Definition: DeMoAtlasDataLoss.py:64
Electron.h
top::FwdElectronSelectionBase::operator=
FwdElectronSelectionBase & operator=(const FwdElectronSelectionBase &rhs)=delete
No assignment.
top::FwdElectronSelectionBase::print
virtual void print(std::ostream &) const =0
Because everybody likes to know what object definitions they ran with.
top::FwdElectronSelectionBase::FwdElectronSelectionBase
FwdElectronSelectionBase(const FwdElectronSelectionBase &rhs)=delete
No copy construction.