ATLAS Offline Software
MissingETSelectorAlg.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 #ifndef EVENT_SELECTOR_MISSINGETSELECTORALG_H
8 #define EVENT_SELECTOR_MISSINGETSELECTORALG_H
9 
10 // Algorithm includes
18 
19 // Framework includes
22 
24 
25 namespace CP {
26 
29 
30  class MissingETSelectorAlg final : public EL::AnaAlgorithm {
31 
33  public:
34  MissingETSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
35  virtual StatusCode initialize() override;
36  virtual StatusCode execute() override;
37 
38  private:
39 
41  Gaudi::Property<float> m_metref {this, "refMET", 0., "MET cut (in MeV)"};
42 
44  Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
45 
48 
51 
54  this, "met", "SetMe", "the MET container to use"
55  };
56 
58  Gaudi::Property<std::string> m_metTerm {this, "metTerm", "Final", "the MET term to use"};
59 
62  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
63  };
64 
67  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
68  };
69 
72  this, "decorationName", "SetMe", "decoration name for the MET selector"
73  };
74 
75  }; // class
76 } // namespace CP
77 
78 #endif // EVENT_SELECTOR_MISSINGETSELECTORALG_H
PropertyWrapper.h
SignEnums.h
CP::MissingETSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition: MissingETSelectorAlg.h:50
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::MissingETSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition: MissingETSelectorAlg.h:66
SysWriteDecorHandle.h
CP::MissingETSelectorAlg::m_metref
Gaudi::Property< float > m_metref
the MET threshold against which to compare
Definition: MissingETSelectorAlg.h:41
SysWriteSelectionHandle.h
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
SysReadHandle.h
CP::MissingETSelectorAlg::MissingETSelectorAlg
MissingETSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: MissingETSelectorAlg.cxx:11
CP::MissingETSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition: MissingETSelectorAlg.h:61
CP::MissingETSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: MissingETSelectorAlg.cxx:15
AnaAlgorithm.h
CP::MissingETSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
Definition: MissingETSelectorAlg.h:44
CP::MissingETSelectorAlg::execute
virtual StatusCode execute() override
Definition: MissingETSelectorAlg.cxx:28
CP::MissingETSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition: MissingETSelectorAlg.h:47
SignEnum::ComparisonOperator
ComparisonOperator
all possible comparison user inputs
Definition: SignEnums.h:16
CP::MissingETSelectorAlg
an algorithm to select an event with missing E_T above or below a specified value
Definition: MissingETSelectorAlg.h:30
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::MissingETSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition: MissingETSelectorAlg.h:71
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SysReadSelectionHandle.h
CP::MissingETSelectorAlg::m_metHandle
CP::SysReadHandle< xAOD::MissingETContainer > m_metHandle
the MET input handle
Definition: MissingETSelectorAlg.h:53
EventInfo.h
CP::MissingETSelectorAlg::m_metTerm
Gaudi::Property< std::string > m_metTerm
the MET term
Definition: MissingETSelectorAlg.h:58
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
MissingETContainer.h