Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MIReadAlg.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 #pragma once
12 
13 // Framework include files
14 #include "MIHelpers.h"
15 #include <GaudiKernel/Algorithm.h>
16 #include <RootCnv/RootAddress.h>
17 
18 #include <vector>
19 
20 namespace Gaudi {
21  namespace TestSuite {
22  namespace MultiInput {
24  class ReadAlg : public ::Algorithm {
25  public:
28  StatusCode initialize() override;
30  StatusCode execute() override;
31 
32  private:
34  this, "AddressesFile", {}, "File containing the address details of the extra data." };
36  std::vector<RootAddressArgs> m_addresses;
37  size_t m_count = 0;
38  };
39  } // namespace MultiInput
40  } // namespace TestSuite
41 } // namespace Gaudi
MIHelpers.h
Gaudi::TestSuite::MultiInput::ReadAlg::initialize
StatusCode initialize() override
Initialize.
Definition: MIReadAlg.cpp:35
Algorithm.h
Gaudi::TestSuite::MultiInput::ReadAlg::m_addressfile
Gaudi::Property< std::string > m_addressfile
Definition: MIReadAlg.h:33
Gaudi::TestSuite::MultiInput::ReadAlg::m_count
size_t m_count
Definition: MIReadAlg.h:37
StatusCode
Definition: StatusCode.h:64
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:87
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:36
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:98
Gaudi::Property< std::string >
Gaudi::TestSuite::MultiInput::ReadAlg
Simple algorithm used to read data from two files.
Definition: MIReadAlg.h:24