ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EventSelectionAlgorithms
EventSelectionAlgorithms
NLargeRJetMassWindowSelectorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_H
8
#define EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_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
28
29
class
NLargeRJetMassWindowSelectorAlg
final :
public
EL::AnaAlgorithm
{
30
32
public
:
33
NLargeRJetMassWindowSelectorAlg
(
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_mupper
{
this
,
"highMass"
, 0.,
"Mass < HIGH (in MeV)"
};
41
43
Gaudi::Property<float>
m_mlower
{
this
,
"lowMass"
, 0.,
"Mass > LOW (in MeV)"
};
44
46
Gaudi::Property<std::string>
m_sign
{
this
,
"sign"
,
"SetMe"
,
"comparison sign to use"
};
47
49
SignEnum::ComparisonOperator
m_signEnum
{};
50
52
Gaudi::Property<bool>
m_veto
{
this
,
"vetoMode"
,
false
,
"switch to veto-mode"
};
53
55
Gaudi::Property<int>
m_count
{
this
,
"count"
, 0,
"count value"
};
56
58
CP::SysListHandle
m_systematicsList
{
this
};
59
61
CP::SysReadHandle<xAOD::IParticleContainer>
m_ljetsHandle
{
62
this
,
"ljets"
,
""
,
"the large-R jet container to use"
63
};
64
66
CP::SysReadSelectionHandle
m_ljetSelection
{
67
this
,
"ljetSelection"
,
""
,
"the selection on the input large-R jets"
68
};
69
71
CP::SysReadHandle<xAOD::EventInfo>
m_eventInfoHandle
{
72
this
,
"eventInfo"
,
"EventInfo"
,
"the EventInfo container to read selection decisions from"
73
};
74
76
CP::SysReadSelectionHandle
m_preselection
{
77
this
,
"eventPreselection"
,
"SetMe"
,
"name of the preselection to check before applying this one"
78
};
79
81
CP::SysWriteSelectionHandle
m_decoration
{
82
this
,
"decorationName"
,
"SetMe"
,
"decoration name for the NObjects by Mass Window selector"
83
};
84
85
};
// class
86
}
// namespace CP
87
88
#endif
// EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_H
AnaAlgorithm.h
PropertyWrapper.h
SignEnums.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::NLargeRJetMassWindowSelectorAlg::m_mupper
Gaudi::Property< float > m_mupper
the upper limit of the Mass window
Definition
NLargeRJetMassWindowSelectorAlg.h:40
CP::NLargeRJetMassWindowSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition
NLargeRJetMassWindowSelectorAlg.h:81
CP::NLargeRJetMassWindowSelectorAlg::NLargeRJetMassWindowSelectorAlg
NLargeRJetMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
NLargeRJetMassWindowSelectorAlg.cxx:11
CP::NLargeRJetMassWindowSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the sign against which to compare Mass (GT, LT, etc)
Definition
NLargeRJetMassWindowSelectorAlg.h:46
CP::NLargeRJetMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition
NLargeRJetMassWindowSelectorAlg.h:76
CP::NLargeRJetMassWindowSelectorAlg::m_count
Gaudi::Property< int > m_count
the count of events desired
Definition
NLargeRJetMassWindowSelectorAlg.h:55
CP::NLargeRJetMassWindowSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition
NLargeRJetMassWindowSelectorAlg.h:58
CP::NLargeRJetMassWindowSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition
NLargeRJetMassWindowSelectorAlg.h:71
CP::NLargeRJetMassWindowSelectorAlg::m_ljetSelection
CP::SysReadSelectionHandle m_ljetSelection
the large-R jet selection
Definition
NLargeRJetMassWindowSelectorAlg.h:66
CP::NLargeRJetMassWindowSelectorAlg::initialize
virtual StatusCode initialize() override
Definition
NLargeRJetMassWindowSelectorAlg.cxx:15
CP::NLargeRJetMassWindowSelectorAlg::m_mlower
Gaudi::Property< float > m_mlower
the lower limit of the Mass window
Definition
NLargeRJetMassWindowSelectorAlg.h:43
CP::NLargeRJetMassWindowSelectorAlg::m_veto
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Definition
NLargeRJetMassWindowSelectorAlg.h:52
CP::NLargeRJetMassWindowSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition
NLargeRJetMassWindowSelectorAlg.h:49
CP::NLargeRJetMassWindowSelectorAlg::m_ljetsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_ljetsHandle
the large-R jet handle
Definition
NLargeRJetMassWindowSelectorAlg.h:61
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