ATLAS Offline Software
Loading...
Searching...
No Matches
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
29
30// Forward declaration
31namespace xAOD {
32 class IParticle;
33}
34
35namespace met {
37 : virtual public asg::AsgTool,
38 virtual public IMETToolBase
39 {
40 // This macro defines the constructor with the interface declaration
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:
73
74 };
75
76}
77
78#endif //> !METRECONSTRUCTION_METREFINERTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
METRefinerTool(const std::string &name)
METRefinerTool()
Default constructor:
virtual StatusCode finalize()
std::string m_output_met_key
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual StatusCode execute(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const
virtual ~METRefinerTool()
virtual StatusCode executeTool(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const =0
Class providing the definition of the 4-vector interface.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
MissingETComponentMap_v1 MissingETComponentMap
Version control by type definition.
MissingET_v1 MissingET
Version control by type defintion.