The Gaudi Framework
v36r9p1 (5c15b2bb)
DataCreator.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 GAUDIEXAMPLE_DATACREATOR_H
12
#define GAUDIEXAMPLE_DATACREATOR_H 1
13
14
// Include files
15
#include "
GaudiAlg/GaudiAlgorithm.h
"
16
21
class
DataCreator
:
public
GaudiAlgorithm
{
22
public
:
24
using
GaudiAlgorithm::GaudiAlgorithm
;
25
27
StatusCode
initialize
()
override
;
28
StatusCode
execute
()
override
;
29
StatusCode
finalize
()
override
;
30
31
private
:
32
Gaudi::Property<std::string>
m_data
{
this
,
"Data"
,
"/Event/Unknown"
};
33
};
34
35
#endif // GAUDIEXAMPLE_HELLOWORLD_H
DataCreator
Definition:
DataCreator.h:21
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm(std::string name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition:
GaudiAlgorithm.cpp:45
StatusCode
Definition:
StatusCode.h:65
GaudiAlgorithm
Definition:
GaudiAlgorithm.h:104
DataCreator::execute
StatusCode execute() override
standard execution method
Definition:
DataCreator.cpp:25
DataCreator::m_data
Gaudi::Property< std::string > m_data
Definition:
DataCreator.h:32
GaudiAlgorithm.h
DataCreator::finalize
StatusCode finalize() override
Definition:
DataCreator.cpp:33
Gaudi::Property< std::string >
DataCreator::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition:
DataCreator.cpp:18
GaudiExamples
src
DataOnDemand
DataCreator.h
Generated on Fri Feb 3 2023 18:02:54 for The Gaudi Framework by
1.8.18