| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

HiveTestAlgorithm.h
Go to the documentation of this file.
1 //
2 // HiveTestAlgorithm.h
3 //
4 //
5 // Created by Benedikt Hegner on 7/21/12.
6 // Copyright (c) 2012 __CERN__. All rights reserved.
7 //
8
9 #include "GaudiAlg/GaudiAlgorithm.h"
10 #include "GaudiKernel/Property.h"
11
12 class GAUDI_API HiveTestAlgorithm : public GaudiAlgorithm
13 {
14 public:
18 using GaudiAlgorithm::GaudiAlgorithm;
19
23 ~HiveTestAlgorithm() override = default;
24
25 /*****************************
26 ** Public Function Members **
27 *****************************/
28
29 StatusCode initialize() override;
30 StatusCode execute() override;
31 StatusCode finalize() override;
32
33 // BH: concurrency additions
34 virtual const std::vector<std::string> get_inputs();
35 virtual const std::vector<std::string> get_outputs();
36
37 private:
38 /**************************
39 ** Private Data Members **
40 **************************/
41
45 int m_total = 0;
46
47 Gaudi::Property<std::vector<std::string>> m_inputs{this, "Input", {}, "List of required inputs"};
48 Gaudi::Property<std::vector<std::string>> m_outputs{this, "Output", {}, "List of provided outputs"};
49
50 std::vector<DataObjectHandle<DataObject> *> m_inputHandles;
51 std::vector<DataObjectHandle<DataObject> *> m_outputHandles;
52 };
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:314
GaudiAlgorithm::initialize
StatusCode initialize() override
standard initialization method
Definition: GaudiAlgorithm.cpp:44
GaudiAlgorithm.h
Header file for class GaudiAlgorithm.
HiveTestAlgorithm
Definition: HiveTestAlgorithm.h:12
GaudiAlgorithm::execute
StatusCode execute() override
standard execution method
Definition: GaudiAlgorithm.cpp:72
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiAlgorithm::finalize
StatusCode finalize() override
standard finalization method
Definition: GaudiAlgorithm.cpp:58
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:94
HiveTestAlgorithm::m_inputHandles
std::vector< DataObjectHandle< DataObject > * > m_inputHandles
Definition: HiveTestAlgorithm.h:50
Gaudi::Functional::m_inputs
std::vector< InputHandle_t< In > > m_inputs
Definition: MergingTransformer.h:39
std::vector< std::string >
Property.h
HiveTestAlgorithm::m_outputHandles
std::vector< DataObjectHandle< DataObject > * > m_outputHandles
Definition: HiveTestAlgorithm.h:51
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm()