ATLAS Offline Software
OverlapRemovalBase.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 OVERLAPREMOVALBASE_H_
6 #define OVERLAPREMOVALBASE_H_
7 
10 #include "xAODMuon/MuonContainer.h"
11 #include "xAODJet/JetContainer.h"
13 
14 namespace top {
16  public:
18  virtual ~OverlapRemovalBase();
19 
20  OverlapRemovalBase(const OverlapRemovalBase& rhs) = delete;
23 
26  const xAOD::MuonContainer* mu,
27  const xAOD::TauJetContainer* tau,
28  const xAOD::JetContainer* jet,
29  const xAOD::JetContainer* ljet,
30  std::vector<unsigned int>& goodPhotons,
31  std::vector<unsigned int>& goodElectrons,
32  std::vector<unsigned int>& goodMuons,
33  std::vector<unsigned int>& goodTaus,
34  std::vector<unsigned int>& goodJets,
35  std::vector<unsigned int>& goodLargeRJets,
36  const bool isLooseEvent) = 0;
37 
38  virtual bool overlapsEl(std::vector<unsigned int>&) {return false;}
39  virtual bool overlapsMu(std::vector<unsigned int>&) {return false;}
40 
41  virtual void print(std::ostream&) const = 0;
42  };
43 
44  std::ostream& operator << (std::ostream& os, const top::OverlapRemovalBase& overlapremoval);
45 }
46 
47 #endif
top::OverlapRemovalBase::overlapsMu
virtual bool overlapsMu(std::vector< unsigned int > &)
Definition: OverlapRemovalBase.h:39
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::OverlapRemovalBase::OverlapRemovalBase
OverlapRemovalBase(const OverlapRemovalBase &rhs)=delete
top::OverlapRemovalBase
Definition: OverlapRemovalBase.h:15
top::OverlapRemovalBase::OverlapRemovalBase
OverlapRemovalBase(OverlapRemovalBase &&rhs)=delete
top::operator<<
std::ostream & operator<<(std::ostream &os, const SelectionConfigurationData &data)
Definition: ConfigurationSettings.cxx:1041
top::OverlapRemovalBase::print
virtual void print(std::ostream &) const =0
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
ElectronContainer.h
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
TauJetContainer.h
top::OverlapRemovalBase::overlapremoval
virtual void overlapremoval(const xAOD::PhotonContainer *photon, const xAOD::ElectronContainer *el, const xAOD::MuonContainer *mu, const xAOD::TauJetContainer *tau, const xAOD::JetContainer *jet, const xAOD::JetContainer *ljet, std::vector< unsigned int > &goodPhotons, std::vector< unsigned int > &goodElectrons, std::vector< unsigned int > &goodMuons, std::vector< unsigned int > &goodTaus, std::vector< unsigned int > &goodJets, std::vector< unsigned int > &goodLargeRJets, const bool isLooseEvent)=0
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
top::OverlapRemovalBase::~OverlapRemovalBase
virtual ~OverlapRemovalBase()
Definition: OverlapRemovalBase.cxx:11
MuonContainer.h
top::OverlapRemovalBase::overlapsEl
virtual bool overlapsEl(std::vector< unsigned int > &)
Definition: OverlapRemovalBase.h:38
xAOD::photon
@ photon
Definition: TrackingPrimitives.h:199
JetContainer.h
top::OverlapRemovalBase::operator=
OverlapRemovalBase & operator=(const OverlapRemovalBase &rhs)=delete
top::OverlapRemovalBase::OverlapRemovalBase
OverlapRemovalBase()
Definition: OverlapRemovalBase.cxx:8
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
PhotonContainer.h