ATLAS Offline Software
MuonSelectionBase.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 MUONSELECTIONBASE_H_
6 #define MUONSELECTIONBASE_H_
7 
8 #include "xAODMuon/Muon.h"
9 
10 namespace top {
12  public:
14  virtual ~MuonSelectionBase();
15 
17  MuonSelectionBase(const MuonSelectionBase& rhs) = delete;
18 
21 
24 
26  virtual bool passSelection(const xAOD::Muon&) const = 0;
27 
29  virtual bool passSelectionLoose(const xAOD::Muon&) const = 0;
30 
32  virtual void print(std::ostream&) const = 0;
33  };
34 
35  std::ostream& operator << (std::ostream& os, const top::MuonSelectionBase& selection);
36 }
37 
38 #endif
top::MuonSelectionBase::~MuonSelectionBase
virtual ~MuonSelectionBase()
Definition: MuonSelectionBase.cxx:11
top::MuonSelectionBase::passSelectionLoose
virtual bool passSelectionLoose(const xAOD::Muon &) const =0
For the loose (e.g. fakes) object selection.
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
Muon.h
top::MuonSelectionBase::MuonSelectionBase
MuonSelectionBase(const MuonSelectionBase &rhs)=delete
No copy construction.
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
top::operator<<
std::ostream & operator<<(std::ostream &os, const SelectionConfigurationData &data)
Definition: ConfigurationSettings.cxx:1041
top::MuonSelectionBase::passSelection
virtual bool passSelection(const xAOD::Muon &) const =0
For the main analysis object selection.
top::MuonSelectionBase
Definition: MuonSelectionBase.h:11
top::MuonSelectionBase::MuonSelectionBase
MuonSelectionBase()
Definition: MuonSelectionBase.cxx:8
selection
std::string selection
Definition: fbtTestBasics.cxx:73
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
top::MuonSelectionBase::MuonSelectionBase
MuonSelectionBase(MuonSelectionBase &&rhs)=delete
No moving - really? Seems a bit strict. We'll see.
top::MuonSelectionBase::operator=
MuonSelectionBase & operator=(const MuonSelectionBase &rhs)=delete
No assignment.
top::MuonSelectionBase::print
virtual void print(std::ostream &) const =0
Because everybody likes to know what object definitions they ran with.