ATLAS Offline Software
AsgEnergyDecoratorAlg.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
8 
9 namespace CP {
10 
12 
16 
17  return StatusCode::SUCCESS;
18  }
19 
21 
22  for (const auto &sys : m_systematicsList.systematicsVector()) {
23 
24  const xAOD::IParticleContainer *particles = nullptr;
26 
27  for (const xAOD::IParticle *particle : *particles) {
29  }
30 
31  }
32 
33  return StatusCode::SUCCESS;
34  }
35 
36 } // namespace
CP::SysWriteDecorHandle::set
void set(const SG::AuxElement &object, const T &value, const CP::SystematicSet &sys) const
set the object decoration for the given systematic
CP::AsgEnergyDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition: AsgEnergyDecoratorAlg.cxx:11
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
AsgEnergyDecoratorAlg.h
ANA_CHECK
#define ANA_CHECK(EXP)
check whether the given expression was successful
Definition: Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:324
CP::SysListHandle::systematicsVector
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
Definition: SysListHandle.cxx:96
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
CP::AsgEnergyDecoratorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition: AsgEnergyDecoratorAlg.h:27
CP::SysListHandle::initialize
::StatusCode initialize()
intialize this property
Definition: SysListHandle.cxx:69
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::SysWriteDecorHandle::initialize
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize this handle
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
CP::AsgEnergyDecoratorAlg::m_energyDecor
CP::SysWriteDecorHandle< float > m_energyDecor
Definition: AsgEnergyDecoratorAlg.h:30
CP::AsgEnergyDecoratorAlg::execute
virtual StatusCode execute() override
Definition: AsgEnergyDecoratorAlg.cxx:20
LArG4FSStartPointFilter.particles
list particles
Definition: LArG4FSStartPointFilter.py:84
CP::AsgEnergyDecoratorAlg::m_particlesHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
Definition: AsgEnergyDecoratorAlg.h:28