ATLAS Offline Software
UnitTestAlg4.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef EVENTLOOPTEST_UNITTESTALG4_H
6 #define EVENTLOOPTEST_UNITTESTALG4_H
7 
8 // EventLoop include(s).
10 
11 namespace EL {
12 
20  class UnitTestAlg4 final : public AnaAlgorithm {
21 
22  public:
24  UnitTestAlg4( const std::string& name, ISvcLocator* svcLoc );
25 
28 
31 
33  virtual ::StatusCode execute() override;
34 
36  virtual ::StatusCode finalize() override;
37 
40 
42 
43  private:
46 
48  int m_callCount = 0;
49 
50  }; // class UnitTestAlg4
51 
52 } // namespace EL
53 
54 #endif // EVENTLOOPTEST_UNITTESTALG4_H
EL::UnitTestAlg4
Algorithm testing file metadata access.
Definition: UnitTestAlg4.h:20
EL::UnitTestAlg4::execute
virtual ::StatusCode execute() override
Function executing the algorithm.
Definition: UnitTestAlg4.cxx:41
EL::UnitTestAlg4::beginInputFile
virtual ::StatusCode beginInputFile() override
Function called whenever a new input file's processing starts.
Definition: UnitTestAlg4.cxx:63
EL::UnitTestAlg4::initialize
virtual ::StatusCode initialize() override
Function initialising the algorithm.
Definition: UnitTestAlg4.cxx:19
EL::UnitTestAlg4::finalize
virtual ::StatusCode finalize() override
Function finalising the algorithm.
Definition: UnitTestAlg4.cxx:51
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
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EL::UnitTestAlg4::readFileMetaData
StatusCode readFileMetaData()
Function reading some in-file metadata.
Definition: UnitTestAlg4.cxx:75
EL::UnitTestAlg4::m_callCount
int m_callCount
Internal status flag.
Definition: UnitTestAlg4.h:48
EL::UnitTestAlg4::UnitTestAlg4
UnitTestAlg4(const std::string &name, ISvcLocator *svcLoc)
Standard algorithm constructor.
Definition: UnitTestAlg4.cxx:14