ATLAS Offline Software
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 
14 
16 
17 namespace CP {
18 
19  class AsgEnergyDecoratorAlg final : public EL::AnaAlgorithm {
20 
21  public:
23  virtual StatusCode initialize() override;
24  virtual StatusCode execute() override;
25 
26  private:
29  this, "particles", "SetMe", "the particle collection to run on"};
31  this, "energyDecoration", "e_%SYS%", "decoration for per-object energy"};
32 
33  };
34 
35 } // namespace
36 
37 #endif
CP::AsgEnergyDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition: AsgEnergyDecoratorAlg.cxx:11
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
SysListHandle.h
CP::AsgEnergyDecoratorAlg
Definition: AsgEnergyDecoratorAlg.h:19
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
CP::AsgEnergyDecoratorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition: AsgEnergyDecoratorAlg.h:27
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::AsgEnergyDecoratorAlg::m_energyDecor
CP::SysWriteDecorHandle< float > m_energyDecor
Definition: AsgEnergyDecoratorAlg.h:30
CP::AsgEnergyDecoratorAlg::execute
virtual StatusCode execute() override
Definition: AsgEnergyDecoratorAlg.cxx:20
CP::AsgEnergyDecoratorAlg::m_particlesHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
Definition: AsgEnergyDecoratorAlg.h:28
CP::SysWriteDecorHandle< float >