ATLAS Offline Software
SoftMuonObjectCollectionMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef ANALYSISTOP_TOPSYSTEMATICOBJECTMAKER_SOFTMUONOBJECTCOLLECTIONMAKER_H
6 #define ANALYSISTOP_TOPSYSTEMATICOBJECTMAKER_SOFTMUONOBJECTCOLLECTIONMAKER_H
7 
18 // system include(s):
19 #include <memory>
20 #include <set>
21 #include <list>
22 
23 // Framework include(s):
24 #include "AsgTools/AsgTool.h"
25 #include "AsgTools/ToolHandle.h"
26 
27 // Systematic include(s):
29 
30 // CP Tool include(s):
31 //#include "IsolationSelection/IIsolationSelectionTool.h"
34 // Forward declaration(s):
35 namespace top {
36  class TopConfig;
37 }
38 
39 namespace top {
41  public:
42  explicit SoftMuonObjectCollectionMaker(const std::string& name);
44 
45  // Delete Standard constructors
49 
51  StatusCode execute(bool);
52 
54 
55  // return specific Systematic
56  inline virtual const std::list<CP::SystematicSet>& specifiedSystematics() const {return m_specifiedSystematics;}
57 
58  // return all recommendedSystematics
59  inline const std::list<CP::SystematicSet>& recommendedSystematics() const {return m_recommendedSystematics;}
60  protected:
61  // specify Systematic
62  virtual void specifiedSystematics(const std::set<std::string>& specifiedSystematics);
63  private:
64 
65  std::shared_ptr<top::TopConfig> m_config;
66  std::list<CP::SystematicSet> m_specifiedSystematics;
67  std::list<CP::SystematicSet> m_recommendedSystematics;
68 
69  ToolHandle<CP::IMuonCalibrationAndSmearingTool> m_calibrationTool;
70 
71  // the following is needed to make sure all muons for which d0sig is calculated are at least Loose
72 
73  ToolHandle<CP::IMuonSelectionTool> m_muonSelectionToolVeryLooseVeto,m_softmuonSelectionTool;
74 
75  };
76 } // namespace
77 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::SoftMuonObjectCollectionMaker::recommendedSystematics
const std::list< CP::SystematicSet > & recommendedSystematics() const
Definition: SoftMuonObjectCollectionMaker.h:59
top::SoftMuonObjectCollectionMaker
Definition: SoftMuonObjectCollectionMaker.h:40
top::SoftMuonObjectCollectionMaker::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: SoftMuonObjectCollectionMaker.cxx:37
SystematicSet.h
top::SoftMuonObjectCollectionMaker::m_recommendedSystematics
std::list< CP::SystematicSet > m_recommendedSystematics
Definition: SoftMuonObjectCollectionMaker.h:67
top::SoftMuonObjectCollectionMaker::specifiedSystematics
virtual const std::list< CP::SystematicSet > & specifiedSystematics() const
Definition: SoftMuonObjectCollectionMaker.h:56
top::SoftMuonObjectCollectionMaker::operator=
SoftMuonObjectCollectionMaker & operator=(const SoftMuonObjectCollectionMaker &rhs)=delete
top::SoftMuonObjectCollectionMaker::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: SoftMuonObjectCollectionMaker.h:65
IMuonSelectionTool.h
top::SoftMuonObjectCollectionMaker::SoftMuonObjectCollectionMaker
SoftMuonObjectCollectionMaker(const std::string &name)
Definition: SoftMuonObjectCollectionMaker.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
top::SoftMuonObjectCollectionMaker::m_calibrationTool
ToolHandle< CP::IMuonCalibrationAndSmearingTool > m_calibrationTool
Definition: SoftMuonObjectCollectionMaker.h:69
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
top::SoftMuonObjectCollectionMaker::~SoftMuonObjectCollectionMaker
virtual ~SoftMuonObjectCollectionMaker()
Definition: SoftMuonObjectCollectionMaker.h:43
IMuonCalibrationAndSmearingTool.h
top::SoftMuonObjectCollectionMaker::SoftMuonObjectCollectionMaker
SoftMuonObjectCollectionMaker(const SoftMuonObjectCollectionMaker &rhs)=delete
top::SoftMuonObjectCollectionMaker::m_muonSelectionToolVeryLooseVeto
ToolHandle< CP::IMuonSelectionTool > m_muonSelectionToolVeryLooseVeto
Definition: SoftMuonObjectCollectionMaker.h:73
top::SoftMuonObjectCollectionMaker::SoftMuonObjectCollectionMaker
SoftMuonObjectCollectionMaker(SoftMuonObjectCollectionMaker &&rhs)=delete
ToolHandle.h
AsgTool.h
top::SoftMuonObjectCollectionMaker::execute
StatusCode execute(bool)
Definition: SoftMuonObjectCollectionMaker.cxx:72
top::SoftMuonObjectCollectionMaker::m_specifiedSystematics
std::list< CP::SystematicSet > m_specifiedSystematics
Definition: SoftMuonObjectCollectionMaker.h:66
top::SoftMuonObjectCollectionMaker::printout
StatusCode printout()
Definition: SoftMuonObjectCollectionMaker.cxx:146
top::SoftMuonObjectCollectionMaker::m_softmuonSelectionTool
ToolHandle< CP::IMuonSelectionTool > m_softmuonSelectionTool
Definition: SoftMuonObjectCollectionMaker.h:73