The Gaudi Framework
master (57817a18)
Toggle main menu visibility
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
"
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
:
26
using
Algorithm::Algorithm
;
28
StatusCode
initialize
()
override
;
30
StatusCode
execute
()
override
;
31
32
private
:
33
Gaudi::Property<std::string>
m_addressfile
{
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.h
MIHelpers.h
RootAddress.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Property
Implementation of property with value of concrete type.
Definition
Property.h:35
Gaudi::TestSuite::MultiInput::ReadAlg
Simple algorithm used to read data from two files.
Definition
MIReadAlg.h:24
Gaudi::TestSuite::MultiInput::ReadAlg::m_count
size_t m_count
Definition
MIReadAlg.h:37
Gaudi::TestSuite::MultiInput::ReadAlg::m_addressfile
Gaudi::Property< std::string > m_addressfile
Definition
MIReadAlg.h:33
Gaudi::TestSuite::MultiInput::ReadAlg::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::TestSuite::MultiInput::ReadAlg::initialize
StatusCode initialize() override
Initialize.
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::TestSuite::MultiInput::ReadAlg::execute
StatusCode execute() override
Event callback.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
Gaudi::TestSuite::MultiInput
Definition
DumpAddress.cpp:26
Gaudi::TestSuite
Definition
ConditionAccessorHolder.h:21
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition
__init__.py:1
GaudiTestSuite
src
MultiInput
MIReadAlg.h
Generated on
for The Gaudi Framework by
1.17.0