ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
20namespace met{
22 : public METAssociator
23 {
24 // This macro defines the constructor with the interface declaration
26
27
28
29 // Public methods:
31 public:
32
33 // Constructor with name
34 METSoftAssociator(const std::string& name);
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*>&,
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*>&,
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
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
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid from which a ReadHandle is made.
METAssociator(const std::string &name)
METSoftAssociator()
Default constructor:
StatusCode initialize()
Dummy implementation of the initialisation function.
METSoftAssociator(const std::string &name)
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
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_emmodclus_key
StatusCode extractTracks(const xAOD::IParticle *, std::vector< const xAOD::IParticle * > &, const met::METAssociator::ConstitHolder &) const final
StatusCode extractTopoClusters(const xAOD::IParticle *, std::vector< const xAOD::IParticle * > &, const met::METAssociator::ConstitHolder &, const EventContext &) const final
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
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_lcmodclus_key
Gaudi::Property< bool > m_decorateSoftTermConst
StatusCode executeTool(xAOD::MissingETContainer *metCont, xAOD::MissingETAssociationMap *metMap, const EventContext &ctx) const final
Class providing the definition of the 4-vector interface.
MissingETAssociationMap_v1 MissingETAssociationMap
Version control by type defintion.