The Gaudi Framework
master (1a7a3838)
Toggle main menu visibility
Loading...
Searching...
No Matches
MIWriteAlg.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 <
GaudiKernel/Algorithm.h
>
15
16
namespace
Gaudi
{
17
namespace
TestSuite
{
18
namespace
MultiInput
{
21
class
WriteAlg
:
public
::Algorithm
{
22
public
:
24
using
Algorithm::Algorithm
;
26
StatusCode
initialize
()
override
;
28
StatusCode
execute
()
override
;
29
30
private
:
31
int
m_runnum
= 0,
m_evtnum
= 0;
32
Gaudi::Property<std::vector<long>
>
m_randomSeeds
{
33
this
,
"RandomSeeds"
, {},
"Seeds to be used in the random number generation"
};
34
};
35
}
// namespace MultiInput
36
}
// namespace TestSuite
37
}
// namespace Gaudi
Algorithm.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::WriteAlg
Simple algorithm used to produce dummy data in the transient store.
Definition
MIWriteAlg.h:21
Gaudi::TestSuite::MultiInput::WriteAlg::initialize
StatusCode initialize() override
Initialize.
Gaudi::TestSuite::MultiInput::WriteAlg::m_runnum
int m_runnum
Definition
MIWriteAlg.h:31
Gaudi::TestSuite::MultiInput::WriteAlg::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor: A constructor of this form must be provided.
Definition
Algorithm.h:98
Gaudi::TestSuite::MultiInput::WriteAlg::m_evtnum
int m_evtnum
Definition
MIWriteAlg.h:31
Gaudi::TestSuite::MultiInput::WriteAlg::execute
StatusCode execute() override
Event callback.
Gaudi::TestSuite::MultiInput::WriteAlg::m_randomSeeds
Gaudi::Property< std::vector< long > > m_randomSeeds
Definition
MIWriteAlg.h:32
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
MIWriteAlg.h
Generated on
for The Gaudi Framework by
1.17.0