ATLAS Offline Software
MetSignificanceAlg.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_SIGNIFICANCE_ALG_H
10 #define MET_ANALYSIS_ALGORITHMS__MET_SIGNIFICANCE_ALG_H
11 
19 
20 namespace CP
21 {
23 
24  class MetSignificanceAlg final : public EL::AnaAlgorithm
25  {
27  public:
29  StatusCode initialize () override;
30  StatusCode execute () override;
31 
32 
33 
35  private:
36  ToolHandle<IMETSignificance> m_significanceTool {this, "significanceTool", "METMaker", "the significance tool we apply"};
37 
39  private:
41 
43  private:
45  this, "met", "MissingET_%SYS%", "the met collection we run on"};
46 
48  private:
49  Gaudi::Property<std::string> m_totalMETName {this, "totalMETName", "Final", "the key for the final met term"};
50 
52  private:
53  Gaudi::Property<std::string> m_jetTermName {this, "jetTermName", "RefJet", "the key for the jets term"};
54 
56  private:
57  Gaudi::Property<std::string> m_softTermName {this, "softTermName", "PVSoftTrk", "the key for the soft term"};
58 
60  private:
61  Gaudi::Property<std::string> m_significanceDecoration {this, "significanceDecoration", "significance", "the decoration to use for the significance"};
62 
64  private:
65  std::unique_ptr<const SG::AuxElement::Accessor<float> > m_significanceAccessor;
66  };
67 }
68 
69 #endif
CP::MetSignificanceAlg::m_totalMETName
Gaudi::Property< std::string > m_totalMETName
the key for the final met term
Definition: MetSignificanceAlg.h:49
CP::MetSignificanceAlg::m_significanceAccessor
std::unique_ptr< const SG::AuxElement::Accessor< float > > m_significanceAccessor
the accessor for m_selectionDecoration
Definition: MetSignificanceAlg.h:65
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::MetSignificanceAlg::execute
StatusCode execute() override
Definition: MetSignificanceAlg.cxx:43
SysListHandle.h
SysCopyHandle.h
CP::MetSignificanceAlg::m_metHandle
SysCopyHandle< xAOD::MissingETContainer > m_metHandle
the met collection we run on
Definition: MetSignificanceAlg.h:44
CP::MetSignificanceAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: MetSignificanceAlg.h:40
IMETSignificance.h
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
CP::MetSignificanceAlg::m_jetTermName
Gaudi::Property< std::string > m_jetTermName
the key for the jets term
Definition: MetSignificanceAlg.h:53
SysWriteHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::MetSignificanceAlg::m_significanceTool
ToolHandle< IMETSignificance > m_significanceTool
the smearing tool
Definition: MetSignificanceAlg.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::MetSignificanceAlg::m_significanceDecoration
Gaudi::Property< std::string > m_significanceDecoration
the decoration for the significance
Definition: MetSignificanceAlg.h:61
CP::MetSignificanceAlg::initialize
StatusCode initialize() override
Definition: MetSignificanceAlg.cxx:25
CP::MetSignificanceAlg::m_softTermName
Gaudi::Property< std::string > m_softTermName
the key for the soft term
Definition: MetSignificanceAlg.h:57
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
CP::MetSignificanceAlg
an algorithm for calling IMETSignificanceTool
Definition: MetSignificanceAlg.h:25
MissingETContainer.h