ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgUnionSelectionAlg.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 ASG_ANALYSIS_ALGORITHMS__UNION_SELECTION_ALG_H
8
#define ASG_ANALYSIS_ALGORITHMS__UNION_SELECTION_ALG_H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
12
#include <
SelectionHelpers/ISelectionWriteAccessor.h
>
13
#include <
SystematicsHandles/SysReadHandle.h
>
14
#include <
SystematicsHandles/SysListHandle.h
>
15
#include <
xAODBase/IParticleContainer.h
>
16
#include <
AsgTools/PropertyWrapper.h
>
17
18
19
namespace
CP
20
{
23
24
class
AsgUnionSelectionAlg
final :
public
EL::AnaAlgorithm
25
{
27
public
:
28
using
EL::AnaAlgorithm::AnaAlgorithm
;
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
31
32
33
35
private
:
36
SysListHandle
m_systematicsList
{
this
};
37
39
private
:
40
SysReadHandle<xAOD::IParticleContainer>
m_particlesHandle
{
41
this
,
"particles"
,
""
,
"the asg collection to run on"
};
42
44
private
:
45
SysReadSelectionHandle
m_preselection
{
46
this
,
"preselection"
,
""
,
"the preselection to apply"
};
47
49
private
:
50
Gaudi::Property<std::string>
m_selectionDecoration
{
this
,
"selectionDecoration"
,
""
,
"the decoration for the union selection"
};
51
53
private
:
54
std::unique_ptr<ISelectionWriteAccessor>
m_selectionAccessor
;
55
};
56
57
}
// namespace CP
58
59
#endif
AnaAlgorithm.h
ISelectionWriteAccessor.h
PropertyWrapper.h
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
CP::AsgUnionSelectionAlg
an algorithm for selection an union of objects that pass at least one systematics
Definition
AsgUnionSelectionAlg.h:25
CP::AsgUnionSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
AsgUnionSelectionAlg.h:45
CP::AsgUnionSelectionAlg::m_selectionDecoration
Gaudi::Property< std::string > m_selectionDecoration
the decoration of the selection
Definition
AsgUnionSelectionAlg.h:50
CP::AsgUnionSelectionAlg::m_selectionAccessor
std::unique_ptr< ISelectionWriteAccessor > m_selectionAccessor
the accessor for m_selectionDecoration
Definition
AsgUnionSelectionAlg.h:54
CP::AsgUnionSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run and have containers
Definition
AsgUnionSelectionAlg.h:36
CP::AsgUnionSelectionAlg::initialize
virtual StatusCode initialize() override
Definition
AsgUnionSelectionAlg.cxx:23
CP::AsgUnionSelectionAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
Definition
AsgUnionSelectionAlg.h:40
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