ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17// Framework includes
20
22
23namespace CP {
24
27
29
31 public:
32 MissingETSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute(const EventContext& ctx) override;
35
36 private:
37
39 Gaudi::Property<float> m_metref {this, "refMET", 0., "MET cut (in MeV)"};
40
42 Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
43
46
49
52 this, "met", "SetMe", "the MET container to use"
53 };
54
56 Gaudi::Property<std::string> m_metTerm {this, "metTerm", "Final", "the MET term to use"};
57
60 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
61 };
62
65 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
66 };
67
70 this, "decorationName", "SetMe", "decoration name for the MET selector"
71 };
72
73 }; // class
74} // namespace CP
75
76#endif // EVENT_SELECTOR_MISSINGETSELECTORALG_H
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Gaudi::Property< std::string > m_metTerm
the MET term
virtual StatusCode initialize() override
MissingETSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadSelectionHandle m_preselection
the preselection
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Gaudi::Property< float > m_metref
the MET threshold against which to compare
CP::SysListHandle m_systematicsList
the systematics
CP::SysReadHandle< xAOD::MissingETContainer > m_metHandle
the MET input handle
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
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 systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.
ComparisonOperator
all possible comparison user inputs
Definition SignEnums.h:18