The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
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"
16#include <RootCnv/RootAddress.h>
17
18#include <vector>
19
20namespace Gaudi {
21 namespace TestSuite {
22 namespace MultiInput {
24 class ReadAlg : public ::Algorithm {
25 public:
30 StatusCode execute() override;
31
32 private:
34 this, "AddressesFile", {}, "File containing the address details of the extra data." };
35
36 std::vector<RootAddressArgs> m_addresses;
37 size_t m_count = 0;
38 };
39 } // namespace MultiInput
40 } // namespace TestSuite
41} // namespace Gaudi
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
Implementation of property with value of concrete type.
Definition PropertyFwd.h:27
Simple algorithm used to read data from two files.
Definition MIReadAlg.h:24
Gaudi::Property< std::string > m_addressfile
Definition MIReadAlg.h:33
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
StatusCode initialize() override
Initialize.
std::vector< RootAddressArgs > m_addresses
Address details for the data to be added to the main event.
Definition MIReadAlg.h:36
StatusCode execute() override
Event callback.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1