The Gaudi Framework  master (37c0b60a)
MIReadAlg.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIEXAMPLES_MULTIINPUT_READALG_H
12 #define GAUDIEXAMPLES_MULTIINPUT_READALG_H
13 
14 // Framework include files
15 #include "MIHelpers.h"
16 #include <GaudiKernel/Algorithm.h>
17 #include <RootCnv/RootAddress.h>
18 
19 #include <vector>
20 
21 namespace Gaudi {
22  namespace TestSuite {
23  namespace MultiInput {
25  class ReadAlg : public ::Algorithm {
26  public:
29  StatusCode initialize() override;
31  StatusCode execute() override;
32 
33  private:
35  this, "AddressesFile", {}, "File containing the address details of the extra data." };
38  size_t m_count = 0;
39  };
40  } // namespace MultiInput
41  } // namespace TestSuite
42 } // namespace Gaudi
43 #endif
MIHelpers.h
Gaudi::TestSuite::MultiInput::ReadAlg::initialize
StatusCode initialize() override
Initialize.
Definition: MIReadAlg.cpp:35
TestSuite
#define TestSuite
Definition: MakeAndConsume.cpp:658
std::vector
STL class.
Algorithm.h
Gaudi::TestSuite::MultiInput::ReadAlg::m_addressfile
Gaudi::Property< std::string > m_addressfile
Definition: MIReadAlg.h:34
Gaudi::TestSuite::MultiInput::ReadAlg::m_count
size_t m_count
Definition: MIReadAlg.h:38
StatusCode
Definition: StatusCode.h:65
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:90
Gaudi::TestSuite::MultiInput::ReadAlg::execute
StatusCode execute() override
Event callback.
Definition: MIReadAlg.cpp:58
Gaudi::TestSuite::MultiInput::ReadAlg::m_addresses
std::vector< RootAddressArgs > m_addresses
Address details for the data to be added to the main event.
Definition: MIReadAlg.h:37
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
RootAddress.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition: Algorithm.h:101
Gaudi::Property< std::string >
Gaudi::TestSuite::MultiInput::ReadAlg
Simple algorithm used to read data from two files.
Definition: MIReadAlg.h:25