ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EventSelectionAlgorithms
EventSelectionAlgorithms
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
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
AsgTools/PropertyWrapper.h
>
13
#include <
SystematicsHandles/SysReadHandle.h
>
14
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
15
#include <
SelectionHelpers/SysWriteSelectionHandle.h
>
16
17
// Framework includes
18
#include <
xAODMissingET/MissingETContainer.h
>
19
#include <
xAODEventInfo/EventInfo.h
>
20
21
#include <
EventSelectionAlgorithms/SignEnums.h
>
22
23
namespace
CP
{
24
27
28
class
MissingETSelectorAlg
final :
public
EL::AnaAlgorithm
{
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
45
SignEnum::ComparisonOperator
m_signEnum
{};
46
48
CP::SysListHandle
m_systematicsList
{
this
};
49
51
CP::SysReadHandle<xAOD::MissingETContainer>
m_metHandle
{
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
59
CP::SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
60
this
,
"eventInfo"
,
"EventInfo"
,
"the EventInfo container to read selection decisions from"
61
};
62
64
CP::SysReadSelectionHandle
m_preselection
{
65
this
,
"eventPreselection"
,
"SetMe"
,
"name of the preselection to check before applying this one"
66
};
67
69
CP::SysWriteSelectionHandle
m_decoration
{
70
this
,
"decorationName"
,
"SetMe"
,
"decoration name for the MET selector"
71
};
72
73
};
// class
74
}
// namespace CP
75
76
#endif
// EVENT_SELECTOR_MISSINGETSELECTORALG_H
AnaAlgorithm.h
MissingETContainer.h
PropertyWrapper.h
SignEnums.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::MissingETSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition
MissingETSelectorAlg.h:45
CP::MissingETSelectorAlg::m_metTerm
Gaudi::Property< std::string > m_metTerm
the MET term
Definition
MissingETSelectorAlg.h:56
CP::MissingETSelectorAlg::initialize
virtual StatusCode initialize() override
Definition
MissingETSelectorAlg.cxx:15
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:59
CP::MissingETSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition
MissingETSelectorAlg.h:64
CP::MissingETSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition
MissingETSelectorAlg.h:69
CP::MissingETSelectorAlg::m_metref
Gaudi::Property< float > m_metref
the MET threshold against which to compare
Definition
MissingETSelectorAlg.h:39
CP::MissingETSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition
MissingETSelectorAlg.h:48
CP::MissingETSelectorAlg::m_metHandle
CP::SysReadHandle< xAOD::MissingETContainer > m_metHandle
the MET input handle
Definition
MissingETSelectorAlg.h:51
CP::MissingETSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
Definition
MissingETSelectorAlg.h:42
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
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
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
SignEnum::ComparisonOperator
ComparisonOperator
all possible comparison user inputs
Definition
SignEnums.h:18
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0