ATLAS Offline Software
Loading...
Searching...
No Matches
METJetTool.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// METJetTool.h
8// Header file for class METJetTool
9//
10// This is a scheduler for the MET Reconstruction, and sets up
11// the sequence in which the individual terms are constructed.
12//
13// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
14//
15// Author: P Loch, S Resconi, TJ Khoo
17#ifndef METRECONSTRUCTION_METJETTOOL_H
18#define METRECONSTRUCTION_METJETTOOL_H 1
19
20// STL includes
21#include <string>
22
23// METReconstruction includes
25
26// Forward declaration
27
28namespace met{
29
31 : public METBuilderTool
32 {
33 // This macro defines the constructor with the interface declaration
35
36
37
38 // Public methods:
40 public:
41
42 // Constructor with name (does this have to be a non-const
43 // std::string and not a const reference?)
44 METJetTool(const std::string& name);
46
47 // AsgTool Hooks
48 StatusCode initialize();
49 StatusCode finalize();
50
52 // Private data:
54 protected:
55 StatusCode executeTool(xAOD::MissingET* metTerm, xAOD::MissingETComponentMap* metMap) const;
56 bool accept(const xAOD::IParticle* object) const;
57 bool resolveOverlap(const xAOD::IParticle* object,
59 std::vector<const xAOD::IParticle*>& acceptedSignals,
60 MissingETBase::Types::weight_t& objWeight) const;
61
62 private:
65 // permit to select jets based on some object quality
67 std::string m_jet_badQual;
68 // minimum non-overlapping E fraction to retain jet calibration
69 // could become a property of METBuilderTool if necessary
70 // or we could apply a min pt cut instead
73 // do track OR
75
78
79 };
80
81}
82
83#endif //> !METRECONSTRUCTION_METJETTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
METBuilderTool(const std::string &name)
bool accept(const xAOD::IParticle *object) const
double m_jet_minPt
Definition METJetTool.h:63
double m_jet_minWet
Definition METJetTool.h:71
StatusCode executeTool(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const
std::string m_jet_badQual
Definition METJetTool.h:67
double m_jet_maxEta
Definition METJetTool.h:64
StatusCode finalize()
METJetTool()
Default constructor:
bool resolveOverlap(const xAOD::IParticle *object, xAOD::MissingETComponentMap *metMap, std::vector< const xAOD::IParticle * > &acceptedSignals, MissingETBase::Types::weight_t &objWeight) const
StatusCode initialize()
Dummy implementation of the initialisation function.
METJetTool(const std::string &name)
bool m_jet_doMinWetPtCut
Definition METJetTool.h:72
Class providing the definition of the 4-vector interface.
xAOD::MissingETComponent_v1::Weight weight_t
Type for kinematic weight.
MissingETComponentMap_v1 MissingETComponentMap
Version control by type definition.
MissingET_v1 MissingET
Version control by type defintion.