ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MET
METReconstruction
METReconstruction
METSoftAssociator.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// METSoftAssociator.h
8
// Header file for class METSoftAssociator
9
//
10
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
11
//
12
// Author: P Loch, S Resconi, TJ Khoo, AS Mete
14
#ifndef METRECONSTRUCTION_METSOFTASSOCIATOR_H
15
#define METRECONSTRUCTION_METSOFTASSOCIATOR_H 1
16
17
// METReconstruction includes
18
#include "
METReconstruction/METAssociator.h
"
19
20
namespace
met
{
21
class
METSoftAssociator
final
22
:
public
METAssociator
23
{
24
// This macro defines the constructor with the interface declaration
25
ASG_TOOL_CLASS
(
METSoftAssociator
,
IMETAssocToolBase
)
26
27
28
29
// Public methods:
31
public
:
32
33
// Constructor with name
34
METSoftAssociator
(
const
std::string&
name
);
35
~METSoftAssociator
();
36
37
// AsgTool Hooks
38
StatusCode
initialize
();
39
StatusCode
finalize
();
40
42
// Private data:
44
protected
:
45
46
StatusCode
executeTool
(
xAOD::MissingETContainer
* metCont,
xAOD::MissingETAssociationMap
* metMap,
const
EventContext& ctx)
const
final
;
47
48
virtual
StatusCode
extractPFO
(
const
xAOD::IParticle
*,
49
std::vector<const xAOD::IParticle*>&,
50
const
met::METAssociator::ConstitHolder
&,
51
std::map<const xAOD::IParticle*,MissingETBase::Types::constvec_t>&,
const
EventContext&)
const
final
52
{
return
StatusCode::FAILURE;}
// should not be called
53
virtual
StatusCode
extractFE
(
const
xAOD::IParticle
*,
54
std::vector<const xAOD::IParticle*>&,
55
const
met::METAssociator::ConstitHolder
&,
56
std::map<const xAOD::IParticle*,MissingETBase::Types::constvec_t>&,
const
EventContext&)
const
final
57
{
return
StatusCode::FAILURE;}
// should not be called
58
StatusCode
extractTracks
(
const
xAOD::IParticle
*,
59
std::vector<const xAOD::IParticle*>&,
60
const
met::METAssociator::ConstitHolder
&)
const
final
61
{
return
StatusCode::FAILURE;}
// should not be called
62
StatusCode
extractTopoClusters
(
const
xAOD::IParticle
*,
63
std::vector<const xAOD::IParticle*>&,
64
const
met::METAssociator::ConstitHolder
&,
const
EventContext&)
const
final
65
{
return
StatusCode::FAILURE;}
// should not be called
66
67
private
:
68
70
METSoftAssociator
();
71
72
Gaudi::Property<bool>
m_decorateSoftTermConst
{
this
,
"DecorateSoftConst"
,
false
};
73
bool
m_weight_soft_pfo
=
false
;
74
75
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_lcmodclus_key
{
this
,
"LCModClusterKey"
,
"LCOriginTopoClusters"
};
76
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_emmodclus_key
{
this
,
"EMModClusterKey"
,
"EMOriginTopoClusters"
};
77
78
};
79
80
}
81
82
#endif
//> !METRECONSTRUCTION_METSOFTASSOCIATOR_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
METAssociator.h
IMETAssocToolBase
Definition
IMETAssocToolBase.h:26
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
met::METAssociator::METAssociator
METAssociator(const std::string &name)
Definition
METAssociator.cxx:53
met::METSoftAssociator::METSoftAssociator
METSoftAssociator()
Default constructor:
met::METSoftAssociator::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
METSoftAssociator.cxx:40
met::METSoftAssociator::METSoftAssociator
METSoftAssociator(const std::string &name)
Definition
METSoftAssociator.cxx:27
met::METSoftAssociator::extractPFO
virtual StatusCode extractPFO(const xAOD::IParticle *, std::vector< const xAOD::IParticle * > &, const met::METAssociator::ConstitHolder &, std::map< const xAOD::IParticle *, MissingETBase::Types::constvec_t > &, const EventContext &) const final
Definition
METSoftAssociator.h:48
met::METSoftAssociator::m_emmodclus_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_emmodclus_key
Definition
METSoftAssociator.h:76
met::METSoftAssociator::m_weight_soft_pfo
bool m_weight_soft_pfo
Definition
METSoftAssociator.h:73
met::METSoftAssociator::extractTracks
StatusCode extractTracks(const xAOD::IParticle *, std::vector< const xAOD::IParticle * > &, const met::METAssociator::ConstitHolder &) const final
Definition
METSoftAssociator.h:58
met::METSoftAssociator::extractTopoClusters
StatusCode extractTopoClusters(const xAOD::IParticle *, std::vector< const xAOD::IParticle * > &, const met::METAssociator::ConstitHolder &, const EventContext &) const final
Definition
METSoftAssociator.h:62
met::METSoftAssociator::extractFE
virtual StatusCode extractFE(const xAOD::IParticle *, std::vector< const xAOD::IParticle * > &, const met::METAssociator::ConstitHolder &, std::map< const xAOD::IParticle *, MissingETBase::Types::constvec_t > &, const EventContext &) const final
Definition
METSoftAssociator.h:53
met::METSoftAssociator::finalize
StatusCode finalize()
Definition
METSoftAssociator.cxx:50
met::METSoftAssociator::m_lcmodclus_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_lcmodclus_key
Definition
METSoftAssociator.h:75
met::METSoftAssociator::m_decorateSoftTermConst
Gaudi::Property< bool > m_decorateSoftTermConst
Definition
METSoftAssociator.h:72
met::METSoftAssociator::executeTool
StatusCode executeTool(xAOD::MissingETContainer *metCont, xAOD::MissingETAssociationMap *metMap, const EventContext &ctx) const final
Definition
METSoftAssociator.cxx:58
met::METSoftAssociator::~METSoftAssociator
~METSoftAssociator()
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::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::MissingETContainer
MissingETContainer_v1 MissingETContainer
Definition
Event/xAOD/xAODMissingET/xAODMissingET/MissingETContainer.h:16
xAOD::MissingETAssociationMap
MissingETAssociationMap_v1 MissingETAssociationMap
Version control by type defintion.
Definition
MissingETAssociationMap.h:16
met::METAssociator::ConstitHolder
Definition
METAssociator.h:58
Generated on
for ATLAS Offline Software by
1.17.0