ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EventSelectionAlgorithms
EventSelectionAlgorithms
DileptonInvariantMassSelectorAlg.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_DILEPTONINVARIANTMASSSELECTORALG_H
8
#define EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_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
#include <
EventSelectionAlgorithms/SignEnums.h
>
22
23
namespace
CP
{
24
27
28
class
DileptonInvariantMassSelectorAlg
final :
public
EL::AnaAlgorithm
{
29
31
public
:
32
DileptonInvariantMassSelectorAlg
(
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_mllref
{
this
,
"refMLL"
, 0.,
"MLL cut (in MeV)"
};
40
42
Gaudi::Property<std::string>
m_sign
{
this
,
"sign"
,
"SetMe"
,
"comparison sign to use"
};
43
45
Gaudi::Property<bool>
m_useDressedProperties
{
this
,
"useDressedProperties"
,
false
,
46
"whether to use dressed electron and muon kinematics rather than simple "
47
"P4 kinematics"
};
48
50
SignEnum::ComparisonOperator
m_signEnum
{};
51
53
CP::SysListHandle
m_systematicsList
{
this
};
54
56
CP::SysReadHandle<xAOD::IParticleContainer>
m_electronsHandle
{
57
this
,
"electrons"
,
""
,
"the electron container to use"
58
};
59
61
CP::SysReadSelectionHandle
m_electronSelection
{
62
this
,
"electronSelection"
,
""
,
"the selection on the input electrons"
63
};
64
66
CP::SysReadHandle<xAOD::IParticleContainer>
m_muonsHandle
{
67
this
,
"muons"
,
""
,
"the muon container to use"
68
};
69
71
CP::SysReadSelectionHandle
m_muonSelection
{
72
this
,
"muonSelection"
,
""
,
"the selection on the input muons"
73
};
74
76
CP::SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
77
this
,
"eventInfo"
,
"EventInfo"
,
"the EventInfo container to read selection decisions from"
78
};
79
81
CP::SysReadSelectionHandle
m_preselection
{
82
this
,
"eventPreselection"
,
"SetMe"
,
"name of the preselection to check before applying this one"
83
};
84
86
CP::SysWriteSelectionHandle
m_decoration
{
87
this
,
"decorationName"
,
"SetMe"
,
"decoration name for the MLL selector"
88
};
89
90
};
// class
91
}
// namespace CP
92
93
#endif
// EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
AnaAlgorithm.h
PropertyWrapper.h
SignEnums.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::DileptonInvariantMassSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Definition
DileptonInvariantMassSelectorAlg.h:61
CP::DileptonInvariantMassSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition
DileptonInvariantMassSelectorAlg.h:81
CP::DileptonInvariantMassSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition
DileptonInvariantMassSelectorAlg.h:50
CP::DileptonInvariantMassSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muons selection
Definition
DileptonInvariantMassSelectorAlg.h:71
CP::DileptonInvariantMassSelectorAlg::initialize
virtual StatusCode initialize() override
Definition
DileptonInvariantMassSelectorAlg.cxx:18
CP::DileptonInvariantMassSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition
DileptonInvariantMassSelectorAlg.h:76
CP::DileptonInvariantMassSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition
DileptonInvariantMassSelectorAlg.h:86
CP::DileptonInvariantMassSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
Definition
DileptonInvariantMassSelectorAlg.h:66
CP::DileptonInvariantMassSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
Definition
DileptonInvariantMassSelectorAlg.h:42
CP::DileptonInvariantMassSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
Definition
DileptonInvariantMassSelectorAlg.h:56
CP::DileptonInvariantMassSelectorAlg::DileptonInvariantMassSelectorAlg
DileptonInvariantMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
DileptonInvariantMassSelectorAlg.cxx:14
CP::DileptonInvariantMassSelectorAlg::m_mllref
Gaudi::Property< float > m_mllref
the 2-lepton mass against which to compare
Definition
DileptonInvariantMassSelectorAlg.h:39
CP::DileptonInvariantMassSelectorAlg::m_useDressedProperties
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Definition
DileptonInvariantMassSelectorAlg.h:45
CP::DileptonInvariantMassSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition
DileptonInvariantMassSelectorAlg.h:53
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