ATLAS Offline Software
TopGhostTrackCPTools.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_TOPGHOSTTRACKCPTOOLS_H_
6 #define TOPCPTOOLS_TOPGHOSTTRACKCPTOOLS_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 // Tracking include(s):
27 
28 
29 
30 namespace top {
31  class TopConfig;
32 
33  class GhostTrackCPTools final: public asg::AsgTool {
34  public:
35  explicit GhostTrackCPTools(const std::string& name);
36  virtual ~GhostTrackCPTools() {}
37 
39  private:
40  std::shared_ptr<top::TopConfig> m_config;
41 
42  std::vector<std::uint32_t> m_runPeriods;
43 
44  const std::string m_smearingToolName {
45  "top::GhostTrackCPTools::InDetTrackSmearingTool"
46  };
47  const std::string m_biasToolPrefix {
48  "top::GhostTrackCPTools::InDetTrackBiasingTool"
49  };
50  const std::string m_truthOriginToolName {
51  "top::GhostTrackCPTools::InDetTrackTruthOriginTool"
52  };
53  const std::string m_truthFilterToolName {
54  "top::GhostTrackCPTools::InDetTrackTruthFilterTool"
55  };
56  const std::string m_jetTrackFilterToolName {
57  "top::GhostTrackCPTools::JetTrackFilterTool"
58  };
59 
60  const std::string m_TrkSelName {
61  "top::GhostTrackCPTools::TrkSelTool"
62  };
63 
64  ToolHandle<InDet::InDetTrackSmearingTool> m_smearingTool;
65  ToolHandle<InDet::InDetTrackTruthOriginTool> m_truthOriginTool;
66  ToolHandle<InDet::InDetTrackTruthFilterTool> m_truthFilterTool;
67  ToolHandle<InDet::JetTrackFilterTool> m_jetTrackFilterTool;
68  ToolHandle<InDet::InDetTrackSelectionTool> m_trackseltool;
69 
70 
71  std::vector<ToolHandle<InDet::InDetTrackBiasingTool> > m_biasingTool;
72 
78  };
79 } // namespace top
80 
81 #endif // TOPCPTOOLS_TOPGHOSTTRACKCPTOOLS_H_
top::GhostTrackCPTools::m_biasingTool
std::vector< ToolHandle< InDet::InDetTrackBiasingTool > > m_biasingTool
Definition: TopGhostTrackCPTools.h:71
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
InDetTrackTruthFilterTool.h
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::GhostTrackCPTools::m_trackseltool
ToolHandle< InDet::InDetTrackSelectionTool > m_trackseltool
Definition: TopGhostTrackCPTools.h:68
top::GhostTrackCPTools::~GhostTrackCPTools
virtual ~GhostTrackCPTools()
Definition: TopGhostTrackCPTools.h:36
top::GhostTrackCPTools::m_truthOriginToolName
const std::string m_truthOriginToolName
Definition: TopGhostTrackCPTools.h:50
top::GhostTrackCPTools
Definition: TopGhostTrackCPTools.h:33
top::GhostTrackCPTools::m_jetTrackFilterTool
ToolHandle< InDet::JetTrackFilterTool > m_jetTrackFilterTool
Definition: TopGhostTrackCPTools.h:67
top::GhostTrackCPTools::setupBiasingTools
StatusCode setupBiasingTools()
Definition: TopGhostTrackCPTools.cxx:101
top::GhostTrackCPTools::m_TrkSelName
const std::string m_TrkSelName
Definition: TopGhostTrackCPTools.h:60
top::GhostTrackCPTools::m_truthFilterToolName
const std::string m_truthFilterToolName
Definition: TopGhostTrackCPTools.h:53
top::GhostTrackCPTools::m_truthFilterTool
ToolHandle< InDet::InDetTrackTruthFilterTool > m_truthFilterTool
Definition: TopGhostTrackCPTools.h:66
ToolHandleArray.h
top::GhostTrackCPTools::m_biasToolPrefix
const std::string m_biasToolPrefix
Definition: TopGhostTrackCPTools.h:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
top::GhostTrackCPTools::m_smearingToolName
const std::string m_smearingToolName
Definition: TopGhostTrackCPTools.h:44
top::GhostTrackCPTools::setupSelectionTool
StatusCode setupSelectionTool()
Definition: TopGhostTrackCPTools.cxx:74
InDetTrackSelectionTool.h
InDetTrackBiasingTool.h
top::GhostTrackCPTools::m_truthOriginTool
ToolHandle< InDet::InDetTrackTruthOriginTool > m_truthOriginTool
Definition: TopGhostTrackCPTools.h:65
top::GhostTrackCPTools::setupJetTrackFilterTool
StatusCode setupJetTrackFilterTool()
Definition: TopGhostTrackCPTools.cxx:181
AnaToolHandle.h
top::GhostTrackCPTools::GhostTrackCPTools
GhostTrackCPTools(const std::string &name)
Definition: TopGhostTrackCPTools.cxx:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
top::GhostTrackCPTools::m_smearingTool
ToolHandle< InDet::InDetTrackSmearingTool > m_smearingTool
Definition: TopGhostTrackCPTools.h:64
JetTrackFilterTool.h
InDetTrackTruthOriginTool.h
InDetTrackSystematics.h
top::GhostTrackCPTools::setupTruthFilterTool
StatusCode setupTruthFilterTool()
Definition: TopGhostTrackCPTools.cxx:155
top::GhostTrackCPTools::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: TopGhostTrackCPTools.cxx:25
InDetTrackSmearingTool.h
top::GhostTrackCPTools::setupSmearingTool
StatusCode setupSmearingTool()
Definition: TopGhostTrackCPTools.cxx:89
ToolHandle.h
AsgTool.h
top::GhostTrackCPTools::m_runPeriods
std::vector< std::uint32_t > m_runPeriods
Definition: TopGhostTrackCPTools.h:42
top::GhostTrackCPTools::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: TopGhostTrackCPTools.h:40
top::GhostTrackCPTools::m_jetTrackFilterToolName
const std::string m_jetTrackFilterToolName
Definition: TopGhostTrackCPTools.h:56