ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EventSelectionAlgorithms
EventSelectionAlgorithms
MissingETPlusTransverseMassSelectorAlg.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_MISSINGETPLUSTRANSVERSEMASSSELECTORALG_H
8
#define EVENT_SELECTOR_MISSINGETPLUSTRANSVERSEMASSSELECTORALG_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 <
xAODBase/IParticleContainer.h
>
19
#include <
xAODMissingET/MissingETContainer.h
>
20
#include <
xAODEventInfo/EventInfo.h
>
21
22
#include <
EventSelectionAlgorithms/SignEnums.h
>
23
24
namespace
CP
{
25
28
29
class
MissingETPlusTransverseMassSelectorAlg
final :
public
EL::AnaAlgorithm
{
30
32
public
:
33
MissingETPlusTransverseMassSelectorAlg
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
34
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
36
37
private
:
38
40
Gaudi::Property<float>
m_sumref
{
this
,
"refMETMWT"
, 0.,
"MET+MWT cut (in MeV)"
};
41
43
Gaudi::Property<std::string>
m_sign
{
this
,
"sign"
,
"SetMe"
,
"comparison sign to use"
};
44
46
SignEnum::ComparisonOperator
m_signEnum
{};
47
49
Gaudi::Property<bool>
m_useDressedProperties
{
this
,
"useDressedProperties"
,
false
,
50
"whether to use dressed electron and muon kinematics rather than simple "
51
"P4 kinematics"
};
52
54
CP::SysListHandle
m_systematicsList
{
this
};
55
57
CP::SysReadHandle<xAOD::IParticleContainer>
m_electronsHandle
{
58
this
,
"electrons"
,
""
,
"the electron container to use"
59
};
60
62
CP::SysReadSelectionHandle
m_electronSelection
{
63
this
,
"electronSelection"
,
""
,
"the selection on the input electrons"
64
};
65
67
CP::SysReadHandle<xAOD::IParticleContainer>
m_muonsHandle
{
68
this
,
"muons"
,
""
,
"the muon container to use"
69
};
70
72
CP::SysReadSelectionHandle
m_muonSelection
{
73
this
,
"muonSelection"
,
""
,
"the selection on the input muons"
74
};
75
77
CP::SysReadHandle<xAOD::MissingETContainer>
m_metHandle
{
78
this
,
"met"
,
"SetMe"
,
"the MET container to use"
79
};
80
82
Gaudi::Property<std::string>
m_metTerm
{
this
,
"metTerm"
,
"Final"
,
"the MET term to use"
};
83
85
CP::SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
86
this
,
"eventInfo"
,
"EventInfo"
,
"the EventInfo container to read selection decisions from"
87
};
88
90
CP::SysReadSelectionHandle
m_preselection
{
91
this
,
"eventPreselection"
,
"SetMe"
,
"name of the preselection to check before applying this one"
92
};
93
95
CP::SysWriteSelectionHandle
m_decoration
{
96
this
,
"decorationName"
,
"SetMe"
,
"decoration name for the MET+MWT selector"
97
};
98
99
};
// class
100
}
// namespace CP
101
102
#endif
// EVENT_SELECTOR_MISSINGETPLUSTRANSVERSEMASSSELECTORALG_H
AnaAlgorithm.h
MissingETContainer.h
PropertyWrapper.h
SignEnums.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::MissingETPlusTransverseMassSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition
MissingETPlusTransverseMassSelectorAlg.h:54
CP::MissingETPlusTransverseMassSelectorAlg::MissingETPlusTransverseMassSelectorAlg
MissingETPlusTransverseMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
MissingETPlusTransverseMassSelectorAlg.cxx:11
CP::MissingETPlusTransverseMassSelectorAlg::initialize
virtual StatusCode initialize() override
Definition
MissingETPlusTransverseMassSelectorAlg.cxx:15
CP::MissingETPlusTransverseMassSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muon selection
Definition
MissingETPlusTransverseMassSelectorAlg.h:72
CP::MissingETPlusTransverseMassSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muon input handle
Definition
MissingETPlusTransverseMassSelectorAlg.h:67
CP::MissingETPlusTransverseMassSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition
MissingETPlusTransverseMassSelectorAlg.h:95
CP::MissingETPlusTransverseMassSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition
MissingETPlusTransverseMassSelectorAlg.h:85
CP::MissingETPlusTransverseMassSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition
MissingETPlusTransverseMassSelectorAlg.h:46
CP::MissingETPlusTransverseMassSelectorAlg::m_metTerm
Gaudi::Property< std::string > m_metTerm
the MET term
Definition
MissingETPlusTransverseMassSelectorAlg.h:82
CP::MissingETPlusTransverseMassSelectorAlg::m_metHandle
CP::SysReadHandle< xAOD::MissingETContainer > m_metHandle
the MET handle
Definition
MissingETPlusTransverseMassSelectorAlg.h:77
CP::MissingETPlusTransverseMassSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
Definition
MissingETPlusTransverseMassSelectorAlg.h:43
CP::MissingETPlusTransverseMassSelectorAlg::m_useDressedProperties
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Definition
MissingETPlusTransverseMassSelectorAlg.h:49
CP::MissingETPlusTransverseMassSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Definition
MissingETPlusTransverseMassSelectorAlg.h:62
CP::MissingETPlusTransverseMassSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition
MissingETPlusTransverseMassSelectorAlg.h:90
CP::MissingETPlusTransverseMassSelectorAlg::m_sumref
Gaudi::Property< float > m_sumref
the MET+MWT threshold against which to compare
Definition
MissingETPlusTransverseMassSelectorAlg.h:40
CP::MissingETPlusTransverseMassSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electron input handle
Definition
MissingETPlusTransverseMassSelectorAlg.h:57
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
IParticleContainer.h
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0