ATLAS Offline Software
AthExAlgWithFPE.cxx
Go to the documentation of this file.
1 // Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 #include "AthExAlgWithFPE.h"
4 
6 
7  float value = 42;
8  float byZero=divide (value, 0);
9  ATH_MSG_INFO("Division of " << value << " by zero is " << byZero);
10 
11  return StatusCode::SUCCESS;
12 }
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
athena.value
value
Definition: athena.py:124
AthExAlgWithFPE::divide
float divide(float a, float b)
Definition: divide.cxx:9
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthExAlgWithFPE.h
AthExAlgWithFPE::execute
virtual StatusCode execute() override
Definition: AthExAlgWithFPE.cxx:5