ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
JetAnalysisAlgorithms
JetAnalysisAlgorithms
JetSelectionAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef JET_ANALYSIS_ALGORITHMS__JET_SELECTION_ALG_H
9
#define JET_ANALYSIS_ALGORITHMS__JET_SELECTION_ALG_H
10
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
JetInterface/IJetSelector.h
>
13
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
14
#include <
SelectionHelpers/SysWriteSelectionHandle.h
>
15
#include <
SystematicsHandles/SysListHandle.h
>
16
#include <
SystematicsHandles/SysReadHandle.h
>
17
#include <
xAODJet/JetContainer.h
>
18
19
namespace
CP
20
{
22
23
class
JetSelectionAlg
final :
public
EL::AnaAlgorithm
24
{
26
public
:
27
using
EL::AnaAlgorithm::AnaAlgorithm
;
28
StatusCode
initialize
()
override
;
29
StatusCode
execute
(
const
EventContext& ctx)
override
;
30
31
32
34
private
:
35
ToolHandle<IJetSelector>
m_selectionTool
{
this
,
"selectionTool"
,
""
,
"the selection tool we apply"
};
36
38
private
:
39
SysListHandle
m_systematicsList
{
this
};
40
42
private
:
43
SysReadHandle<xAOD::JetContainer>
m_jetHandle
{
44
this
,
"jets"
,
"AntiKt4EMTopoJets"
,
"the jet collection to run on"
};
45
47
private
:
48
SysReadSelectionHandle
m_preselection
{
49
this
,
"preselection"
,
""
,
"the preselection to apply"
};
50
52
private
:
53
SysWriteSelectionHandle
m_selectionHandle
{
54
this
,
"selectionDecoration"
,
"clean_jet"
,
"the decoration for the jet selection"
};
55
};
56
}
57
58
#endif
AnaAlgorithm.h
IJetSelector.h
JetContainer.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteSelectionHandle.h
CP::JetSelectionAlg
an algorithm for calling IJetSelector
Definition
JetSelectionAlg.h:24
CP::JetSelectionAlg::initialize
StatusCode initialize() override
Definition
JetSelectionAlg.cxx:24
CP::JetSelectionAlg::m_selectionTool
ToolHandle< IJetSelector > m_selectionTool
the selection tool
Definition
JetSelectionAlg.h:35
CP::JetSelectionAlg::m_jetHandle
SysReadHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
Definition
JetSelectionAlg.h:43
CP::JetSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
JetSelectionAlg.h:48
CP::JetSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
JetSelectionAlg.h:39
CP::JetSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the decoration for the jet selection
Definition
JetSelectionAlg.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::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
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
Generated on
for ATLAS Offline Software by
1.17.0