ATLAS Offline Software
TopOtherCPTools.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 TOPCPTOOLS_TOPOTHERCPTOOLS_H_
6 #define TOPCPTOOLS_TOPOTHERCPTOOLS_H_
7 
8 // Include what you use
9 #include <vector>
10 #include <string>
11 
12 // Framework include(s):
13 #include "AsgTools/AsgTool.h"
14 #include "AsgTools/ToolHandle.h"
16 #include "AsgTools/AnaToolHandle.h"
17 
18 // GRL include(s):
20 
21 // Pileup Reweighting include(s):
23 
24 // PMG Tools
27 
28 namespace top {
29  class TopConfig;
30 
31  class OtherCPTools final: public asg::AsgTool {
32  public:
33  explicit OtherCPTools(const std::string& name);
34  virtual ~OtherCPTools() {}
35 
37  private:
38  std::shared_ptr<top::TopConfig> m_config;
39 
40  ToolHandle<IGoodRunsListSelectionTool> m_grlTool;
41  ToolHandle<CP::IPileupReweightingTool> m_pileupReweightingTool;
42  ToolHandle<PMGTools::PMGSherpa22VJetsWeightTool> m_pmg_sherpa22_vjets_tool;
43  ToolHandle<PMGTools::IPMGTruthWeightTool> m_pmg_weightTool;
44 
48  };
49 } // namespace top
50 
51 #endif // TOPCPTOOLS_TOPOTHERCPTOOLS_H_
top::OtherCPTools::OtherCPTools
OtherCPTools(const std::string &name)
Definition: TopOtherCPTools.cxx:28
PMGSherpa22VJetsWeightTool.h
IGoodRunsListSelectionTool.h
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
top::OtherCPTools::setupPileupReweighting
StatusCode setupPileupReweighting()
Definition: TopOtherCPTools.cxx:76
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::OtherCPTools::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: TopOtherCPTools.h:38
top::OtherCPTools::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: TopOtherCPTools.cxx:35
top::OtherCPTools::m_pileupReweightingTool
ToolHandle< CP::IPileupReweightingTool > m_pileupReweightingTool
Definition: TopOtherCPTools.h:41
top::OtherCPTools::setupGRL
StatusCode setupGRL()
Definition: TopOtherCPTools.cxx:47
top::OtherCPTools::setupPMGTools
StatusCode setupPMGTools()
Definition: TopOtherCPTools.cxx:219
top::OtherCPTools
Definition: TopOtherCPTools.h:31
ToolHandleArray.h
IPileupReweightingTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
top::OtherCPTools::~OtherCPTools
virtual ~OtherCPTools()
Definition: TopOtherCPTools.h:34
IPMGTruthWeightTool.h
AnaToolHandle.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
top::OtherCPTools::m_grlTool
ToolHandle< IGoodRunsListSelectionTool > m_grlTool
Definition: TopOtherCPTools.h:40
top::OtherCPTools::m_pmg_sherpa22_vjets_tool
ToolHandle< PMGTools::PMGSherpa22VJetsWeightTool > m_pmg_sherpa22_vjets_tool
Definition: TopOtherCPTools.h:42
ToolHandle.h
AsgTool.h
top::OtherCPTools::m_pmg_weightTool
ToolHandle< PMGTools::IPMGTruthWeightTool > m_pmg_weightTool
Definition: TopOtherCPTools.h:43