Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v36r11 (bdb84f5f)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
16 
21 class DataCreator : public GaudiAlgorithm {
22 public:
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