ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgUnionPreselectionAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef ASG_ANALYSIS_ALGORITHMS__UNION_PRE_SELECTION_ALG_H
8
#define ASG_ANALYSIS_ALGORITHMS__UNION_PRE_SELECTION_ALG_H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
AthContainers/AuxElement.h
>
12
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
13
#include <
SelectionHelpers/ISelectionWriteAccessor.h
>
14
#include <
SystematicsHandles/SysReadHandle.h
>
15
#include <
SystematicsHandles/SysListHandle.h
>
16
#include <
xAODBase/IParticleContainer.h
>
17
#include <
AsgTools/PropertyWrapper.h
>
18
#include <optional>
19
20
21
namespace
CP
22
{
40
41
class
AsgUnionPreselectionAlg
final :
public
EL::AnaAlgorithm
42
{
44
public
:
45
using
EL::AnaAlgorithm::AnaAlgorithm
;
46
virtual
StatusCode
initialize
()
override
;
47
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
48
49
50
52
private
:
53
SysListHandle
m_systematicsList
{
this
};
54
56
private
:
57
SysReadHandle<xAOD::IParticleContainer>
m_particlesHandle
{
58
this
,
"particles"
,
""
,
"the asg collection to run on"
};
59
61
private
:
62
SysReadSelectionHandle
m_preselection
{
63
this
,
"preselection"
,
""
,
"the preselection to apply"
};
64
66
private
:
67
Gaudi::Property<std::string>
m_selectionDecoration
{
this
,
"selectionDecoration"
,
""
,
"the decoration for the union selection"
};
68
70
private
:
71
std::optional<SG::Decorator<char>>
m_decorator
;
72
};
73
74
}
// namespace CP
75
76
#endif
AnaAlgorithm.h
AuxElement.h
Base class for elements of a container that can have aux data.
ISelectionWriteAccessor.h
PropertyWrapper.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
CP::AsgUnionPreselectionAlg
an algorithm for turning a systematics depending selection decoration into a selection decoration wit...
Definition
AsgUnionPreselectionAlg.h:42
CP::AsgUnionPreselectionAlg::m_decorator
std::optional< SG::Decorator< char > > m_decorator
the accessor for m_selectionDecoration
Definition
AsgUnionPreselectionAlg.h:71
CP::AsgUnionPreselectionAlg::m_selectionDecoration
Gaudi::Property< std::string > m_selectionDecoration
the decoration of the selection
Definition
AsgUnionPreselectionAlg.h:67
CP::AsgUnionPreselectionAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
Definition
AsgUnionPreselectionAlg.h:57
CP::AsgUnionPreselectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run and have containers
Definition
AsgUnionPreselectionAlg.h:53
CP::AsgUnionPreselectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
AsgUnionPreselectionAlg.h:62
CP::AsgUnionPreselectionAlg::initialize
virtual StatusCode initialize() override
Definition
AsgUnionPreselectionAlg.cxx:23
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
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
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0