ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
AsgEnergyDecoratorAlg.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_ENERGYDECORATOR_ALG__H
8
#define ASG_ENERGYDECORATOR_ALG__H
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
SystematicsHandles/SysListHandle.h
>
12
#include <
SystematicsHandles/SysReadHandle.h
>
13
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
14
15
#include <
xAODBase/IParticleContainer.h
>
16
17
namespace
CP
{
18
19
class
AsgEnergyDecoratorAlg
final :
public
EL::AnaAlgorithm
{
20
21
public
:
22
using
EL::AnaAlgorithm::AnaAlgorithm
;
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
25
26
private
:
27
CP::SysListHandle
m_systematicsList
{
this
};
28
CP::SysReadHandle<xAOD::IParticleContainer>
m_particlesHandle
{
29
this
,
"particles"
,
"SetMe"
,
"the particle collection to run on"
};
30
CP::SysWriteDecorHandle<float>
m_energyDecor
{
31
this
,
"energyDecoration"
,
"e_%SYS%"
,
"decoration for per-object energy"
};
32
33
};
34
35
}
// namespace
36
37
#endif
AnaAlgorithm.h
SysListHandle.h
SysReadHandle.h
SysWriteDecorHandle.h
CP::AsgEnergyDecoratorAlg
Definition
AsgEnergyDecoratorAlg.h:19
CP::AsgEnergyDecoratorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition
AsgEnergyDecoratorAlg.h:27
CP::AsgEnergyDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
AsgEnergyDecoratorAlg.cxx:11
CP::AsgEnergyDecoratorAlg::m_energyDecor
CP::SysWriteDecorHandle< float > m_energyDecor
Definition
AsgEnergyDecoratorAlg.h:30
CP::AsgEnergyDecoratorAlg::m_particlesHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
Definition
AsgEnergyDecoratorAlg.h:28
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::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
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