ATLAS Offline Software
Tau.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 TOPOBJECTSELECTIONTOOLS_TAU_H_
6 #define TOPOBJECTSELECTIONTOOLS_TAU_H_
7 
8 #include <memory>
9 
12 #include "TauAnalysisTools/Enums.h"
13 #include "TopEvent/EventTools.h"
14 
15 namespace top {
19  class Tau: public top::TauSelectionBase {
20  public:
21  Tau();
22 
23  virtual ~Tau() {}
30  bool passSelection(const xAOD::TauJet& tau) const override;
31 
39  bool passSelectionLoose(const xAOD::TauJet& tau) const override;
40 
46  void print(std::ostream& os) const override;
47  protected:
48  // The selection tool to use for the tight (main) analysis.
49  ToolHandle<TauAnalysisTools::TauSelectionTool> m_tauSelection;
50 
51  // The selection tool to use for the loose (e.g. fakes) object selection.
52  ToolHandle<TauAnalysisTools::TauSelectionTool> m_tauSelectionLoose;
53  };
54 } // namespace top
55 
56 #endif // TOPOBJECTSELECTIONTOOLS_TAU_H_
Enums.h
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::Tau::passSelection
bool passSelection(const xAOD::TauJet &tau) const override
Selection for the main analysis (i.e.
Definition: Tau.cxx:18
TauSelectionBase.h
top::Tau::print
void print(std::ostream &os) const override
Why would you not want to know what you're running?
Definition: Tau.cxx:44
Tau
Definition: EfficiencyPtPlots.cxx:9
top::Tau::m_tauSelection
ToolHandle< TauAnalysisTools::TauSelectionTool > m_tauSelection
Definition: Tau.h:49
EventTools.h
A few functions for doing operations on particles / events. Currently holds code for dR,...
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
top::Tau::passSelectionLoose
bool passSelectionLoose(const xAOD::TauJet &tau) const override
Selection for the "loose" object definitions (e.g.
Definition: Tau.cxx:34
top::Tau::m_tauSelectionLoose
ToolHandle< TauAnalysisTools::TauSelectionTool > m_tauSelectionLoose
Definition: Tau.h:52
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
TauSelectionTool.h
top::Tau::~Tau
virtual ~Tau()
Definition: Tau.h:23
top::TauSelectionBase
Definition: TauSelectionBase.h:11
top::Tau::Tau
Tau()
Definition: Tau.cxx:9