ATLAS Offline Software
Loading...
Searching...
No Matches
MetMakerAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef MET_ANALYSIS_ALGORITHMS__MET_MAKER_ALG_H
10#define MET_ANALYSIS_ALGORITHMS__MET_MAKER_ALG_H
11
24
25namespace CP
26{
36
37 class MetMakerAlg final : public EL::AnaAlgorithm
38 {
40 public:
42 StatusCode initialize () override;
43 StatusCode execute () override;
44
45
46
48 private:
49 ToolHandle<IMETMaker> m_makerTool {this, "makerTool", "METMaker", "the METMaker tool we apply"};
50
52 private:
53 ToolHandle<IMETSystematicsTool> m_systematicsTool {this, "systematicsTool", "", "the systematics tool we apply"};
54
56 private:
57 Gaudi::Property<std::string> m_metCoreName {this, "metCore", "", "the name of the core MissingETContainer"};
58
60 private:
61 Gaudi::Property<std::string> m_metAssociationName {this, "metAssociation", "", "the name of the MissingETAssociationMap"};
62
64 private:
66
68 private:
70 this, "electrons", "", "the electron container to use" };
71
73 private:
75 this, "electronsSelection", "", "the selection on the input electrons" };
76
78 private:
79 Gaudi::Property<std::string> m_electronsKey {this, "electronsKey", "RefEle", "the key for the electrons"};
80
82 private:
84 this, "photons", "", "the photon container to use" };
85
87 private:
89 this, "photonsSelection", "", "the selection on the input photons" };
90
92 private:
93 Gaudi::Property<std::string> m_photonsKey {this, "photonsKey", "RefGamma", "the key for the photons"};
94
96 private:
98 this, "muons", "", "the muon container to use" };
99
101 private:
103 this, "muonsSelection", "", "the selection on the input muons" };
104
106 private:
107 Gaudi::Property<std::string> m_muonsKey {this, "muonsKey", "Muons", "the key for the muons"};
108
110 private:
112 this, "taus", "", "the tau container to use" };
113
115 private:
117 this, "tausSelection", "", "the selection on the input taus" };
118
120 private:
121 Gaudi::Property<std::string> m_tausKey {this, "tausKey", "RefTau", "the key for the taus"};
122
124 private:
126 this, "jets", "", "the jet collection we use"};
127
129 private:
131 this, "invisible", {}, "Any particles to treat as invisible."};
132
134 private:
135 Gaudi::Property<std::vector<std::string>> m_invisSelectionKeys {
136 this, "invisibleSelection", {}, "the selection on the particles to be treated as invisible." };
137 private:
138 std::vector<SysReadSelectionHandle> m_invisSelections;
139
141 private:
142 Gaudi::Property<std::string> m_jetsKey {this, "jetsKey", "RefJet", "the key for the jets"};
143
145 private:
146 Gaudi::Property<std::string> m_softTermKey {this, "softTermKey", "PVSoftTrk", "the soft term key"};
147
149 private:
150 Gaudi::Property<bool> m_doTrackMet {this, "doTrackMet", false, "whether to use track-met instead of jet-met"};
151
153 private:
154 Gaudi::Property<bool> m_doJetJVT {this, "doJetJVT", true, "whether to do jet JVT"};
155
157 private:
159 this, "met", "MissingET_%SYS%", "the met collection we produce"};
160 };
161}
162
163#endif
an algorithm for calling IMETMaker
Definition MetMakerAlg.h:38
Gaudi::Property< bool > m_doTrackMet
whether to use track-met instead of jet-met
SysReadSelectionHandle m_muonsSelection
the selection on the input muons
SysReadHandle< xAOD::IParticleContainer > m_tausHandle
the electron container to use
SysWriteHandle< xAOD::MissingETContainer, xAOD::MissingETAuxContainer > m_metHandle
the met collection we run on
SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electron container to use
Definition MetMakerAlg.h:69
Gaudi::Property< std::vector< std::string > > m_invisSelectionKeys
the selection on the invisible container
Gaudi::Property< std::string > m_electronsKey
the key for m_electronsHandle
Definition MetMakerAlg.h:79
Gaudi::Property< std::string > m_photonsKey
the key for m_photonsHandle
Definition MetMakerAlg.h:93
ToolHandle< IMETSystematicsTool > m_systematicsTool
the systematics tool
Definition MetMakerAlg.h:53
Gaudi::Property< std::string > m_softTermKey
the soft term key
SysReadSelectionHandle m_photonsSelection
the selection on the input photons
Definition MetMakerAlg.h:88
std::vector< SysReadSelectionHandle > m_invisSelections
ToolHandle< IMETMaker > m_makerTool
the maker tool
Definition MetMakerAlg.h:49
SysHandleArray< SysReadHandle< xAOD::IParticleContainer > > m_invisHandles
the container to be marked as invisible particles
Gaudi::Property< std::string > m_metCoreName
the name of the core MissingETContainer
Definition MetMakerAlg.h:57
Gaudi::Property< std::string > m_tausKey
the key for m_tausHandle
Gaudi::Property< std::string > m_jetsKey
the key for m_jetsHandle
SysReadHandle< xAOD::IParticleContainer > m_photonsHandle
the photon container to use
Definition MetMakerAlg.h:83
Gaudi::Property< bool > m_doJetJVT
whether to do jet JVT
SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muon container to use
Definition MetMakerAlg.h:97
SysReadSelectionHandle m_tausSelection
the selection on the input taus
Gaudi::Property< std::string > m_metAssociationName
the name of the MissingETAssociationMap
Definition MetMakerAlg.h:61
StatusCode execute() override
StatusCode initialize() override
SysReadSelectionHandle m_electronsSelection
the selection on the input electrons
Definition MetMakerAlg.h:74
SysReadHandle< xAOD::JetContainer > m_jetsHandle
the input jet collection we run on
Gaudi::Property< std::string > m_muonsKey
the key for m_muonsHandle
SysListHandle m_systematicsList
the systematics list we run
Definition MetMakerAlg.h:65
Vector-like class for systematic handles which interact with decorations.
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.