The Gaudi Framework
v36r1 (3e2fb5a8)
MIReadAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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 "
GaudiKernel/Algorithm.h
"
16
#include "
MIHelpers.h
"
17
#include "
RootCnv/RootAddress.h
"
18
19
#include <vector>
20
21
namespace
Gaudi
{
22
namespace
Examples {
23
namespace
MultiInput {
25
class
ReadAlg
:
public
::Algorithm
{
26
public
:
27
using
Algorithm::Algorithm
;
29
StatusCode
initialize
()
override
;
31
StatusCode
execute
()
override
;
32
33
private
:
34
Gaudi::Property<std::string>
m_addressfile
{
35
this
,
"AddressesFile"
, {},
"File containing the address details of the extra data."
};
37
std::vector<RootAddressArgs>
m_addresses
;
38
size_t
m_count
= 0;
39
};
40
}
// namespace MultiInput
41
}
// namespace Examples
42
}
// namespace Gaudi
43
#endif
MIHelpers.h
Gaudi::Examples::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
std::vector
STL class.
Algorithm.h
Gaudi::Examples::MultiInput::ReadAlg::initialize
StatusCode initialize() override
Initialize.
Definition:
MIReadAlg.cpp:35
Gaudi::Examples::MultiInput::ReadAlg
Simple algorithm used to read data from two files.
Definition:
MIReadAlg.h:25
Gaudi::Examples::MultiInput::ReadAlg::m_count
size_t m_count
Definition:
MIReadAlg.h:38
StatusCode
Definition:
StatusCode.h:65
Gaudi::Examples::MultiInput::ReadAlg::execute
StatusCode execute() override
Event callback.
Definition:
MIReadAlg.cpp:58
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition:
Algorithm.h:90
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
Gaudi::Examples::MultiInput::ReadAlg::m_addressfile
Gaudi::Property< std::string > m_addressfile
Definition:
MIReadAlg.h:34
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 >
GaudiExamples
src
MultiInput
MIReadAlg.h
Generated on Tue Sep 21 2021 12:27:41 for The Gaudi Framework by
1.8.18