The Gaudi Framework  master (01b473db)
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:
26  StatusCode initialize() override;
28  StatusCode execute() override;
29 
30  private:
31  int m_runnum = 0, m_evtnum = 0;
33  this, "RandomSeeds", {}, "Seeds to be used in the random number generation" };
34  };
35  } // namespace MultiInput
36  } // namespace TestSuite
37 } // namespace Gaudi
Gaudi::TestSuite::MultiInput::WriteAlg::m_randomSeeds
Gaudi::Property< std::vector< long > > m_randomSeeds
Definition: MIWriteAlg.h:32
Gaudi::TestSuite::MultiInput::WriteAlg
Simple algorithm used to produce dummy data in the transient store.
Definition: MIWriteAlg.h:21
Algorithm.h
Gaudi::TestSuite::MultiInput::WriteAlg::m_evtnum
int m_evtnum
Definition: MIWriteAlg.h:31
Gaudi::TestSuite::MultiInput::WriteAlg::execute
StatusCode execute() override
Event callback.
Definition: MIWriteAlg.cpp:48
StatusCode
Definition: StatusCode.h:64
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:87
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:98
Gaudi::TestSuite::MultiInput::WriteAlg::m_runnum
int m_runnum
Definition: MIWriteAlg.h:31
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:35