The Gaudi Framework
master (37c0b60a)
MIWriteAlg.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 GAUDIEXAMPLE_MULTIINPUT_WRITEALG_H
12
#define GAUDIEXAMPLE_MULTIINPUT_WRITEALG_H
13
14
// Framework include files
15
#include <
GaudiKernel/Algorithm.h
>
16
17
namespace
Gaudi
{
18
namespace
TestSuite
{
19
namespace
MultiInput {
22
class
WriteAlg
:
public
::Algorithm
{
23
public
:
25
using
Algorithm::Algorithm
;
27
StatusCode
initialize
()
override
;
29
StatusCode
execute
()
override
;
30
31
private
:
32
int
m_runnum
= 0,
m_evtnum
= 0;
33
Gaudi::Property<std::vector<long>
>
m_randomSeeds
{
34
this
,
"RandomSeeds"
, {},
"Seeds to be used in the random number generation"
};
35
};
36
}
// namespace MultiInput
37
}
// namespace TestSuite
38
}
// namespace Gaudi
39
#endif // GAUDIEXAMPLE_MULTIINPUT_WRITEALG_H
Gaudi::TestSuite::MultiInput::WriteAlg::m_randomSeeds
Gaudi::Property< std::vector< long > > m_randomSeeds
Definition:
MIWriteAlg.h:33
TestSuite
#define TestSuite
Definition:
MakeAndConsume.cpp:658
Gaudi::TestSuite::MultiInput::WriteAlg
Simple algorithm used to produce dummy data in the transient store.
Definition:
MIWriteAlg.h:22
Algorithm.h
Gaudi::TestSuite::MultiInput::WriteAlg::m_evtnum
int m_evtnum
Definition:
MIWriteAlg.h:32
Gaudi::TestSuite::MultiInput::WriteAlg::execute
StatusCode execute() override
Event callback.
Definition:
MIWriteAlg.cpp:48
StatusCode
Definition:
StatusCode.h:65
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition:
Algorithm.h:90
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
Gaudi::TestSuite::MultiInput::WriteAlg::initialize
StatusCode initialize() override
Initialize.
Definition:
MIWriteAlg.cpp:34
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition:
Algorithm.h:101
Gaudi::TestSuite::MultiInput::WriteAlg::m_runnum
int m_runnum
Definition:
MIWriteAlg.h:32
Gaudi::Property
Implementation of property with value of concrete type.
Definition:
Property.h:37
GaudiTestSuite
src
MultiInput
MIWriteAlg.h
Generated on Thu Dec 19 2024 15:35:07 for The Gaudi Framework by
1.8.18