ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MET
METReconstruction
METReconstruction
METSoftTermsTool.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// METSoftTermsTool.h
8
// Header file for class METSoftTermsTool
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
// Note that this tool is now quite outdated and should be used only
14
// for basic monitoring purposes.
15
//
16
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
17
//
18
// Author: P Loch, S Resconi, TJ Khoo
20
#ifndef METRECONSTRUCTION_METSOFTTERMSTOOL_H
21
#define METRECONSTRUCTION_METSOFTTERMSTOOL_H 1
22
23
// STL includes
24
#include <string>
25
26
// METReconstruction includes
27
#include "
METReconstruction/METBuilderTool.h
"
28
29
//#include "xAODCaloEvent/CaloClusterFwd.h"
30
#include "
xAODCaloEvent/CaloClusterContainer.h
"
31
//#include "xAODTracking/TrackParticleFwd.h"
32
#include "
xAODTracking/TrackParticleContainer.h
"
33
34
namespace
met
{
35
36
class
METSoftTermsTool
37
:
public
METBuilderTool
38
{
39
// This macro defines the constructor with the interface declaration
40
ASG_TOOL_CLASS
(
METSoftTermsTool
,
IMETToolBase
)
41
42
public
:
43
44
// Constructor with name (does this have to be a non-const
45
// std::string and not a const reference?)
46
METSoftTermsTool
(
const
std::string&
name
);
47
~METSoftTermsTool
() =
default
;
48
49
// AsgTool Hooks
50
virtual
StatusCode
initialize
()
override
;
51
52
protected
:
53
virtual
54
StatusCode
executeTool
(
xAOD::MissingET
* metTerm,
xAOD::MissingETComponentMap
* metMap)
const override
;
55
// Accept functions
56
virtual
57
bool
accept
(
const
xAOD::IParticle
*
object
)
const override
;
58
bool
accept
(
const
xAOD::CaloCluster
* clus)
const
;
59
static
bool
accept
(
const
xAOD::TrackParticle
* trk) ;
60
// Overlap resolver function
61
virtual
62
bool
resolveOverlap
(
const
xAOD::IParticle
*
object
,
63
xAOD::MissingETComponentMap
* metMap,
64
std::vector<const xAOD::IParticle*>& acceptedSignals,
65
MissingETBase::Types::weight_t
& objWeight)
const override
;
66
bool
resolveOverlap
(
xAOD::MissingETComponentMap
* metMap,
67
std::vector<const xAOD::IParticle*>& acceptedSignals)
const
;
68
69
private
:
70
// Default constructor:
71
METSoftTermsTool
();
72
73
// Use Case - Clusters OR Tracks OR PFOs
74
Gaudi::Property<std::string>
m_inputType
{
this
,
"InputComposition"
,
"Clusters"
,
""
};
// Options : Clusters (default) OR Tracks
75
xAOD::Type::ObjectType
m_st_objtype
;
76
// Cluster selection
77
Gaudi::Property<bool>
m_cl_vetoNegE
{
this
,
"VetoNegEClus"
,
true
,
""
};
78
Gaudi::Property<bool>
m_cl_onlyNegE
{
this
,
"OnlyNegEClus"
,
false
,
""
};
79
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_caloClusterKey
{
this
,
"CaloClusterKey"
,
""
,
"Input calo cluster container name (not to be configured manually)"
};
80
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trackParticleKey
{
this
,
"TrackKey"
,
""
,
"Input track container name (not to be configured manually)"
};
81
};
82
83
}
84
85
#endif
//> !METRECONSTRUCTION_METSOFTTERMSTOOL_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
CaloClusterContainer.h
TrackParticleContainer.h
METBuilderTool.h
IMETToolBase
Definition
IMETToolBase.h:25
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
met::METBuilderTool::METBuilderTool
METBuilderTool(const std::string &name)
Definition
METBuilderTool.cxx:38
met::METSoftTermsTool::m_cl_onlyNegE
Gaudi::Property< bool > m_cl_onlyNegE
Definition
METSoftTermsTool.h:78
met::METSoftTermsTool::resolveOverlap
virtual bool resolveOverlap(const xAOD::IParticle *object, xAOD::MissingETComponentMap *metMap, std::vector< const xAOD::IParticle * > &acceptedSignals, MissingETBase::Types::weight_t &objWeight) const override
Definition
METSoftTermsTool.cxx:133
met::METSoftTermsTool::accept
virtual bool accept(const xAOD::IParticle *object) const override
Definition
METSoftTermsTool.cxx:81
met::METSoftTermsTool::m_trackParticleKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleKey
Definition
METSoftTermsTool.h:80
met::METSoftTermsTool::m_caloClusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClusterKey
Definition
METSoftTermsTool.h:79
met::METSoftTermsTool::METSoftTermsTool
METSoftTermsTool(const std::string &name)
Definition
METSoftTermsTool.cxx:53
met::METSoftTermsTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
METSoftTermsTool.cxx:61
met::METSoftTermsTool::m_cl_vetoNegE
Gaudi::Property< bool > m_cl_vetoNegE
Definition
METSoftTermsTool.h:77
met::METSoftTermsTool::~METSoftTermsTool
~METSoftTermsTool()=default
met::METSoftTermsTool::m_st_objtype
xAOD::Type::ObjectType m_st_objtype
Definition
METSoftTermsTool.h:75
met::METSoftTermsTool::m_inputType
Gaudi::Property< std::string > m_inputType
Definition
METSoftTermsTool.h:74
met::METSoftTermsTool::METSoftTermsTool
METSoftTermsTool()
met::METSoftTermsTool::executeTool
virtual StatusCode executeTool(xAOD::MissingET *metTerm, xAOD::MissingETComponentMap *metMap) const override
Definition
METSoftTermsTool.cxx:167
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
MissingETBase::Types::weight_t
xAOD::MissingETComponent_v1::Weight weight_t
Type for kinematic weight.
Definition
MissingETComponent_v1.h:264
met
Definition
IMETSignificance.h:24
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition
ObjectType.h:32
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
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
Generated on
for ATLAS Offline Software by
1.17.0