ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
MET
METReconstruction
METReconstruction
METRefinerTool.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// METRefinerTool.h
8
// Header file for class METRefinerTool
9
//
10
// This is the base class for tools that modify MET terms
11
// created by METBuilderTools
12
//
13
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
14
//
15
// Author: P Loch, S Resconi, TJ Khoo
17
#ifndef METRECONSTRUCTION_METREFINERTOOL_H
18
#define METRECONSTRUCTION_METREFINERTOOL_H 1
19
20
// STL includes
21
#include <string>
22
23
// FrameWork includes
24
#include "
AsgTools/ToolHandle.h
"
25
#include "
AsgTools/AsgTool.h
"
26
27
// METRecoInterface includes
28
#include "
METRecoInterface/IMETToolBase.h
"
29
30
// Forward declaration
31
namespace
xAOD
{
32
class
IParticle
;
33
}
34
35
namespace
met
{
36
class
METRefinerTool
37
:
virtual
public
asg::AsgTool
,
38
virtual
public
IMETToolBase
39
{
40
// This macro defines the constructor with the interface declaration
41
ASG_TOOL_CLASS
(
METRefinerTool
,
IMETToolBase
)
42
43
44
// Public methods:
46
public
:
47
48
// Constructor with name (does this have to be a non-const
49
// std::string and not a const reference?)
50
METRefinerTool
(
const
std::string&
name
);
51
virtual
~METRefinerTool
();
52
53
// AsgTool Hooks
54
virtual
StatusCode
initialize
();
55
virtual
StatusCode
execute
(
xAOD::MissingET
* metTerm,
xAOD::MissingETComponentMap
* metMap)
const
;
56
virtual
StatusCode
finalize
();
57
59
// Private data:
61
protected
:
62
63
std::string
m_output_met_key
;
64
bool
m_useRapidity
;
// by default, use pseudorapidity for matching
65
66
// reconstruction process to be defined in the individual tools
67
// pure virtual -- we have no default
68
virtual
StatusCode
executeTool
(
xAOD::MissingET
* metTerm,
xAOD::MissingETComponentMap
* metMap)
const
= 0;
69
70
private
:
72
METRefinerTool
();
73
74
};
75
76
}
77
78
#endif
//> !METRECONSTRUCTION_METREFINERTOOL_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IMETToolBase.h
ToolHandle.h
IMETToolBase
Definition
IMETToolBase.h:25
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
met::METRefinerTool::METRefinerTool
METRefinerTool(const std::string &name)
Definition
METRefinerTool.cxx:38
met::METRefinerTool::m_useRapidity
bool m_useRapidity
Definition
METRefinerTool.h:64
met::METRefinerTool::METRefinerTool
METRefinerTool()
Default constructor:
met::METRefinerTool::finalize
virtual StatusCode finalize()
Definition
METRefinerTool.cxx:76
met::METRefinerTool::m_output_met_key
std::string m_output_met_key
Definition
METRefinerTool.h:63
met::METRefinerTool::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
METRefinerTool.cxx:52
met::METRefinerTool::execute
virtual StatusCode execute(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const
Definition
METRefinerTool.cxx:59
met::METRefinerTool::~METRefinerTool
virtual ~METRefinerTool()
met::METRefinerTool::executeTool
virtual StatusCode executeTool(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const =0
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
met
Definition
IMETSignificance.h:24
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::MissingETComponentMap
MissingETComponentMap_v1 MissingETComponentMap
Version control by type definition.
Definition
MissingETComponentMap.h:16
xAOD::MissingET
MissingET_v1 MissingET
Version control by type defintion.
Definition
Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h:15
Generated on
for ATLAS Offline Software by
1.14.0