ATLAS Offline Software
METJetTool.h
Go to the documentation of this file.
1 
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 
28 namespace met{
29 
30  class METJetTool
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
50 
52  // Private data:
54  protected:
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:
63  double m_jet_minPt;
64  double m_jet_maxEta;
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
71  double m_jet_minWet;
73  // do track OR
75 
78 
79  };
80 
81 }
82 
83 #endif //> !METRECONSTRUCTION_METJETTOOL_H
xAOD::MissingETComponentMap_v1
Definition: MissingETComponentMap_v1.h:25
met::METJetTool::m_jet_doQualCut
bool m_jet_doQualCut
Definition: METJetTool.h:66
met::METJetTool::m_jet_minPt
double m_jet_minPt
Definition: METJetTool.h:63
met::METBuilderTool
Definition: METBuilderTool.h:39
METBuilderTool.h
met::METJetTool
Definition: METJetTool.h:32
met::METJetTool::accept
bool accept(const xAOD::IParticle *object) const
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
IMETToolBase
Definition: IMETToolBase.h:25
met::METJetTool::m_jet_maxEta
double m_jet_maxEta
Definition: METJetTool.h:64
met
Definition: IMETSignificance.h:24
met::METJetTool::m_jet_minWet
double m_jet_minWet
Definition: METJetTool.h:71
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
met::METJetTool::m_jet_doTracks
bool m_jet_doTracks
Definition: METJetTool.h:74
xAOD::MissingET_v1
Principal data object for Missing ET.
Definition: MissingET_v1.h:25
met::METJetTool::~METJetTool
~METJetTool()
met::METJetTool::finalize
StatusCode finalize()
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
met::METJetTool::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
met::METJetTool::METJetTool
METJetTool(const std::string &name)
met::METJetTool::m_jet_doMinWetPtCut
bool m_jet_doMinWetPtCut
Definition: METJetTool.h:72
met::METJetTool::executeTool
StatusCode executeTool(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
xAOD::MissingETComponent_v1::Weight
Kinematic weight descriptor.
Definition: MissingETComponent_v1.h:28
met::METJetTool::METJetTool
METJetTool()
Default constructor:
met::METJetTool::m_jet_badQual
std::string m_jet_badQual
Definition: METJetTool.h:67
met::METJetTool::resolveOverlap
bool resolveOverlap(const xAOD::IParticle *object, xAOD::MissingETComponentMap *metMap, std::vector< const xAOD::IParticle * > &acceptedSignals, MissingETBase::Types::weight_t &objWeight) const