ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EventSelectionAlgorithms
EventSelectionAlgorithms
DileptonInvariantMassWindowSelectorAlg.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_DILEPTONINVARIANTMASSWINDOWSELECTORALG_H
8
#define EVENT_SELECTOR_DILEPTONINVARIANTMASSWINDOWSELECTORALG_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 <
xAODEventInfo/EventInfo.h
>
20
21
namespace
CP
{
22
26
27
class
DileptonInvariantMassWindowSelectorAlg
final :
public
EL::AnaAlgorithm
{
28
30
public
:
31
DileptonInvariantMassWindowSelectorAlg
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
34
35
private
:
36
38
Gaudi::Property<float>
m_mllupper
{
this
,
"highMLL"
, 0.,
"MLL < HIGH (in MeV)"
};
39
41
Gaudi::Property<float>
m_mlllower
{
this
,
"lowMLL"
, 0.,
"MLL > LOW (in MeV)"
};
42
44
Gaudi::Property<bool>
m_veto
{
this
,
"vetoMode"
,
false
,
"switch to veto-mode"
};
45
47
Gaudi::Property<bool>
m_useDressedProperties
{
this
,
"useDressedProperties"
,
false
,
48
"whether to use dressed electron and muon kinematics rather than simple "
49
"P4 kinematics"
};
50
52
CP::SysListHandle
m_systematicsList
{
this
};
53
55
CP::SysReadHandle<xAOD::IParticleContainer>
m_electronsHandle
{
56
this
,
"electrons"
,
""
,
"the electron container to use"
57
};
58
60
CP::SysReadSelectionHandle
m_electronSelection
{
61
this
,
"electronSelection"
,
""
,
"the selection on the input electrons"
62
};
63
65
CP::SysReadHandle<xAOD::IParticleContainer>
m_muonsHandle
{
66
this
,
"muons"
,
""
,
"the muon container to use"
67
};
68
70
CP::SysReadSelectionHandle
m_muonSelection
{
71
this
,
"muonSelection"
,
""
,
"the selection on the input muons"
72
};
73
75
CP::SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
76
this
,
"eventInfo"
,
"EventInfo"
,
"the EventInfo container to read selection decisions from"
77
};
78
80
CP::SysReadSelectionHandle
m_preselection
{
81
this
,
"eventPreselection"
,
"SetMe"
,
"name of the preselection to check before applying this one"
82
};
83
85
CP::SysWriteSelectionHandle
m_decoration
{
86
this
,
"decorationName"
,
"SetMe"
,
"decoration name for the MLL selector"
87
};
88
89
};
// class
90
}
// namespace CP
91
92
#endif
// EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
AnaAlgorithm.h
PropertyWrapper.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::DileptonInvariantMassWindowSelectorAlg::m_mllupper
Gaudi::Property< float > m_mllupper
the upper limit of the MLL window
Definition
DileptonInvariantMassWindowSelectorAlg.h:38
CP::DileptonInvariantMassWindowSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition
DileptonInvariantMassWindowSelectorAlg.h:85
CP::DileptonInvariantMassWindowSelectorAlg::m_mlllower
Gaudi::Property< float > m_mlllower
the lower limit of the MLL window
Definition
DileptonInvariantMassWindowSelectorAlg.h:41
CP::DileptonInvariantMassWindowSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Definition
DileptonInvariantMassWindowSelectorAlg.h:60
CP::DileptonInvariantMassWindowSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muons selection
Definition
DileptonInvariantMassWindowSelectorAlg.h:70
CP::DileptonInvariantMassWindowSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition
DileptonInvariantMassWindowSelectorAlg.h:75
CP::DileptonInvariantMassWindowSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
Definition
DileptonInvariantMassWindowSelectorAlg.h:65
CP::DileptonInvariantMassWindowSelectorAlg::DileptonInvariantMassWindowSelectorAlg
DileptonInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
DileptonInvariantMassWindowSelectorAlg.cxx:14
CP::DileptonInvariantMassWindowSelectorAlg::initialize
virtual StatusCode initialize() override
Definition
DileptonInvariantMassWindowSelectorAlg.cxx:18
CP::DileptonInvariantMassWindowSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition
DileptonInvariantMassWindowSelectorAlg.h:52
CP::DileptonInvariantMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition
DileptonInvariantMassWindowSelectorAlg.h:80
CP::DileptonInvariantMassWindowSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
Definition
DileptonInvariantMassWindowSelectorAlg.h:55
CP::DileptonInvariantMassWindowSelectorAlg::m_useDressedProperties
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Definition
DileptonInvariantMassWindowSelectorAlg.h:47
CP::DileptonInvariantMassWindowSelectorAlg::m_veto
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Definition
DileptonInvariantMassWindowSelectorAlg.h:44
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
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
IParticleContainer.h
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0