ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgOriginalObjectLinkAlg.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
8
#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_ORIGINAL_OBJECT_LINK_ALG_H
9
#define ASG_ANALYSIS_ALGORITHMS__ASG_ORIGINAL_OBJECT_LINK_ALG_H
10
11
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
12
#include <
SystematicsHandles/SysCopyHandle.h
>
13
#include <
SystematicsHandles/SysListHandle.h
>
14
#include <
xAODBase/IParticleContainer.h
>
15
#include <
AsgTools/PropertyWrapper.h
>
16
#include <
AsgDataHandles/ReadHandleKey.h
>
17
#include <
AsgDataHandles/ReadHandle.h
>
18
19
namespace
CP
20
{
27
28
class
AsgOriginalObjectLinkAlg
final :
public
EL::AnaReentrantAlgorithm
29
{
31
public
:
32
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
(
const
EventContext &ctx)
const override
;
35
37
private
:
38
SG::ReadHandleKey<xAOD::IParticleContainer>
m_baseContainerName
{
this
,
"baseContainerName"
,
""
,
"base particle container name"
};
39
41
private
:
42
SysListHandle
m_systematicsList
{
this
};
43
45
private
:
46
SysCopyHandle<xAOD::IParticleContainer>
m_particleHandle
{
47
this
,
"particles"
,
""
,
"the particle container to run on"
};
48
};
49
}
50
51
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadHandle.h
Handle class for reading from StoreGate.
PropertyWrapper.h
SysCopyHandle.h
SysListHandle.h
CP::AsgOriginalObjectLinkAlg
an algorithm for relinking a shallow copy with it's base container when this was not done originally
Definition
AsgOriginalObjectLinkAlg.h:29
CP::AsgOriginalObjectLinkAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
AsgOriginalObjectLinkAlg.h:42
CP::AsgOriginalObjectLinkAlg::initialize
StatusCode initialize() override
Definition
AsgOriginalObjectLinkAlg.cxx:22
CP::AsgOriginalObjectLinkAlg::m_baseContainerName
SG::ReadHandleKey< xAOD::IParticleContainer > m_baseContainerName
base container name
Definition
AsgOriginalObjectLinkAlg.h:38
CP::AsgOriginalObjectLinkAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
AsgOriginalObjectLinkAlg.cxx:39
CP::AsgOriginalObjectLinkAlg::m_particleHandle
SysCopyHandle< xAOD::IParticleContainer > m_particleHandle
the particle container we run on
Definition
AsgOriginalObjectLinkAlg.h:46
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition
SysCopyHandle.h:65
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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