ATLAS Offline Software
MetBuilderAlg.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_BUILDER_ALG_H
10 #define MET_ANALYSIS_ALGORITHMS__MET_BUILDER_ALG_H
11 
15 #include <METInterface/IMETMaker.h>
18 
19 namespace CP
20 {
22 
23  class MetBuilderAlg final : public EL::AnaAlgorithm
24  {
26  public:
28  StatusCode initialize () override;
29  StatusCode execute () override;
30 
31 
32 
34  private:
36 
38  private:
40  this, "met", "MissingET_%SYS%", "the met collection we run on"};
41 
43  private:
44  Gaudi::Property<std::string> m_finalKey {this, "finalKey", "Final", "the key for the final met term"};
45 
47  private:
48  Gaudi::Property<std::string> m_softTerm {this, "softTerm", "PVSoftTrk", "the key for the soft term"};
49  };
50 }
51 
52 #endif
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysListHandle.h
SysCopyHandle.h
IMETMaker.h
CP::MetBuilderAlg::m_softTerm
Gaudi::Property< std::string > m_softTerm
the key for the soft term
Definition: MetBuilderAlg.h:48
CP::MetBuilderAlg::m_finalKey
Gaudi::Property< std::string > m_finalKey
the key for the final met term
Definition: MetBuilderAlg.h:44
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::MetBuilderAlg::execute
StatusCode execute() override
Definition: MetBuilderAlg.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::MetBuilderAlg::m_metHandle
SysCopyHandle< xAOD::MissingETContainer > m_metHandle
the met collection we run on
Definition: MetBuilderAlg.h:39
CP::MetBuilderAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: MetBuilderAlg.h:35
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
CP::MetBuilderAlg
an algorithm for calling IMetCalibrationAndSmearingTool
Definition: MetBuilderAlg.h:24
MissingETContainer.h
CP::MetBuilderAlg::initialize
StatusCode initialize() override
Definition: MetBuilderAlg.cxx:26